Commit 0c9733a9 authored by Ulrich Huber's avatar Ulrich Huber Committed by Oliver Horst
Browse files

[chg] Do debug and error output of lwIP via syslog component

parent b336a930
......@@ -9,6 +9,11 @@ project(
LANGUAGES C ASM
)
find_package(
toki-syslog-config-headers 0.1
REQUIRED
)
add_library(
lwip-config-headers
#
......@@ -22,6 +27,12 @@ target_include_directories(
$<INSTALL_INTERFACE:include>
)
target_link_libraries(
lwip-config-headers
#
INTERFACE toki-syslog-config-headers
)
if (ENABLE_INSTALL)
# Configure and install the following files:
......
......@@ -2,6 +2,8 @@
include(CMakeFindDependencyMacro)
find_dependency(toki-syslog-config-headers)
# Import targets
include(${CMAKE_CURRENT_LIST_DIR}/lwip-config-headers-targets.cmake)
......
......@@ -651,6 +651,7 @@
---------- Logging options -----------
--------------------------------------
*/
#define LWIP_DEBUG 0x80U
#include <toki/syslog/configs/components/lwip.h>
#endif /* __LWIPOPTS_H_ */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment