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

Error to use variables and structures into nrf_log_internal.h file

I am trying add the fatfs example in my custom solution and I have the follow error after add the paths and files.

nrf_log_frontend.c:92:35: error: unknown type name 'nrf_log_module_dynamic_data_t'

I am trying use variables and strutuctures that are in nrf_log_internal.h but the Segger tell me that the types and variables declared in this file doenst exists. I dont know if I forgot to set any flag into sdk_config.h

Ps. I already added the path to the file where is declared the "nrf_log_module_dynamic_data_t" variable.

Parents
  • In the case above I commented  the line that was wrong and the segger show me a new error.

    #define NRF_LOG_MODULE_NAME balloc

    I dont have idea how I can to fix it, so I changed the target and tryed to import the app_sdcard library and after to add the files and directories about this library I have the follow error

    #define NRF_LOG_MODULE_NAME spi

    The errors are similars so I think that this must have the same reason

Reply
  • In the case above I commented  the line that was wrong and the segger show me a new error.

    #define NRF_LOG_MODULE_NAME balloc

    I dont have idea how I can to fix it, so I changed the target and tryed to import the app_sdcard library and after to add the files and directories about this library I have the follow error

    #define NRF_LOG_MODULE_NAME spi

    The errors are similars so I think that this must have the same reason

Children
No Data
Related