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

NRF log compile errors

Hello,

I am using nrf52840 microcontroller and segger embedded studio for making firmware. I made my own project and I am having trouble configuring nrf logging which i need for debugging. I have enabled in the CMSIS configuration wizard NRF_LOG_ENABLED - nrf_log - Logger checkbox. In the attachment is the code and a screenshot of the project. It would help me a lot if someone gave me some advice on fixing these errors. I am receiving the following problems:

error: undefined symbol: __start_log_const_data
error: undefined symbol: app_error_handler
error: undefined symbol: m_nrf_log_app_logs_data_const
error: undefined symbol: nrf_log_default_backends_init
error: undefined symbol: nrf_log_frontend_std_0
error: undefined symbol: nrf_log_init

Parents
  • Hi

    We recommend starting out with one of our examples when starting development, as these are a way easier starting point than making projects from scratch. Have you added the necessary .c and .h files to your project?

    You can check out this case where my colleague has posted a detailed answer regarding starting SES projects from scratch.

    Best regards,

    Simon

  • Hello Simonr

    I have done that and now I am able to do logging. Still it is always nicer to have a special separated folder just for a specific project. In case someone knows how to fix these errors, it would be of help. Thank you for your reply.

Reply
  • Hello Simonr

    I have done that and now I am able to do logging. Still it is always nicer to have a special separated folder just for a specific project. In case someone knows how to fix these errors, it would be of help. Thank you for your reply.

Children
No Data