1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-07-28 09:53:45 +02:00

Nucleo-F446RE Build target support

This commit is contained in:
pmantoine
2023-01-09 16:24:29 +08:00
parent 3fccf6a484
commit 658fca2601
2 changed files with 17 additions and 25 deletions

View File

@@ -24,8 +24,8 @@ default_envs =
Teensy3.6
Teensy4.0
Teensy4.1
src_dir = .
include_dir = .
src_dir = /Users/paul/Projects/CommandStation-EX-devel
include_dir = /Users/paul/Projects/CommandStation-EX-devel
[env]
build_flags = -Wall -Wextra
@@ -50,19 +50,6 @@ monitor_speed = 115200
monitor_echo = yes
build_flags = -std=c++17
; Firebox disabled for now
; [env:samc21-firebox]
; platform = atmelsam
; board = firebox
; framework = arduino
; upload_protocol = atmel-ice
; lib_deps =
; ${env.lib_deps}
; SparkFun External EEPROM Arduino Library
;monitor_speed = 115200
;monitor_echo = yes
;build_flags = -std=c++17
[env:mega2560-debug]
platform = atmelavr
board = megaatmega2560
@@ -109,9 +96,6 @@ lib_deps =
SPI
monitor_speed = 115200
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]
@@ -160,7 +144,6 @@ lib_deps =
SPI
monitor_speed = 115200
monitor_echo = yes
; Should make binaries smaller
build_flags = -mcall-prologues
[env:nano]
@@ -188,6 +171,15 @@ build_flags = -std=c++17 -Os -g2
monitor_speed = 115200
monitor_echo = yes
[env:Nucleo-F446RE]
platform = ststm32
board = nucleo_f446re
framework = arduino
lib_deps = ${env.lib_deps}
build_flags = -std=c++17 -Os -g2
monitor_speed = 115200
monitor_echo = yes
[env:Teensy3.2]
platform = teensy
board = teensy31
@@ -226,4 +218,5 @@ board = teensy41
framework = arduino
build_flags = -std=c++17 -Os -g2
lib_deps = ${env.lib_deps}
lib_ignore =
lib_ignore =