Merge branch 'release/v1.6.0'
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.5"
|
||||
|
||||
env:
|
||||
- PLATFORMIO_PROJECT_DIR=examples/arduino-blink
|
||||
|
||||
@@ -27,18 +27,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 115200
|
||||
},
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_BPI_BIT",
|
||||
"f_cpu": "160000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"variant": "bpi-bit"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"ethernet",
|
||||
"can"
|
||||
],
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "BPI-Bit",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
"url": "https://en.wikipedia.org/wiki/ESP32",
|
||||
"vendor": "BPI Tech"
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_D_DUINO_32",
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"variant": "d-duino-32"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"ethernet",
|
||||
"can"
|
||||
],
|
||||
"debug": {
|
||||
"openocd_board": "esp-wroom-32.cfg"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "D-duino-32",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
"url": "https://www.tindie.com/products/lspoplove/dstike-d-duino-32-v3/",
|
||||
"vendor": "DSTIKE"
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_ESP32_DEV -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
|
||||
"extra_flags": "-DARDUINO_ESP32_DEV",
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
@@ -40,16 +40,7 @@
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"ftdi",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
"ftdi"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_ESP32_POE",
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"variant": "esp32-poe"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"ethernet",
|
||||
"can"
|
||||
],
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "me=OLIMEX ESP32-PoE",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
"url": "https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware",
|
||||
"vendor": "OLIMEX"
|
||||
}
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 2000000
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_fm_devkit",
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"variant": "fm-devkit"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"ethernet",
|
||||
"can"
|
||||
],
|
||||
"debug": {
|
||||
"openocd_board": "esp-wroom-32.cfg"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "ESP32 FM DevKit",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
"url": "https://github.com/dragon-engineer/esp32_fmdevkit",
|
||||
"vendor": "Unknown"
|
||||
}
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -15,6 +15,9 @@
|
||||
"ethernet",
|
||||
"can"
|
||||
],
|
||||
"debug": {
|
||||
"openocd_board": "esp-wroom-32.cfg"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
@@ -25,9 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
+1
-12
@@ -9,6 +9,7 @@
|
||||
"mcu": "esp32",
|
||||
"variant": "esp32"
|
||||
},
|
||||
"certified": true,
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
@@ -29,18 +30,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"mcu": "esp32",
|
||||
"variant": "esp32"
|
||||
},
|
||||
"certified": true,
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
@@ -23,24 +24,12 @@
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "oddWires Proteus IoT-Bus",
|
||||
"name": "oddWires IoT-Bus Proteus",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_LoPy",
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"variant": "lopy"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"can",
|
||||
"ethernet"
|
||||
],
|
||||
"debug": {
|
||||
"openocd_board": "esp-wroom-32.cfg"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "Pycom LoPy",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
"url": "https://pycom.io/",
|
||||
"vendor": "Pycom Ltd."
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_LoPy4",
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"variant": "lopy4"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"can",
|
||||
"ethernet"
|
||||
],
|
||||
"debug": {
|
||||
"openocd_board": "esp-wroom-32.cfg"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "Pycom LoPy4",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 1310720,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
"url": "https://pycom.io/",
|
||||
"vendor": "Pycom Ltd."
|
||||
}
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"partitions": "default_16MB.csv",
|
||||
"variant": "m5stack_fire"
|
||||
},
|
||||
"connectivity": [
|
||||
@@ -22,12 +23,9 @@
|
||||
"name": "M5Stack FIRE",
|
||||
"upload": {
|
||||
"flash_size": "16MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_ram_size": 6553600,
|
||||
"maximum_size": 16777216,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 2000000
|
||||
},
|
||||
|
||||
@@ -27,9 +27,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 2097152,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 16777216,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_OROCA_EDUBOT",
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"variant": "oroca_edubot"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"ethernet",
|
||||
"can"
|
||||
],
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "OROCA EduBot",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
"url": "https://github.com/oroca/OROCA-EduBot",
|
||||
"vendor": "OROCA"
|
||||
}
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 16777216,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_T_Beam",
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"variant": "t-beam"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"can",
|
||||
"ethernet"
|
||||
],
|
||||
"debug": {
|
||||
"openocd_board": "esp-wroom-32.cfg"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "TTGO T-Beam",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 1310720,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
"url": "https://github.com/LilyGO/TTGO-T-Beam",
|
||||
"vendor": "TTGO"
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_ESP32_PICO",
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"variant": "pico32"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"ethernet",
|
||||
"can"
|
||||
],
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "Turta IoT Node",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
"url": "https://www.turta.io/en/iotnode",
|
||||
"vendor": "Turta"
|
||||
}
|
||||
+1
-13
@@ -22,24 +22,12 @@
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "WeMos WiFi & Bluetooth Battery",
|
||||
"name": "WeMos WiFi and Bluetooth Battery",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"build": {
|
||||
"core": "esp32",
|
||||
"extra_flags": "-DARDUINO_WESP32",
|
||||
"f_cpu": "240000000L",
|
||||
"f_flash": "40000000L",
|
||||
"flash_mode": "dio",
|
||||
"ldscript": "esp32_out.ld",
|
||||
"mcu": "esp32",
|
||||
"variant": "wesp32"
|
||||
},
|
||||
"connectivity": [
|
||||
"wifi",
|
||||
"bluetooth",
|
||||
"ethernet",
|
||||
"can"
|
||||
],
|
||||
"debug": {
|
||||
"openocd_board": "esp-wroom-32.cfg"
|
||||
},
|
||||
"frameworks": [
|
||||
"arduino",
|
||||
"espidf"
|
||||
],
|
||||
"name": "Silicognition wESP32",
|
||||
"upload": {
|
||||
"flash_size": "4MB",
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
"url": "https://wesp32.com/",
|
||||
"vendor": "Silicognition"
|
||||
}
|
||||
@@ -25,9 +25,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 16777216,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -28,18 +28,6 @@
|
||||
"maximum_ram_size": 327680,
|
||||
"maximum_size": 4194304,
|
||||
"protocol": "esptool",
|
||||
"protocols": [
|
||||
"esptool",
|
||||
"esp-prog",
|
||||
"jlink",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"iot-bus-jtag",
|
||||
"tumpa",
|
||||
"minimodule"
|
||||
],
|
||||
"require_upload_port": true,
|
||||
"speed": 921600
|
||||
},
|
||||
|
||||
@@ -36,7 +36,7 @@ def prepare_files(files):
|
||||
fp.seek(-1, SEEK_END)
|
||||
if fp.read(1) != '\0':
|
||||
fp.seek(0, SEEK_CUR)
|
||||
fp.write('\0')
|
||||
fp.write(b'\0')
|
||||
|
||||
|
||||
def extract_files(cppdefines):
|
||||
|
||||
+33
-9
@@ -12,7 +12,7 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import re
|
||||
import socket
|
||||
import sys
|
||||
from os.path import isfile, join
|
||||
|
||||
@@ -95,6 +95,10 @@ def _update_max_upload_size(env):
|
||||
env.BoardConfig().update("upload.maximum_size", max(sizes))
|
||||
|
||||
|
||||
def _to_unix_slashes(path):
|
||||
return path.replace('\\', '/')
|
||||
|
||||
|
||||
#
|
||||
# SPIFFS helpers
|
||||
#
|
||||
@@ -146,6 +150,12 @@ env.Replace(
|
||||
SIZECHECKCMD="$SIZETOOL -A -d $SOURCES",
|
||||
SIZEPRINTCMD="$SIZETOOL -B -d $SOURCES",
|
||||
|
||||
ERASEFLAGS=[
|
||||
"--chip", "esp32",
|
||||
"--port", '"$UPLOAD_PORT"'
|
||||
],
|
||||
ERASECMD='"$PYTHONEXE" "$OBJCOPY" $ERASEFLAGS erase_flash',
|
||||
|
||||
MKSPIFFSTOOL="mkspiffs_${PIOPLATFORM}_${PIOFRAMEWORK}",
|
||||
PROGSUFFIX=".elf"
|
||||
)
|
||||
@@ -290,9 +300,10 @@ if upload_protocol == "esptool":
|
||||
# Handle uploading via OTA
|
||||
ota_port = None
|
||||
if env.get("UPLOAD_PORT"):
|
||||
ota_port = re.match(
|
||||
r"\"?((([0-9]{1,3}\.){3}[0-9]{1,3})|.+\.local)\"?$",
|
||||
env.get("UPLOAD_PORT"))
|
||||
try:
|
||||
ota_port = socket.gethostbyname(env.get("UPLOAD_PORT"))
|
||||
except socket.error:
|
||||
pass
|
||||
if ota_port:
|
||||
env.Replace(UPLOADCMD="$UPLOADOTACMD")
|
||||
|
||||
@@ -304,17 +315,19 @@ if upload_protocol == "esptool":
|
||||
|
||||
elif upload_protocol in debug_tools:
|
||||
openocd_dir = platform.get_package_dir("tool-openocd-esp32") or ""
|
||||
uploader_flags = ["-s", openocd_dir]
|
||||
uploader_flags = ["-s", _to_unix_slashes(openocd_dir)]
|
||||
uploader_flags.extend(
|
||||
debug_tools.get(upload_protocol).get("server").get("arguments", []))
|
||||
uploader_flags.extend(["-c", 'program_esp32 "{{$SOURCE}}" 0x10000 verify'])
|
||||
uploader_flags.extend(["-c", 'program_esp32 {{$SOURCE}} 0x10000 verify'])
|
||||
for image in env.get("FLASH_EXTRA_IMAGES", []):
|
||||
uploader_flags.extend(
|
||||
["-c", 'program_esp32 "%s" %s verify' % (image[1], image[0])])
|
||||
["-c", 'program_esp32 {{%s}} %s verify' % (
|
||||
_to_unix_slashes(image[1]), image[0])])
|
||||
uploader_flags.extend(["-c", "reset run; shutdown"])
|
||||
for i, item in enumerate(uploader_flags):
|
||||
if "$PACKAGE_DIR" in item:
|
||||
uploader_flags[i] = item.replace("$PACKAGE_DIR", openocd_dir)
|
||||
uploader_flags[i] = item.replace(
|
||||
"$PACKAGE_DIR", _to_unix_slashes(openocd_dir))
|
||||
|
||||
env.Replace(
|
||||
UPLOADER="openocd",
|
||||
@@ -323,7 +336,7 @@ elif upload_protocol in debug_tools:
|
||||
upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]
|
||||
|
||||
# custom upload tool
|
||||
elif "UPLOADCMD" in env:
|
||||
elif upload_protocol == "custom":
|
||||
upload_actions = [env.VerboseAction("$UPLOADCMD", "Uploading $SOURCE")]
|
||||
|
||||
else:
|
||||
@@ -331,6 +344,17 @@ else:
|
||||
|
||||
AlwaysBuild(env.Alias(["upload", "uploadfs"], target_firm, upload_actions))
|
||||
|
||||
#
|
||||
# Target: Erase Flash
|
||||
#
|
||||
|
||||
AlwaysBuild(
|
||||
env.Alias("erase", None, [
|
||||
env.VerboseAction(env.AutodetectUploadPort,
|
||||
"Looking for serial port..."),
|
||||
env.VerboseAction("$ERASECMD", "Ready for erasing")
|
||||
]))
|
||||
|
||||
#
|
||||
# Default targets
|
||||
#
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
.skiptest
|
||||
+5
-5
@@ -6,13 +6,13 @@
|
||||
"homepage": "http://platformio.org/platforms/espressif32",
|
||||
"license": "Apache-2.0",
|
||||
"engines": {
|
||||
"platformio": "^3.0.0"
|
||||
"platformio": "<5"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/platformio/platform-espressif32.git"
|
||||
},
|
||||
"version": "1.5.0",
|
||||
"version": "1.6.0",
|
||||
"packageRepositories": [
|
||||
"https://dl.bintray.com/platformio/dl-packages/manifest.json",
|
||||
"http://dl.platformio.org/packages/manifest.json",
|
||||
@@ -45,12 +45,12 @@
|
||||
"framework-arduinoespressif32": {
|
||||
"type": "framework",
|
||||
"optional": true,
|
||||
"version": "~2.10000.0"
|
||||
"version": "~2.10001.190111"
|
||||
},
|
||||
"framework-espidf": {
|
||||
"type": "framework",
|
||||
"optional": true,
|
||||
"version": "~3.30101.0"
|
||||
"version": "~3.30102.190109"
|
||||
},
|
||||
"framework-simba": {
|
||||
"type": "framework",
|
||||
@@ -64,7 +64,7 @@
|
||||
},
|
||||
"tool-esptoolpy": {
|
||||
"type": "uploader",
|
||||
"version": "~1.20500.0"
|
||||
"version": "~1.20600.0"
|
||||
},
|
||||
"tool-espotapy": {
|
||||
"type": "uploader",
|
||||
|
||||
+21
-3
@@ -37,15 +37,33 @@ class Espressif32Platform(PlatformBase):
|
||||
return result
|
||||
|
||||
def _add_default_debug_tools(self, board):
|
||||
debug = board.manifest.get("debug", {})
|
||||
non_debug_protocols = ["esptool"]
|
||||
supported_debug_tools = [
|
||||
"esp-prog",
|
||||
"iot-bus-jtag",
|
||||
"jlink",
|
||||
"minimodule",
|
||||
"olimex-arm-usb-tiny-h",
|
||||
"olimex-arm-usb-ocd-h",
|
||||
"olimex-arm-usb-ocd",
|
||||
"olimex-jtag-tiny",
|
||||
"tumpa"
|
||||
]
|
||||
|
||||
debug = board.manifest.get("debug", {})
|
||||
upload_protocol = board.manifest.get("upload", {}).get("protocol")
|
||||
upload_protocols = board.manifest.get("upload", {}).get(
|
||||
"protocols", [])
|
||||
if debug:
|
||||
upload_protocols.extend(supported_debug_tools)
|
||||
if upload_protocol and upload_protocol not in upload_protocols:
|
||||
upload_protocols.append(upload_protocol)
|
||||
|
||||
board.manifest['upload']['protocols'] = upload_protocols
|
||||
|
||||
if "tools" not in debug:
|
||||
debug['tools'] = {}
|
||||
|
||||
non_debug_protocols = ["esptool"]
|
||||
|
||||
# Only FTDI based debug probes
|
||||
for link in upload_protocols:
|
||||
if link in non_debug_protocols or link in debug['tools']:
|
||||
|
||||
Reference in New Issue
Block a user