Hello,
I am porting OpenWSN to the nRF52840 DK. While implementing power management, I was about to use the Power Management Library from SDK 15. Many other modules, drivers, libraries compile and build fine, but with "nrf_pwr_mgmt.c" I get following error:
Linking
build/nrf52840dk_armgcc/bsp/boards/libbsp.a(nrf_pwr_mgmt.o):/mnt/d/GIT/openwsn-fw_FW-751/build/nrf52840dk_armgcc/bsp/boards/nrf52840dk/sdk/components/libraries/pwr_mgmt/nrf_pwr_mgmt.c:78: undefined reference to `__start_pwr_mgmt_data'
build/nrf52840dk_armgcc/bsp/boards/libbsp.a(nrf_pwr_mgmt.o):(.rodata.pwr_mgmt_data+0x4): undefined reference to `__stop_pwr_mgmt_data'
As far as I see, the problem gets back to nrf_section_iter
, but I cannot find the root of the problem. The NRF_SECTION_ITER_ENABLED
has been defined as 1 in the sdk_config.h.
Any idea what I could have forgotten?
Thanks,
Tamas