mirror of https://github.com/lumapu/ahoy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
988 B
41 lines
988 B
; 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:uno]
|
|
platform = atmelavr
|
|
board = uno
|
|
framework = arduino
|
|
upload_protocol = avrispmkII
|
|
upload_flags =
|
|
-v
|
|
-C
|
|
$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
|
|
-p
|
|
$BOARD_MCU
|
|
-c
|
|
avrispmkII
|
|
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
|
|
lib_deps = nrf24/RF24@^1.4.2
|
|
|
|
[env:nano]
|
|
platform = atmelavr
|
|
board = nanoatmega328
|
|
framework = arduino
|
|
upload_protocol = avrispmkII
|
|
upload_flags =
|
|
-v
|
|
-C
|
|
$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
|
|
-p
|
|
$BOARD_MCU
|
|
-c
|
|
avrispmkII
|
|
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
|
|
lib_deps = nrf24/RF24@^1.4.2
|
|
|