mirror of
https://github.com/espressif/openthread.git
synced 2026-08-27 20:39:54 +00:00
[unit-test] allow project to specify platform log config in unit tests (#4367)
This commit removes the hard-coded `OPENTHREAD_CONFIG_LOG_PLATFORM=0` configuration in the unit test makefile. This allows the project build to specify whether the platform logging should be enabled in unit tests or not (and removes the complier warning for possible re-definition of this configuration option).
This commit is contained in:
committed by
Jonathan Hui
parent
eaf2e7b9f7
commit
cd1804fa38
@@ -51,7 +51,6 @@ if OPENTHREAD_BUILD_TESTS
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DOPENTHREAD_FTD=1 \
|
||||
-DOPENTHREAD_CONFIG_LOG_PLATFORM=0 \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/core \
|
||||
|
||||
Reference in New Issue
Block a user