Zephyr v2.0.0 direct_test_mode build error custom nRF528420 board

We have a board that is to be certified by a Chinese test lab, so I need to create an image based on the direct_test_mode sample.

In Zephyr v2.0.0 I created a custom board based on the nrf52840_qiaa.dtsi.

When first building the project I got an error about an undefined pp channel so I add CONFIG_NRFX_PPI=y to the proj.conf file.

e: app/libapp.a(dtm.c.obj): in function `gppi_init':
C:\ncs\MS88SF2_RadioTest\MS88SF2_RadioDirect\src\dtm.c:685: undefined reference to `nrfx_ppi_channel_alloc'

When I tried to build the project again, I get an error which seems to mean that I have not defined something used in the custom board's device tree.

C:\ncs\MS88SF2_RadioTest\MS88SF2_RadioDirect\src\main.c:69: undefined reference to `__device_dts_ord_57'

It does not make any senses line#69.

My dts file:

And my proj.conf fiel:

What am I missing?

Thanks David

Parents
  • Thank you. With your suggested changes everything compiled. 

    Zephyr is an ever changing target, I have to say. It seems every version they changed the power management or redid something entirely.

    I did not think of the serial channel which of course the project uses.

    The make error printed did not give me any useful information.

    Thank you for your quick response.

    The bug report system should allow all project files to be uploaded.

    Thanks David

Reply
  • Thank you. With your suggested changes everything compiled. 

    Zephyr is an ever changing target, I have to say. It seems every version they changed the power management or redid something entirely.

    I did not think of the serial channel which of course the project uses.

    The make error printed did not give me any useful information.

    Thank you for your quick response.

    The bug report system should allow all project files to be uploaded.

    Thanks David

Children
No Data
Related