Skip to content

Commit

Permalink
Add -mtarget-align to common build_flags
Browse files Browse the repository at this point in the history
  • Loading branch information
TD-er committed Nov 24, 2018
1 parent d8e4f9d commit 44a23fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platformio.ini
Expand Up @@ -113,13 +113,15 @@ monitor_speed = 115200
; ESP8266_DISABLE_EXTRA4K - Calls disable_extra4k_at_link_time() from setup
; to force the linker keep user's stack in user ram.
; CONT_STACKSIZE to set the 'cont' (Arduino) stack size. Default = 4096
; -mtarget-align see: https://github.com/arendst/Sonoff-Tasmota/issues/3678#issuecomment-419712437

[common]
board_build.f_cpu = 80000000L
build_unflags =
build_flags = -D BUILD_GIT='"${sysenv.TRAVIS_TAG}"'
-D NDEBUG
-lstdc++ -lsupc++
-mtarget-align
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
-DVTABLES_IN_FLASH

Expand Down

0 comments on commit 44a23fb

Please sign in to comment.