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
#include <nrf.h> #include "nrf_delay.h" #include "app_util_platform.h" #include "app_error.h" #include "nrf_log.h" #include "nrf_log_ctrl.h" #include "nrf_log_default_backends.h" int main(void){ ret_code_t err_code = NRF_LOG_INIT(NULL); APP_ERROR_CHECK(err_code); NRF_LOG_DEFAULT_BACKENDS_INIT(); while(1){ nrf_delay_ms(1000); NRF_LOG_RAW_INFO("\n"); NRF_LOG_RAW_INFO("Test"); } }