2023-04-22 20:17:56 +02: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
|
|
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
|
|
|
|
[env:main]
|
|
|
|
platform = atmelavr
|
|
|
|
board = uno
|
|
|
|
framework = arduino
|
2023-04-27 01:00:05 +02:00
|
|
|
build_flags = -DOUT_PORT=PORTC -DOUT_DDR=DDRC
|
|
|
|
|
|
|
|
[env:mega]
|
|
|
|
platform = atmelavr
|
|
|
|
board = megaatmega2560
|
|
|
|
framework = arduino
|
|
|
|
build_flags = -DOUT_PORT=PORTF -DOUT_DDR=DDRF
|
|
|
|
|
|
|
|
[env:nano]
|
|
|
|
platform = atmelavr
|
|
|
|
board = nanoatmega328
|
|
|
|
framework = arduino
|
|
|
|
build_flags = -DOUT_PORT=PORTC -DOUT_DDR=DDRC
|
|
|
|
|
|
|
|
[env:one]
|
|
|
|
platform = atmelavr
|
|
|
|
board = uno
|
|
|
|
framework = arduino
|
|
|
|
build_flags = -DOUT_PORT=PORTD -DOUT_DDR=DDRD -DONE
|
|
|
|
|
|
|
|
[env:zero]
|
|
|
|
platform = atmelavr
|
|
|
|
board = uno
|
|
|
|
framework = arduino
|
|
|
|
build_flags = -DOUT_PORT=PORTD -DOUT_DDR=DDRD -DZERO
|
|
|
|
|
|
|
|
[env:alternate]
|
|
|
|
platform = atmelavr
|
|
|
|
board = megaatmega2560
|
|
|
|
framework = arduino
|
|
|
|
build_flags = -DOUT_PORT=PORTF -DOUT_DDR=DDRF -DALT
|