This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Build Issue in SES nrf52832

Hi, I am experiencing the nrf52832 with some testing and developing few examples.

I am using nrf5_SDK_15.3  SES. OS : Windows 10.

I am using nRF52832 only. I have seen the examples which has unnecessary files and folders

but when i saw this link : here,

I want to use my example code folder like this.

while i build the code.

got the errors :

and the ble_app_blinky_pca10040_s132.emproject file

edited as:   Replace “../../../../..” with “nRF5_SDK_current”

<!DOCTYPE CrossStudio_Project_File>
<solution Name="ble_app_blinky_pca10040_s132" target="8" version="2">
  <project Name="ble_app_blinky_pca10040_s132">
    <configuration
      Name="Common"
      arm_architecture="v7EM"
      arm_core_type="Cortex-M4"
      arm_endian="Little"
      arm_fp_abi="Hard"
      arm_fpu_type="FPv4-SP-D16"
      arm_linker_heap_size="8192"
      arm_linker_process_stack_size="0"
      arm_linker_stack_size="8192"
      arm_linker_treat_warnings_as_errors="No"
      arm_simulator_memory_simulation_parameter="RWX 00000000,00100000,FFFFFFFF;RWX 20000000,00010000,CDCDCDCD"
      arm_target_device_name="nRF52832_xxAA"
      arm_target_interface_type="SWD"
      c_user_include_directories="../../../config;../nRF5_SDK_current/components;../nRF5_SDK_current/components/ble/ble_advertising;../nRF5_SDK_current/components/ble/ble_dtm;../nRF5_SDK_current/components/ble/ble_racp;../nRF5_SDK_current/components/ble/ble_services/ble_ancs_c;../nRF5_SDK_current/components/ble/ble_services/ble_ans_c;../nRF5_SDK_current/components/ble/ble_services/ble_bas;../nRF5_SDK_current/components/ble/ble_services/ble_bas_c;../nRF5_SDK_current/components/ble/ble_services/ble_cscs;../nRF5_SDK_current/components/ble/ble_services/ble_cts_c;../nRF5_SDK_current/components/ble/ble_services/ble_dfu;../nRF5_SDK_current/components/ble/ble_services/ble_dis;../nRF5_SDK_current/components/ble/ble_services/ble_gls;../nRF5_SDK_current/components/ble/ble_services/ble_hids;../nRF5_SDK_current/components/ble/ble_services/ble_hrs;../nRF5_SDK_current/components/ble/ble_services/ble_hrs_c;../nRF5_SDK_current/components/ble/ble_services/ble_hts;../nRF5_SDK_current/components/ble/ble_services/ble_ias;../nRF5_SDK_current/components/ble/ble_services/ble_ias_c;../nRF5_SDK_current/components/ble/ble_services/ble_lbs;../nRF5_SDK_current/components/ble/ble_services/ble_lbs_c;../nRF5_SDK_current/components/ble/ble_services/ble_lls;../nRF5_SDK_current/components/ble/ble_services/ble_nus;../nRF5_SDK_current/components/ble/ble_services/ble_nus_c;../nRF5_SDK_current/components/ble/ble_services/ble_rscs;../nRF5_SDK_current/components/ble/ble_services/ble_rscs_c;../nRF5_SDK_current/components/ble/ble_services/ble_tps;../nRF5_SDK_current/components/ble/common;../nRF5_SDK_current/components/ble/nrf_ble_gatt;../nRF5_SDK_current/components/ble/nrf_ble_qwr;../nRF5_SDK_current/components/ble/peer_manager;../nRF5_SDK_current/components/boards;../nRF5_SDK_current/components/libraries/atomic;../nRF5_SDK_current/components/libraries/atomic_fifo;../nRF5_SDK_current/components/libraries/atomic_flags;../nRF5_SDK_current/components/libraries/balloc;../nRF5_SDK_current/components/libraries/bootloader/ble_dfu;../nRF5_SDK_current/components/libraries/button;../nRF5_SDK_current/components/libraries/cli;../nRF5_SDK_current/components/libraries/crc16;../nRF5_SDK_current/components/libraries/crc32;../nRF5_SDK_current/components/libraries/crypto;../nRF5_SDK_current/components/libraries/csense;../nRF5_SDK_current/components/libraries/csense_drv;../nRF5_SDK_current/components/libraries/delay;../nRF5_SDK_current/components/libraries/ecc;../nRF5_SDK_current/components/libraries/experimental_section_vars;../nRF5_SDK_current/components/libraries/experimental_task_manager;../nRF5_SDK_current/components/libraries/fds;../nRF5_SDK_current/components/libraries/fstorage;../nRF5_SDK_current/components/libraries/gfx;../nRF5_SDK_current/components/libraries/gpiote;../nRF5_SDK_current/components/libraries/hardfault;../nRF5_SDK_current/components/libraries/hci;../nRF5_SDK_current/components/libraries/led_softblink;../nRF5_SDK_current/components/libraries/log;../nRF5_SDK_current/components/libraries/log/src;../nRF5_SDK_current/components/libraries/low_power_pwm;../nRF5_SDK_current/components/libraries/mem_manager;../nRF5_SDK_current/components/libraries/memobj;../nRF5_SDK_current/components/libraries/mpu;../nRF5_SDK_current/components/libraries/mutex;../nRF5_SDK_current/components/libraries/pwm;../nRF5_SDK_current/components/libraries/pwr_mgmt;../nRF5_SDK_current/components/libraries/queue;../nRF5_SDK_current/components/libraries/ringbuf;../nRF5_SDK_current/components/libraries/scheduler;../nRF5_SDK_current/components/libraries/sdcard;../nRF5_SDK_current/components/libraries/slip;../nRF5_SDK_current/components/libraries/sortlist;../nRF5_SDK_current/components/libraries/spi_mngr;../nRF5_SDK_current/components/libraries/stack_guard;../nRF5_SDK_current/components/libraries/strerror;../nRF5_SDK_current/components/libraries/svc;../nRF5_SDK_current/components/libraries/timer;../nRF5_SDK_current/components/libraries/twi_mngr;../nRF5_SDK_current/components/libraries/twi_sensor;../nRF5_SDK_current/components/libraries/usbd;../nRF5_SDK_current/components/libraries/usbd/class/audio;../nRF5_SDK_current/components/libraries/usbd/class/cdc;../nRF5_SDK_current/components/libraries/usbd/class/cdc/acm;../nRF5_SDK_current/components/libraries/usbd/class/hid;../nRF5_SDK_current/components/libraries/usbd/class/hid/generic;../nRF5_SDK_current/components/libraries/usbd/class/hid/kbd;../nRF5_SDK_current/components/libraries/usbd/class/hid/mouse;../nRF5_SDK_current/components/libraries/usbd/class/msc;../nRF5_SDK_current/components/libraries/util;../nRF5_SDK_current/components/nfc/ndef/conn_hand_parser;../nRF5_SDK_current/components/nfc/ndef/conn_hand_parser/ac_rec_parser;../nRF5_SDK_current/components/nfc/ndef/conn_hand_parser/ble_oob_advdata_parser;../nRF5_SDK_current/components/nfc/ndef/conn_hand_parser/le_oob_rec_parser;../nRF5_SDK_current/components/nfc/ndef/connection_handover/ac_rec;../nRF5_SDK_current/components/nfc/ndef/connection_handover/ble_oob_advdata;../nRF5_SDK_current/components/nfc/ndef/connection_handover/ble_pair_lib;../nRF5_SDK_current/components/nfc/ndef/connection_handover/ble_pair_msg;../nRF5_SDK_current/components/nfc/ndef/connection_handover/common;../nRF5_SDK_current/components/nfc/ndef/connection_handover/ep_oob_rec;../nRF5_SDK_current/components/nfc/ndef/connection_handover/hs_rec;../nRF5_SDK_current/components/nfc/ndef/connection_handover/le_oob_rec;../nRF5_SDK_current/components/nfc/ndef/generic/message;../nRF5_SDK_current/components/nfc/ndef/generic/record;../nRF5_SDK_current/components/nfc/ndef/launchapp;../nRF5_SDK_current/components/nfc/ndef/parser/message;../nRF5_SDK_current/components/nfc/ndef/parser/record;../nRF5_SDK_current/components/nfc/ndef/text;../nRF5_SDK_current/components/nfc/ndef/uri;../nRF5_SDK_current/components/nfc/t2t_lib;../nRF5_SDK_current/components/nfc/t2t_parser;../nRF5_SDK_current/components/nfc/t4t_lib;../nRF5_SDK_current/components/nfc/t4t_parser/apdu;../nRF5_SDK_current/components/nfc/t4t_parser/cc_file;../nRF5_SDK_current/components/nfc/t4t_parser/hl_detection_procedure;../nRF5_SDK_current/components/nfc/t4t_parser/tlv;../nRF5_SDK_current/components/softdevice/common;../nRF5_SDK_current/components/softdevice/s132/headers;../nRF5_SDK_current/components/softdevice/s132/headers/nrf52;../nRF5_SDK_current/components/toolchain/cmsis/include;../nRF5_SDK_current/external/fprintf;../nRF5_SDK_current/external/segger_rtt;../nRF5_SDK_current/external/utf_converter;../nRF5_SDK_current/integration/nrfx;../nRF5_SDK_current/integration/nrfx/legacy;../nRF5_SDK_current/modules/nrfx;../nRF5_SDK_current/modules/nrfx/drivers/include;../nRF5_SDK_current/modules/nrfx/hal;../nRF5_SDK_current/modules/nrfx/mdk;../config;"
      c_preprocessor_definitions="LSPOT_V12;CONFIG_GPIO_AS_PINRESET;FLOAT_ABI_HARD;INITIALIZE_USER_SECTIONS;NO_VTOR_CONFIG;NRF52;NRF52832_XXAA;NRF52_PAN_74;NRF_SD_BLE_API_VERSION=6;S132;SOFTDEVICE_PRESENT;SWI_DISABLE0;"
      debug_target_connection="J-Link"
      gcc_entry_point="Reset_Handler"
      macros="CMSIS_CONFIG_TOOL=../nRF5_SDK_current/external_tools/cmsisconfig/CMSIS_Configuration_Wizard.jar"
      debug_register_definition_file="../nRF5_SDK_current/modules/nrfx/mdk/nrf52.svd"
      debug_additional_load_file="../nRF5_SDK_current/components/softdevice/s132/hex/s132_nrf52_6.1.1_softdevice.hex"
      debug_start_from_entry_point_symbol="No"
      gcc_debugging_level="Level 3"      linker_output_format="hex"
      linker_printf_width_precision_supported="Yes"
      linker_printf_fmt_level="long"
      linker_scanf_fmt_level="long"
      linker_section_placement_file="flash_placement.xml"
      linker_section_placement_macros="FLASH_PH_START=0x0;FLASH_PH_SIZE=0x80000;RAM_PH_START=0x20000000;RAM_PH_SIZE=0x10000;FLASH_START=0x26000;FLASH_SIZE=0x5a000;RAM_START=0x200022b8;RAM_SIZE=0xdd48"
      linker_section_placements_segments="FLASH RX 0x0 0x80000;RAM RWX 0x20000000 0x10000"
      project_directory=""
      project_type="Executable" />
      <folder Name="Segger Startup Files">
        <file file_name="$(StudioDir)/source/thumb_crt0.s" />
      </folder>
    <folder Name="nRF_Log">
      <file file_name="../nRF5_SDK_current/components/libraries/log/src/nrf_log_backend_rtt.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/log/src/nrf_log_backend_serial.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/log/src/nrf_log_backend_uart.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/log/src/nrf_log_default_backends.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/log/src/nrf_log_frontend.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/log/src/nrf_log_str_formatter.c" />
    </folder>
    <folder Name="nRF_Libraries">
      <file file_name="../nRF5_SDK_current/components/libraries/button/app_button.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/util/app_error.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/util/app_error_handler_gcc.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/util/app_error_weak.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/scheduler/app_scheduler.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/timer/app_timer.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/util/app_util_platform.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/hardfault/hardfault_implementation.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/util/nrf_assert.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/atomic_fifo/nrf_atfifo.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/atomic_flags/nrf_atflags.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/atomic/nrf_atomic.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/balloc/nrf_balloc.c" />
      <file file_name="../nRF5_SDK_current/external/fprintf/nrf_fprintf.c" />
      <file file_name="../nRF5_SDK_current/external/fprintf/nrf_fprintf_format.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/memobj/nrf_memobj.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/pwr_mgmt/nrf_pwr_mgmt.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/ringbuf/nrf_ringbuf.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/experimental_section_vars/nrf_section_iter.c" />
      <file file_name="../nRF5_SDK_current/components/libraries/strerror/nrf_strerror.c" />
    </folder>
    <folder Name="None">
      <file file_name="../nRF5_SDK_current/modules/nrfx/mdk/ses_startup_nrf52.s" />
      <file file_name="../nRF5_SDK_current/modules/nrfx/mdk/ses_startup_nrf_common.s" />
      <file file_name="../nRF5_SDK_current/modules/nrfx/mdk/system_nrf52.c" />
    </folder>
    <folder Name="Board Definition">
      <file file_name="../nRF5_SDK_current/components/boards/boards.c" />
    </folder>
    <folder Name="nRF_Drivers">
      <file file_name="../nRF5_SDK_current/integration/nrfx/legacy/nrf_drv_clock.c" />
      <file file_name="../nRF5_SDK_current/integration/nrfx/legacy/nrf_drv_uart.c" />
      <file file_name="../nRF5_SDK_current/modules/nrfx/soc/nrfx_atomic.c" />
      <file file_name="../nRF5_SDK_current/modules/nrfx/drivers/src/nrfx_clock.c" />
      <file file_name="../nRF5_SDK_current/modules/nrfx/drivers/src/nrfx_gpiote.c" />
      <file file_name="../nRF5_SDK_current/modules/nrfx/drivers/src/prs/nrfx_prs.c" />
      <file file_name="../nRF5_SDK_current/modules/nrfx/drivers/src/nrfx_uart.c" />
      <file file_name="../nRF5_SDK_current/modules/nrfx/drivers/src/nrfx_uarte.c" />
    </folder>
    <folder Name="Application">
      <file file_name="main.c" />
      <file file_name="sdk_config.h" />
    </folder>
    <folder Name="nRF_Segger_RTT">
      <file file_name="../nRF5_SDK_current/external/segger_rtt/SEGGER_RTT.c" />
      <file file_name="../nRF5_SDK_current/external/segger_rtt/SEGGER_RTT_Syscalls_SES.c" />
      <file file_name="../nRF5_SDK_current/external/segger_rtt/SEGGER_RTT_printf.c" />
    </folder>
    <folder Name="nRF_BLE">
      <file file_name="../nRF5_SDK_current/components/ble/common/ble_advdata.c" />
      <file file_name="../nRF5_SDK_current/components/ble/common/ble_conn_params.c" />
      <file file_name="../nRF5_SDK_current/components/ble/common/ble_conn_state.c" />
      <file file_name="../nRF5_SDK_current/components/ble/common/ble_srv_common.c" />
      <file file_name="../nRF5_SDK_current/components/ble/nrf_ble_gatt/nrf_ble_gatt.c" />
      <file file_name="../nRF5_SDK_current/components/ble/nrf_ble_qwr/nrf_ble_qwr.c" />
    </folder>
    <folder Name="UTF8/UTF16 converter">
      <file file_name="../nRF5_SDK_current/external/utf_converter/utf.c" />
    </folder>
    <folder Name="nRF_BLE_Services">
      <file file_name="../nRF5_SDK_current/components/ble/ble_services/ble_lbs/ble_lbs.c" />
    </folder>
    <folder Name="nRF_SoftDevice">
      <file file_name="../nRF5_SDK_current/components/softdevice/common/nrf_sdh.c" />
      <file file_name="../nRF5_SDK_current/components/softdevice/common/nrf_sdh_ble.c" />
      <file file_name="../nRF5_SDK_current/components/softdevice/common/nrf_sdh_soc.c" />
    </folder>
  </project>
  <configuration Name="Release"
    c_preprocessor_definitions="NDEBUG"
    gcc_optimization_level="Optimize For Size" />
  <configuration Name="Debug"
    c_preprocessor_definitions="DEBUG; DEBUG_NRF"
    gcc_optimization_level="None"/>
</solution>

can you give me the solution

how to solve this.

Parents Reply Children
Related