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

    I believe this is because the empty_app_core project hasn't been tested with the nRF5340 audio DK, and that it likely doesn't have the correct configs enabled for it. Can you try to see what the __device_dts_ord_8 refers to in your zephyr.dts file located in your build folder refers to, as this is different for each build environment. Based on the error message it seems like it could be because the NRF5340 audio DK has an nPM1100 for it that isn't taken correctly in consideration during building the application.

    Best regards,

    Simon

Reply
  • Hi

    I believe this is because the empty_app_core project hasn't been tested with the nRF5340 audio DK, and that it likely doesn't have the correct configs enabled for it. Can you try to see what the __device_dts_ord_8 refers to in your zephyr.dts file located in your build folder refers to, as this is different for each build environment. Based on the error message it seems like it could be because the NRF5340 audio DK has an nPM1100 for it that isn't taken correctly in consideration during building the application.

    Best regards,

    Simon

Children
No Data
Related