Skip to content

Commit

Permalink
Small size tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
cziter15 committed Jun 25, 2024
1 parent 6ed4d8f commit cefd3fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion platformio/libsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
environments.append(lb.env)

for e in environments:
# remove unused flags
# remove flags
e.ProcessUnFlags("-std=gnu++11")
e.ProcessUnFlags("-fexceptions")
e.ProcessUnFlags("-DCORE_DEBUG_LEVEL")
e.ProcessUnFlags("-DNO_GLOBAL_ARDUINO_OTA")
e.ProcessUnFlags("-DWEBSOCKETS_SAVE_RAM")
# add flags to environment
e.ProcessFlags("-std=gnu++2a")
e.ProcessFlags("-fno-exceptions")
Expand Down

0 comments on commit cefd3fc

Please sign in to comment.