I am trying to upgrade from SDK 13 to SDK 14.2 and get a lot of compilation errors using gcc
Why have SDK path and filenames changed like:
c:/Nordic/components/libraries/log/
to
c:/Nordic/components/libraries/experimental_log/
Next version will poss. go back to /log/ again ?
c:/Nordic/external/segger_rtt/RTT_Syscalls_GCC.c
to C:/Nordic\external/segger_rtt/SEGGER_RTT_Syscalls_GCC.c
c:/Nordic/components/libraries/fstorage/fstorage.c
to c:/Nordic/components/libraries/fstorage/nrf_fstorage.c
There is no more softdevice_handler.c c:/Nordic/components/softdevice/common/softdevice_handler/softdevice_handler.c
What has to be used for this?
There is C:\Nordic_v13.0.0\components\serialization\application\transport\ser_softdevice_handler.c
but that looks way differently
I also get these compilation errors of SDK files:
Compiling file: ble_radio_notification.c c:/Nordic/components/ble/ble_radio_notification/ble_radio_notification.c: In fun ction 'ble_radio_notification_init': c:/Nordic/components/ble/ble_radio_notification/ble_radio_notification.c:67:16: error: implicit declaration of function 'sd_nvic_ClearPendingIRQ' [-Werror=impli cit-function-declaration] err_code = sd_nvic_ClearPendingIRQ(SWI1_IRQn); ^ c:/Nordic/components/ble/ble_radio_notification/ble_radio_notification.c:73:16: error: implicit declaration of function 'sd_nvic_SetPriority' [-Werror=implicit- function-declaration] err_code = sd_nvic_SetPriority(SWI1_IRQn, irq_priority); ^ c:/Nordic/components/ble/ble_radio_notification/ble_radio_notification.c:79:16: error: implicit declaration of function 'sd_nvic_EnableIRQ' [-Werror=implicit-fu nction-declaration] err_code = sd_nvic_EnableIRQ(SWI1_IRQn); ^ cc1.exe: all warnings being treated as errors c:/Nordic/components/toolchain/gcc/Makefile.common:272: recipe for target '_buil d/nrf52832_xxaa/ble_radio_notification.c.o' failed make: *** [_build/nrf52832_xxaa/ble_radio_notification.c.o] Error 1
Why is there so much mess for just a simple upgrade?
Why isn't that mentioned in the release notes?
Why isn't there a tool provided that would convert my make and source files?
I can't create my makefiles from scratch again after each upgrade, ist's just too risky.
Is there any benefit at all to go from v13.0 to v14.2 ?