Try different build strategy
This commit is contained in:
23
examples/arduino-ota/platformio.ini
Normal file
23
examples/arduino-ota/platformio.ini
Normal file
@@ -0,0 +1,23 @@
|
||||
; PlatformIO Project Configuration File
|
||||
;
|
||||
; Build options: build flags, source filter, extra scripting
|
||||
; Upload options: custom port, speed and extra flags
|
||||
; Library options: dependencies, extra library storages
|
||||
;
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env]
|
||||
platform = raspberrypi
|
||||
framework = arduino
|
||||
|
||||
; upload via USB
|
||||
[env:rpipicow_via_usb]
|
||||
board = rpipicow
|
||||
upload_protocol = mbed
|
||||
|
||||
; upload via OTA (change IP)
|
||||
[env:rpipicow_via_ota]
|
||||
board = rpipicow
|
||||
upload_protocol = espota
|
||||
upload_port = 192.168.0.206
|
||||
Reference in New Issue
Block a user