Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lwc
/
compare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
33472d31
authored
Nov 19, 2019
by
Enrico Pozzobon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trying better to remove DEBUG flags
parent
b0ec33ff
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
4 deletions
+11
-4
templates/bluepill/platformio.ini
+2
-1
templates/esp32/platformio.ini
+2
-1
templates/f7/Makefile
+3
-1
templates/maixduino/platformio.ini
+2
-1
templates/uno/platformio.ini
+2
-0
No files found.
templates/bluepill/platformio.ini
View file @
33472d31
...
@@ -3,7 +3,8 @@ platform = ststm32
...
@@ -3,7 +3,8 @@ platform = ststm32
framework
=
arduino
framework
=
arduino
board
=
bluepill_f103c8_128k
board
=
bluepill_f103c8_128k
upload_protocol
=
jlink
upload_protocol
=
jlink
build_flags
=
-O2
build_flags
=
-O2
-UDEBUG -DNDEBUG
-D
NUM_ANALOG_INPUTS
=
10
-D
NUM_ANALOG_INPUTS
=
10
-D
NUM_ANALOG_FIRST
=
20
-D
NUM_ANALOG_FIRST
=
20
build_unflags
=
-Os
build_unflags
=
-Os
build_type
=
release
templates/esp32/platformio.ini
View file @
33472d31
...
@@ -2,5 +2,6 @@
...
@@ -2,5 +2,6 @@
platform
=
espressif32
platform
=
espressif32
framework
=
arduino
framework
=
arduino
board
=
esp32dev
board
=
esp32dev
build_flags
=
-O2
build_flags
=
-O2
-UDEBUG -DNDEBUG
build_unflags
=
-Os
build_unflags
=
-Os
build_type
=
release
templates/f7/Makefile
View file @
33472d31
...
@@ -107,7 +107,9 @@ C_DEFS = \
...
@@ -107,7 +107,9 @@ C_DEFS = \
-DVDD_VALUE
=
3300
\
-DVDD_VALUE
=
3300
\
-DPREFETCH_ENABLE
=
0
\
-DPREFETCH_ENABLE
=
0
\
-DART_ACCLERATOR_ENABLE
=
0
\
-DART_ACCLERATOR_ENABLE
=
0
\
-DSTM32F746xx
-DSTM32F746xx
\
-DNDEBUG
\
-UDEBUG
# AS includes
# AS includes
...
...
templates/maixduino/platformio.ini
View file @
33472d31
...
@@ -13,5 +13,6 @@ board_build.f_cpu = 600000000L
...
@@ -13,5 +13,6 @@ board_build.f_cpu = 600000000L
upload_speed
=
750000
upload_speed
=
750000
; compiler optimizations to favour speed over size
; compiler optimizations to favour speed over size
build_flags
=
-O3
build_flags
=
-O3
-UDEBUG -DNDEBUG
build_unflags
=
-Os
build_unflags
=
-Os
build_type
=
release
templates/uno/platformio.ini
View file @
33472d31
...
@@ -2,3 +2,5 @@
...
@@ -2,3 +2,5 @@
platform
=
atmelavr
platform
=
atmelavr
framework
=
arduino
framework
=
arduino
board
=
uno
board
=
uno
build_flags
=
-Os -UDEBUG -DNDEBUG
build_type
=
release
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment