No SOURCES given to Zephyr library

We have a custom nRF9160 board in a dedicated directory (out-of-tree board). It is a near copy of the nrf9160dk_nrf9160 folder with hardware changes and additions.We are now trying to implement Serial LTE Modem with the custom board in the build configuration but is not compiling giving the error:

No SOURCES given to Zephyr library: drivers__console

Excluding target from build.

When building for the nrf9160dk_nrf9160_ns there are no errors.

I went over the files several times and do not see the difference but there must be something.

My compilin log:

nrf_custom_log.zip

My board folder:

nrf9160_sica_b1.zip

My project:

3618.serial_lte_modem.zip

Sorry but I have spent hours and cannot see the difference.

Thanks for your help!

Alex

Parents
  • Hi Alex,

    I did a quick compare between your board file and nrf9160dk_nrf9160. There are quite mange changes and not just a simple copy.

    The warning and errors are reported by building progress comes from different parts of the change.

    I would suggest you put the two board folders in to a custom board folder and modify nrf9160dk_nrf9160 part by part following changes you have made with nrf9160_sica_b1 and verify with SLM building process.

    The VS codes comparison function may help a lot on this process. Just let me know if you still have issues.

    Best regards,

    Charlie

Reply
  • Hi Alex,

    I did a quick compare between your board file and nrf9160dk_nrf9160. There are quite mange changes and not just a simple copy.

    The warning and errors are reported by building progress comes from different parts of the change.

    I would suggest you put the two board folders in to a custom board folder and modify nrf9160dk_nrf9160 part by part following changes you have made with nrf9160_sica_b1 and verify with SLM building process.

    The VS codes comparison function may help a lot on this process. Just let me know if you still have issues.

    Best regards,

    Charlie

Children
Related