aboutsummaryrefslogtreecommitdiff
path: root/platform.txt
diff options
context:
space:
mode:
authorMartino Facchin <m.facchin@arduino.cc>2016-12-19 17:54:23 +0100
committerMartino Facchin <m.facchin@arduino.cc>2016-12-21 15:53:59 +0100
commit0c92777bdd285cd10431fb9307bfdf7d54773dc6 (patch)
treec6b02e21cbd305af3736dcacb936c40231798f52 /platform.txt
parent4f79c0f7f0c4e2ed3b9dabb3efd083d5b36ccc90 (diff)
Add Arduino UNO Wifi board
Both serial and OTA upload methods OTA upload uses the ESP8266 method with a custom upload tool (https://github.com/arduino/arduinoOTA)
Diffstat (limited to 'platform.txt')
-rw-r--r--platform.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform.txt b/platform.txt
index c260539..a8ab169 100644
--- a/platform.txt
+++ b/platform.txt
@@ -95,6 +95,8 @@ tools.avrdude.path={runtime.tools.avrdude.path}
tools.avrdude.cmd.path={path}/bin/avrdude
tools.avrdude.config.path={path}/etc/avrdude.conf
+tools.avrdude.network_cmd={runtime.tools.arduinoota.path}/bin/arduinoota
+
tools.avrdude.upload.params.verbose=-v
tools.avrdude.upload.params.quiet=-q -q
# tools.avrdude.upload.verify is needed for backwards compatibility with IDE 1.6.8 or older, IDE 1.6.9 or newer overrides this value
@@ -119,8 +121,10 @@ tools.avrdude.bootloader.pattern="{cmd.path}" "-C{config.path}" {bootloader.verb
tools.avrdude_remote.upload.pattern=/usr/bin/run-avrdude /tmp/sketch.hex {upload.verbose} -p{build.mcu}
+tools.avrdude.upload.network_pattern={network_cmd} -address {serial.port} -port {upload.network.port} -sketch "{build.path}/{build.project_name}.hex" -upload {upload.network.endpoint_upload} -sync {upload.network.endpoint_sync} -reset {upload.network.endpoint_reset} -sync_exp {upload.network.sync_return}
+
# USB Default Flags
# Default blank usb manufacturer will be filled in at compile time
# - from numeric vendor ID, set to Unknown otherwise
build.usb_manufacturer="Unknown"
-build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}'
+build.usb_flags=-DUSB_VID={build.vid} -DUSB_PID={build.pid} '-DUSB_MANUFACTURER={build.usb_manufacturer}' '-DUSB_PRODUCT={build.usb_product}' \ No newline at end of file