nrf5340 empty_app_core compilation failed

I am using nrf5340 audio DK,

The project I use is v3.0.2 .\samples\nrf5340\empty_app_core\. If the board target is nrf5340 audio DK

a compilation error will occur.
build error:zephyr/drivers/regulator/libdrivers__regulator.a(regulator_npm1100.c.obj):(.rodata.config_0+0x0): undefined reference to `__device_dts_ord_8


If I selected the target board as nrf5340dk/nrf5340/cpuapp and it compiled successfully.

Parents
  • Hi

    Sorry, it should be the devicetree_generated.h file, not zephyr.dts. Sorry aboutt that. I tried it on my end, and it seems to be referring to the GPIOs, so likely the empty_app_core is trying to use some GPIOs that aren't available or used for something else in the nRF5340 Audio DK board files. By default the sample lets the network core use all GPIOs, while I believe some of them are reserved for various purposes on the audio DK.

    Best regards,

    Simon

Reply
  • Hi

    Sorry, it should be the devicetree_generated.h file, not zephyr.dts. Sorry aboutt that. I tried it on my end, and it seems to be referring to the GPIOs, so likely the empty_app_core is trying to use some GPIOs that aren't available or used for something else in the nRF5340 Audio DK board files. By default the sample lets the network core use all GPIOs, while I believe some of them are reserved for various purposes on the audio DK.

    Best regards,

    Simon

Children
No Data
Related