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

Custom nRF9160 board (problem with building)

Hi

I'm using a custom nRF9160 board and faced some problems with that. I updated the latest SDK (fw-nrfconnect-nrf master) and got some build errors and I don't know what should I do to get rid of them. I'm getting BUILD_ASSERT and CHECK_ADDRESS errors.

Earlier the problem was solved by adding these lines to /cmake/app/boilerplate.cmake (about lines 274-277):

if(${BOARD} STREQUAL nrf9160_custom_board_ns)                                #Added this
  set(BOARD nrf9160_custom_board)                                                      #Added this
  message("Changed board to secure nrf9160_custom_board (NOT NS)")  #Added this
endif()                                                                                                   #Added this

But now the commits on Dec 12, 2019 on fw-nrfconnect-zephyr are causing the same problem. Here is the fast link to the latest commits: https://github.com/NordicPlayground/fw-nrfconnect-zephyr/commits/master/cmake/app/boilerplate.cmake. Does anyone know how the problem should be solved now?

Regards,
Tero

Related