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

Thingy 52 build error.

Hello.

I am trying to build project for thingy52 but since latest release of sdk for thingy does not work well with SES -> https://devzone.nordicsemi.com/f/nordic-q-a/27311/thingy-sdk-compile-error-using-segger-embedded-studio-within-windows-10

I imported keil project into SES but it still does not build correctly for some reason.

1> Output/debug_v1_0_0 Internal/Exe/ble_app_thingy_s132_pca20020.elf does not exist.
1> Linking ble_app_thingy_s132_pca20020.elf
1> "C:/tools/SEGGER/SEGGER Embedded Studio for ARM 3.50/bin/segger-ld" --add-region FLASH=0x00100000@0x00000000 --add-region SRAM=0x00040000@0x20000000 --defsym=__STACKSIZE__=1024 --defsym=__STACKSIZE_PROCESS__=0 --defsym=__HEAPSIZE__=1024 --full-section-headers -ereset_handler --defsym=__vfprintf=__vfprintf_int_nwp --defsym=__vfscanf=__vfscanf_int --silent --list-all-undefineds --fatal-warnings -EL -mcpu=cortex-m4 "-TC:/tools/SEGGER/SEGGER Embedded Studio for ARM 3.50/samples/SEGGER_Flash.icf" -Map "Output/debug_v1_0_0 Internal/Exe/ble_app_thingy_s132_pca20020.map" -u_vectors -o "Output/debug_v1_0_0 Internal/Exe/ble_app_thingy_s132_pca20020.elf" "@C:/Downloads/thigy/thingy_sdk_v2.1.0/project/pca20020_s132/arm5_no_packs/Output/ble_app_thingy_s132_pca20020 debug_v1_0_0 Internal/Obj/ble_app_thingy_s132_pca20020.ind"
1>
1> Diagnostics:
1>   error: undefined symbol: SystemCoreClock
1>   error: undefined symbol: __data_start__
1>   error: undefined symbol: __start_fs_data
1>   error: undefined symbol: __stop_fs_data
1>   error: undefined symbol: arm_sin_f32
1>   error: undefined symbol: inv_enable_9x_sensor_fusion
1>   error: undefined symbol: inv_enable_fast_nomot
1>   error: undefined symbol: inv_enable_gyro_tc
1>   error: undefined symbol: inv_enable_heading_from_gyro
1>   error: undefined symbol: inv_enable_in_use_auto_calibration
1>   error: undefined symbol: inv_enable_magnetic_disturbance
1>   error: undefined symbol: inv_enable_quaternion
1>   error: undefined symbol: inv_enable_vector_compass_cal
1>   error: undefined symbol: nfc_t2t_emulation_start
1>   error: undefined symbol: nfc_t2t_payload_set
1>   error: undefined symbol: nfc_t2t_setup
Build failed

Btw I excluded RTT_Syscalls_KEIL.c from build because it gave me some compiler error about those two includes not being found:

#include <rt_sys.h>
#include <rt_misc.h>

Thank you for your help and best regards.

Parents Reply
  • Hi Andreas

    After revisiting this....it appears the project does is set up differently than the binary that runs on the Thingy.

    After loading Thingy with the project hex the LED green flashes....but does not accept connection from the Thingy app.

    Is there a version of the project, that is identical to pre-compiled hex file?

    The pre-compiled hex file runs as expected and allows connections from the app.

    Any assistance would be much appreciated.

Children
Related