speeduino/platformio.ini

75 lines
2.0 KiB
INI
Raw Normal View History

2017-02-06 01:56:46 -08:00
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
[env:megaatmega2560]
platform=atmelavr
board=megaatmega2560
framework=arduino
build_unflags = -Os
build_flags = -O3 -ffast-math
lib_deps = EEPROM
[env:teensy35]
platform=teensy
board=teensy35
framework=arduino
lib_deps = EEPROM, FlexCAN
;Not currently working
;[env:LaunchPad_tm4c1294ncpdt]
;platform = titiva
;framework = energia
;board = lptm4c1294ncpdt
;lib_deps = EEPROM
2017-02-07 20:40:44 -08:00
[env:genericSTM32F103RB]
platform = ststm32@~4.5.0
2017-02-07 20:40:44 -08:00
framework = arduino
; framework-arduinoststm32
board = genericSTM32F103RB
lib_deps = EEPROM
build_flags = -fpermissive -std=gnu++11 -UBOARD_NR_GPIO_PINS
[env:bluepill_f103c8]
platform = ststm32
framework = arduino
; framework-arduinoststm32
board = bluepill_f103c8
2017-02-07 20:40:44 -08:00
lib_deps = EEPROM
;build_flags = -fpermissive -std=gnu++11 -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,-Map,output.map
build_flags = -fpermissive -std=gnu++11 -Os -UBOARD_NR_GPIO_PINS
;SAMD21
[env:samd21]
platform = atmelsam
framework = arduino
board = zeroUSB
2019-01-18 02:46:03 -08:00
;lib_deps = EEPROM
build_flags = -fpermissive -std=gnu++11
upload_protocol = sam-ba
2017-02-07 20:40:44 -08:00
;Support for the stm32f407 doesn't look ready in platformio yet
;[env:genericSTM32F407VE]
;platform = https://github.com/maichaell/platform-ststm32
;framework = arduino
;board = disco_f407vg
;lib_deps = EEPROM
;build_flags = -fpermissive -std=gnu++11 -DUSE_STM32GENERIC -DMENU_USB_SERIAL
2017-02-07 20:40:44 -08:00
2017-02-06 01:56:46 -08:00
[platformio]
src_dir=speeduino
env_default = megaatmega2560
2017-02-07 20:40:44 -08:00
;The following lines are for testing / experimentation only. Comment the line above to try them out
;env_default = teensy35
2017-02-07 20:40:44 -08:00
;env_default = LaunchPad_tm4c1294ncpdt
;env_default = genericSTM32F103RB
;env_default = bluepill_f103c8