-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
but now regular builds won't upload which is super annoying
- Loading branch information
1 parent
e7a1dd8
commit 7173268
Showing
5 changed files
with
80 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,73 @@ | ||
; 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] | ||
platform = atmelavr | ||
board = ATmega328 | ||
framework = arduino | ||
upload_flags = | ||
-C | ||
$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf | ||
-p | ||
m328 | ||
-b | ||
115200 | ||
-c | ||
usbtiny | ||
-C $PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf | ||
-p m328 | ||
-b 115200 | ||
-c usbtiny | ||
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i | ||
test_ignore = | ||
examples | ||
test_desktop | ||
examples | ||
test_desktop | ||
|
||
; [env:native] | ||
; platform = native | ||
; test_ignore = examples ;enables test_desktop folder | ||
[env:native] | ||
platform = native | ||
build_flags = -std=gnu++11 | ||
test_ignore = examples | ||
lib_deps = | ||
ArduinoFake | ||
|
||
[env:USBtiny ISP] | ||
; build_flags=-std=c++11 | ||
; board = ATmega328 | ||
; framework = arduino | ||
upload_protocol = usbtiny | ||
upload_flags = | ||
-c usbtiny | ||
|
||
; [env:AVRISP mkII] | ||
; upload_protocol = stk500v2 | ||
; upload_flags = | ||
; -Pusb | ||
|
||
; [env:Arduino ISP] | ||
; upload_protocol = arduinoisp | ||
[env:AVRISP mkII] | ||
upload_protocol = stk500v2 | ||
upload_flags = | ||
-P usb | ||
|
||
; [env:Arduino as ISP] | ||
; upload_protocol = stk500v1 | ||
; upload_flags = | ||
; -P$UPLOAD_PORT | ||
; -b$UPLOAD_SPEED | ||
[env:Arduino ISP] | ||
upload_protocol = arduinoisp | ||
|
||
; ; edit these lines | ||
; upload_port = SERIAL_PORT_HERE | ||
; upload_speed = 19200 | ||
[env:Arduino as ISP] | ||
upload_protocol = stk500v1 | ||
upload_flags = | ||
-P$UPLOAD_PORT | ||
-b$UPLOAD_SPEED | ||
upload_port = SERIAL_PORT_HERE | ||
upload_speed = 19200 | ||
|
||
; [env:USBasp] | ||
; upload_protocol = usbasp | ||
; upload_flags = | ||
; -Pusb | ||
|
||
; [env:Parallel Programmer] | ||
; upload_protocol = dapa | ||
; upload_flags = | ||
; -F | ||
[env:USBasp] | ||
board = ATmega328 | ||
framework = arduino | ||
upload_protocol = usbasp | ||
upload_flags = | ||
-C $PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf | ||
-p m328 | ||
-b 115200 | ||
-P usb | ||
-c usbasp | ||
|
||
; [env:BusPirate as ISP] | ||
; upload_protocol = buspirate | ||
; upload_flags = | ||
; -P$UPLOAD_PORT | ||
; -b$UPLOAD_SPEED | ||
[env:Parallel Programmer] | ||
upload_protocol = dapa | ||
upload_flags = | ||
-F | ||
|
||
; ; edit these lines | ||
; upload_port = SERIAL_PORT_HERE | ||
; upload_speed = 115200 | ||
[env:BusPirate as ISP] | ||
upload_protocol = buspirate | ||
upload_flags = | ||
-P $UPLOAD_PORT | ||
-b $UPLOAD_SPEED | ||
upload_port = SERIAL_PORT_HERE | ||
upload_speed = 115200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters