Global print functions based on debug level flags added (closes #58)
This commit is contained in:
+4
-2
@@ -13,9 +13,9 @@ default_envs =
|
||||
# mppt-1210-hus-v0.2
|
||||
# mppt-1210-hus-v0.4
|
||||
# mppt-1210-hus-v0.6
|
||||
mppt-1210-hus-v0.7
|
||||
# mppt-1210-hus-v0.7
|
||||
# pwm-2420-lus-v0.2
|
||||
pwm-2420-lus-v0.3
|
||||
# pwm-2420-lus-v0.3
|
||||
# unit-test-native
|
||||
|
||||
[env]
|
||||
@@ -43,6 +43,7 @@ build_flags =
|
||||
-fsingle-precision-constant
|
||||
-Wl,-Map,memory.map
|
||||
-D TURN_OFF_MBED_DEPRECATED_WARNING
|
||||
-D DEBUG_PRINT_FLAGS=0x7
|
||||
-D MBED_BUILD_PROFILE_RELEASE
|
||||
# -D MBED_BUILD_PROFILE_DEBUG
|
||||
|
||||
@@ -109,6 +110,7 @@ build_flags =
|
||||
-D LITTLE_ENDIAN
|
||||
-D UNIT_TEST
|
||||
-D __STDC_FORMAT_MACROS
|
||||
-D DEBUG_PRINT_FLAGS=0xF
|
||||
# include src directory (otherwise unit-tests will only include lib directory)
|
||||
test_build_project_src = true
|
||||
lib_ignore = USB, mbed-USBDevice, mbed-mbedtls, USBSerial, ESP32, Adafruit_GFX, SX1276GenericLib
|
||||
|
||||
Reference in New Issue
Block a user