Commit 33472d31 by Enrico Pozzobon

Trying better to remove DEBUG flags

parent b0ec33ff
......@@ -3,7 +3,8 @@ platform = ststm32
framework = arduino
board = bluepill_f103c8_128k
upload_protocol = jlink
build_flags = -O2
build_flags = -O2 -UDEBUG -DNDEBUG
-D NUM_ANALOG_INPUTS=10
-D NUM_ANALOG_FIRST=20
build_unflags = -Os
build_type = release
......@@ -2,5 +2,6 @@
platform = espressif32
framework = arduino
board = esp32dev
build_flags = -O2
build_flags = -O2 -UDEBUG -DNDEBUG
build_unflags = -Os
build_type = release
......@@ -107,7 +107,9 @@ C_DEFS = \
-DVDD_VALUE=3300 \
-DPREFETCH_ENABLE=0 \
-DART_ACCLERATOR_ENABLE=0 \
-DSTM32F746xx
-DSTM32F746xx \
-DNDEBUG \
-UDEBUG
# AS includes
......
......@@ -13,5 +13,6 @@ board_build.f_cpu = 600000000L
upload_speed = 750000
; compiler optimizations to favour speed over size
build_flags = -O3
build_flags = -O3 -UDEBUG -DNDEBUG
build_unflags = -Os
build_type = release
......@@ -2,3 +2,5 @@
platform = atmelavr
framework = arduino
board = uno
build_flags = -Os -UDEBUG -DNDEBUG
build_type = release
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment