58 lines
1.5 KiB
INI
58 lines
1.5 KiB
INI
; 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
|
|
|
|
[env:genericSTM32F103RB]
|
|
platform = ststm32
|
|
framework = arduino
|
|
; framework-arduinoststm32
|
|
board = genericSTM32F103RB
|
|
lib_deps = EEPROM
|
|
build_flags = -fpermissive -std=gnu++11
|
|
|
|
[env:bluepill_f103c8]
|
|
platform = ststm32
|
|
framework = arduino
|
|
; framework-arduinoststm32
|
|
board = bluepill_f103c8
|
|
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
|
|
|
|
|
|
[platformio]
|
|
src_dir=speeduino
|
|
env_default = megaatmega2560
|
|
;The following lines are for testing / experimentation only. Comment the line above to try them out
|
|
;env_default = teensy35
|
|
;env_default = LaunchPad_tm4c1294ncpdt
|
|
;env_default = genericSTM32F103RB
|
|
;env_default = bluepill_f103c8
|