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

Segger can't find all sorts of files

For a moment I was thinking that I made it with Segger, I was thinking that after 3 days with Eclipse with no success, I managed to use the blinky example and flash it (!)

Then it started. I was trying to use the blue_hrs new project, or even a template project, I use the guide from here , which worked with blinky but with any other project is not compiling.

Here are all the strange errors :

image description

Also my preprocessor looks different from the guide in the ble example ( but not in the blinky-why?)

image description

After adding what the comment said here I get all of these errors : image description

Under user included directories I have this :

../../../../../../components/device $(PackagesDir)/CMSIS_4/CMSIS/Include ../../../config ../../../../../../components ../../../../../../components/ble/ble_advertising ../../../../../../components/ble/ble_dtm ../../../../../../components/ble/ble_racp ../../../../../../components/ble/ble_services/ble_ancs_c ../../../../../../components/ble/ble_services/ble_ans_c ../../../../../../components/ble/ble_services/ble_bas ../../../../../../components/ble/ble_services/ble_bas_c ../../../../../../components/ble/ble_services/ble_cscs ../../../../../../components/ble/ble_services/ble_cts_c ../../../../../../components/ble/ble_services/ble_dfu ../../../../../../components/ble/ble_services/ble_dis ../../../../../../components/ble/ble_services/ble_gls ../../../../../../components/ble/ble_services/ble_hids ../../../../../../components/ble/ble_services/ble_hrs ../../../../../../components/ble/ble_services/ble_hrs_c ../../../../../../components/ble/ble_services/ble_hts ../../../../../../components/ble/ble_services/ble_ias ../../../../../../components/ble/ble_services/ble_ias_c ../../../../../../components/ble/ble_services/ble_lbs ../../../../../../components/ble/ble_services/ble_lbs_c ../../../../../../components/ble/ble_services/ble_lls ../../../../../../components/ble/ble_services/ble_nus ../../../../../../components/ble/ble_services/ble_nus_c ../../../../../../components/ble/ble_services/ble_rscs ../../../../../../components/ble/ble_services/ble_rscs_c ../../../../../../components/ble/ble_services/ble_tps ../../../../../../components/ble/common ../../../../../../components/ble/nrf_ble_qwr ../../../../../../components/ble/peer_manager ../../../../../../components/boards ../../../../../../components/drivers_nrf/clock ../../../../../../components/drivers_nrf/common ../../../../../../components/drivers_nrf/comp ../../../../../../components/drivers_nrf/delay ../../../../../../components/drivers_nrf/gpiote ../../../../../../components/drivers_nrf/hal ../../../../../../components/drivers_nrf/i2s ../../../../../../components/drivers_nrf/lpcomp ../../../../../../components/drivers_nrf/pdm ../../../../../../components/drivers_nrf/power ../../../../../../components/drivers_nrf/ppi ../../../../../../components/drivers_nrf/pwm ../../../../../../components/drivers_nrf/qdec ../../../../../../components/drivers_nrf/rng ../../../../../../components/drivers_nrf/rtc ../../../../../../components/drivers_nrf/saadc ../../../../../../components/drivers_nrf/spi_master ../../../../../../components/drivers_nrf/spi_slave ../../../../../../components/drivers_nrf/swi ../../../../../../components/drivers_nrf/timer ../../../../../../components/drivers_nrf/twi_master ../../../../../../components/drivers_nrf/twis_slave ../../../../../../components/drivers_nrf/uart ../../../../../../components/drivers_nrf/usbd ../../../../../../components/drivers_nrf/wdt ../../../../../../components/libraries/bsp ../../../../../../components/libraries/button ../../../../../../components/libraries/crc16 ../../../../../../components/libraries/crc32 ../../../../../../components/libraries/csense ../../../../../../components/libraries/csense_drv ../../../../../../components/libraries/ecc ../../../../../../components/libraries/experimental_section_vars ../../../../../../components/libraries/fds ../../../../../../components/libraries/fstorage ../../../../../../components/libraries/gpiote ../../../../../../components/libraries/hardfault ../../../../../../components/libraries/hci ../../../../../../components/libraries/led_softblink ../../../../../../components/libraries/log ../../../../../../components/libraries/log/src ../../../../../../components/libraries/low_power_pwm ../../../../../../components/libraries/mem_manager ../../../../../../components/libraries/pwm ../../../../../../components/libraries/queue ../../../../../../components/libraries/scheduler ../../../../../../components/libraries/slip ../../../../../../components/libraries/strerror ../../../../../../components/libraries/timer ../../../../../../components/libraries/twi ../../../../../../components/libraries/uart ../../../../../../components/libraries/usbd ../../../../../../components/libraries/usbd/class/audio ../../../../../../components/libraries/usbd/class/cdc ../../../../../../components/libraries/usbd/class/cdc/acm ../../../../../../components/libraries/usbd/class/hid ../../../../../../components/libraries/usbd/class/hid/generic ../../../../../../components/libraries/usbd/class/hid/kbd ../../../../../../components/libraries/usbd/class/hid/mouse ../../../../../../components/libraries/usbd/class/msc ../../../../../../components/libraries/usbd/config ../../../../../../components/libraries/util ../../../../../../components/softdevice/common/softdevice_handler ../../../../../../components/softdevice/s132/headers ../../../../../../components/softdevice/s132/headers/nrf52 ../../../../../../components/toolchain ../../../../../../external/segger_rtt ../config

Here is the project file with all steps : project

Parents
  • The flash_s132_nrf52_3.0.0_softdevice is not used in SES, only in Keil, so it does more harm than good to leave it in there. The SoftDevice is added manually in a later step in SES.

    The nrf.h file is located in the ../../../../../../components/device, so it needs to be added to included directories. (Remember to select the Project in the file tree before including it, so that the added settings applies to the project):

    • Select Project -> Edit Options... and then select the Preprocessor tab
    • Add ../../../../../../components/device to the User Include Directories field to include the device header files in our Embedded Studio project
Reply
  • The flash_s132_nrf52_3.0.0_softdevice is not used in SES, only in Keil, so it does more harm than good to leave it in there. The SoftDevice is added manually in a later step in SES.

    The nrf.h file is located in the ../../../../../../components/device, so it needs to be added to included directories. (Remember to select the Project in the file tree before including it, so that the added settings applies to the project):

    • Select Project -> Edit Options... and then select the Preprocessor tab
    • Add ../../../../../../components/device to the User Include Directories field to include the device header files in our Embedded Studio project
Children
No Data
Related