Hi @ all,
We tried to enable debug log for lwIP module by setting NRF_LWIP_DRIVER_CONFIG_LOG_ENABLED in sdk_config.h to 1.
This threw two errors during the build process which we solved as follows:
-
In lwip\src\port\nrf_platform_port.c we changed #define NRF_LOG_MODULE_NAME IP-DRI to #define NRF_LOG_MODULE_NAME lwIP
-
In sdk_config.h in section NRF_LWIP_DRIVER_CONFIG_LOG_ENABLED we changed NRF_LWIP_DRIVER_CONFIG_LOG_LEVEL to IOT_NRF_DRIVER_CONFIG_LOG_LEVEL (same for _INFO_COLOR and _DEBUG_COLOR), since these defines are referenced in nrf_platform_port.c
Best Regards, Carl