mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-23 08:06:13 +01:00
firebox disable, gcc flag for smaller binary
This commit is contained in:
parent
f4aa572df2
commit
aa02cd11e3
|
@ -50,17 +50,18 @@ monitor_speed = 115200
|
||||||
monitor_echo = yes
|
monitor_echo = yes
|
||||||
build_flags = -std=c++17
|
build_flags = -std=c++17
|
||||||
|
|
||||||
[env:samc21-firebox]
|
; Firebox disabled for now
|
||||||
platform = atmelsam
|
; [env:samc21-firebox]
|
||||||
board = firebox
|
; platform = atmelsam
|
||||||
framework = arduino
|
; board = firebox
|
||||||
upload_protocol = atmel-ice
|
; framework = arduino
|
||||||
lib_deps =
|
; upload_protocol = atmel-ice
|
||||||
${env.lib_deps}
|
; lib_deps =
|
||||||
SparkFun External EEPROM Arduino Library
|
; ${env.lib_deps}
|
||||||
monitor_speed = 115200
|
; SparkFun External EEPROM Arduino Library
|
||||||
monitor_echo = yes
|
;monitor_speed = 115200
|
||||||
build_flags = -std=c++17
|
;monitor_echo = yes
|
||||||
|
;build_flags = -std=c++17
|
||||||
|
|
||||||
[env:mega2560-debug]
|
[env:mega2560-debug]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
|
@ -108,6 +109,10 @@ lib_deps =
|
||||||
SPI
|
SPI
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
monitor_echo = yes
|
monitor_echo = yes
|
||||||
|
; Example, but v12 does generate bigger binaries
|
||||||
|
; platform_packages = toolchain-atmelavr@symlink:///opt/avr-gcc-12.1.0-x64-linux
|
||||||
|
; Should make binaries smaller
|
||||||
|
build_flags = -mcall-prologues
|
||||||
|
|
||||||
[env:mega328]
|
[env:mega328]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
|
@ -155,6 +160,8 @@ lib_deps =
|
||||||
SPI
|
SPI
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
monitor_echo = yes
|
monitor_echo = yes
|
||||||
|
; Should make binaries smaller
|
||||||
|
build_flags = -mcall-prologues
|
||||||
|
|
||||||
[env:nano]
|
[env:nano]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
|
|
Loading…
Reference in New Issue
Block a user