This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Failed build of led_ws2812 in ncs v1.5.0

The error is 

CMake Error at ../../../cmake/extensions.cmake:416 (add_library):

   No SOURCES given to target: drivers__spi

This similar to

https://devzone.nordicsemi.com/f/nordic-q-a/72810/custom-board-build-fails-with-sdk-1-5-0-works-with-1-4-0/299782#299782

BUT

It builds OK when building for nrf9160-dk but not when building for actinius_icarus_som

Other builds for actinius_icarus_som work OK.  I guess this is SPI-related?

Any suggestions pls?

Parents
  • Thanks a lot for the feedback, Paul!

    I’m able to build the led_ws2812 sample for the actinius_icarus board in NCS v1.5.1, by copying the nrf52dk_nrf52832.conf and .overlay file and renaming them to actinius_icarus.

    I get got a warning though, saying

    warning: SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58 (defined at drivers/spi/Kconfig.nrfx:13) was assigned the value 'y' but got the value 'n'.

    So I toggled:

    CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58=y

    Now, I see that the Actinius Icarus SoM is available in the latest Zephyr release candidate.

    That might strengthen my theory that you added the board drivers to your Zephyr repository yourself? Can you build other samples with this board?

    Regards,

    Markus

Reply
  • Thanks a lot for the feedback, Paul!

    I’m able to build the led_ws2812 sample for the actinius_icarus board in NCS v1.5.1, by copying the nrf52dk_nrf52832.conf and .overlay file and renaming them to actinius_icarus.

    I get got a warning though, saying

    warning: SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58 (defined at drivers/spi/Kconfig.nrfx:13) was assigned the value 'y' but got the value 'n'.

    So I toggled:

    CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58=y

    Now, I see that the Actinius Icarus SoM is available in the latest Zephyr release candidate.

    That might strengthen my theory that you added the board drivers to your Zephyr repository yourself? Can you build other samples with this board?

    Regards,

    Markus

Children
Related