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

  • Hi Charlie, 

    thanks for your time!

    I did what you mentioned but I got errors during the compiling process. I'm totally lost trying to make my board work.

    This is the compiling log:

    custom_log_2.zip

    and this is the new custom board folder:

    custom_board_nrf9160.zip

    I copied all the files from C:\ncs\v2.6.1\zephyr\boards\arm\nrf9160dk_nrf9160 in a new folder and modified the files according to my design.. but still failing.

    thanks in advance, I appreciate your help.

    Regards, Alex

Reply Children
No Data
Related