From 51f82da2c765089e2578b8c9787df18a73294dc8 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 30 Jul 2018 15:28:58 +0300 Subject: [PATCH] New boards: WEMOS LOLIN D32 & LOLIN D32 PRO, M5Stack FIRE, TTGO LoRa32-OLED V1, XinaBox CW02 --- boards/alksesp32.json | 2 +- boards/lolin32.json | 2 +- boards/lolin_d32.json | 44 ++++++++++++++++++++++ boards/lolin_d32_pro.json | 44 ++++++++++++++++++++++ boards/m5stack-fire.json | 36 ++++++++++++++++++ boards/ttgo-lora32-v1.json | 44 ++++++++++++++++++++++ boards/xinabox_cw02.json | 44 ++++++++++++++++++++++ examples/arduino-wifiscan/platformio.ini | 4 +- examples/espidf-ble-adv/platformio.ini | 4 +- examples/espidf-coap-server/platformio.ini | 4 +- examples/espidf-exceptions/platformio.ini | 4 +- examples/espidf-hello-world/platformio.ini | 4 +- 12 files changed, 224 insertions(+), 12 deletions(-) create mode 100644 boards/lolin_d32.json create mode 100644 boards/lolin_d32_pro.json create mode 100644 boards/m5stack-fire.json create mode 100644 boards/ttgo-lora32-v1.json create mode 100644 boards/xinabox_cw02.json diff --git a/boards/alksesp32.json b/boards/alksesp32.json index 399eda7..a2df27c 100644 --- a/boards/alksesp32.json +++ b/boards/alksesp32.json @@ -1,7 +1,7 @@ { "build": { "core": "esp32", - "extra_flags": "-DARDUINO_ALKSESP32", + "extra_flags": "-DARDUINO_ALKS", "f_cpu": "240000000L", "f_flash": "40000000L", "flash_mode": "dio", diff --git a/boards/lolin32.json b/boards/lolin32.json index f39bef7..4a0cc51 100644 --- a/boards/lolin32.json +++ b/boards/lolin32.json @@ -39,6 +39,6 @@ "require_upload_port": true, "speed": 921600 }, - "url": "https://wemos.cc", + "url": "https://wiki.wemos.cc/products:lolin32:lolin32", "vendor": "WEMOS" } diff --git a/boards/lolin_d32.json b/boards/lolin_d32.json new file mode 100644 index 0000000..a71ac9c --- /dev/null +++ b/boards/lolin_d32.json @@ -0,0 +1,44 @@ +{ + "build": { + "core": "esp32", + "extra_flags": "-DARDUINO_LOLIN_D32", + "f_cpu": "240000000L", + "f_flash": "40000000L", + "flash_mode": "dio", + "ldscript": "esp32_out.ld", + "mcu": "esp32", + "variant": "d32" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "WEMOS LOLIN D32", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "protocol": "esptool", + "protocols": [ + "esptool", + "olimex-arm-usb-tiny-h", + "olimex-arm-usb-ocd-h", + "olimex-arm-usb-ocd", + "olimex-jtag-tiny", + "minimodule" + ], + "require_upload_port": true, + "speed": 921600 + }, + "url": "https://wiki.wemos.cc/products:d32:d32", + "vendor": "WEMOS" +} diff --git a/boards/lolin_d32_pro.json b/boards/lolin_d32_pro.json new file mode 100644 index 0000000..1fa88e2 --- /dev/null +++ b/boards/lolin_d32_pro.json @@ -0,0 +1,44 @@ +{ + "build": { + "core": "esp32", + "extra_flags": "-DARDUINO_LOLIN_D32_PRO", + "f_cpu": "240000000L", + "f_flash": "40000000L", + "flash_mode": "dio", + "ldscript": "esp32_out.ld", + "mcu": "esp32", + "variant": "d32_pro" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "WEMOS LOLIN D32 PRO", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "protocol": "esptool", + "protocols": [ + "esptool", + "olimex-arm-usb-tiny-h", + "olimex-arm-usb-ocd-h", + "olimex-arm-usb-ocd", + "olimex-jtag-tiny", + "minimodule" + ], + "require_upload_port": true, + "speed": 921600 + }, + "url": "https://wiki.wemos.cc/products:d32:d32_pro", + "vendor": "WEMOS" +} diff --git a/boards/m5stack-fire.json b/boards/m5stack-fire.json new file mode 100644 index 0000000..c2953d2 --- /dev/null +++ b/boards/m5stack-fire.json @@ -0,0 +1,36 @@ +{ + "build": { + "core": "esp32", + "extra_flags": "-DARDUINO_M5STACK_FIRE", + "f_cpu": "240000000L", + "f_flash": "40000000L", + "flash_mode": "dio", + "ldscript": "esp32_out.ld", + "mcu": "esp32", + "variant": "m5stack_fire" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "frameworks": [ + "arduino", + "espidf" + ], + "name": "M5Stack FIRE", + "upload": { + "flash_size": "16MB", + "maximum_ram_size": 327680, + "maximum_size": 16777216, + "protocol": "esptool", + "protocols": [ + "esptool" + ], + "require_upload_port": true, + "speed": 921600 + }, + "url": "http://www.m5stack.com", + "vendor": "M5Stack" +} diff --git a/boards/ttgo-lora32-v1.json b/boards/ttgo-lora32-v1.json new file mode 100644 index 0000000..a776012 --- /dev/null +++ b/boards/ttgo-lora32-v1.json @@ -0,0 +1,44 @@ +{ + "build": { + "core": "esp32", + "extra_flags": "-DARDUINO_TTGO_LoRa32_V1", + "f_cpu": "240000000L", + "f_flash": "40000000L", + "flash_mode": "dio", + "ldscript": "esp32_out.ld", + "mcu": "esp32", + "variant": "ttgo-lora32-v1" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "TTGO LoRa32-OLED V1", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "protocol": "esptool", + "protocols": [ + "esptool", + "olimex-arm-usb-tiny-h", + "olimex-arm-usb-ocd-h", + "olimex-arm-usb-ocd", + "olimex-jtag-tiny", + "minimodule" + ], + "require_upload_port": true, + "speed": 921600 + }, + "url": "https://www.google.com.ua/search?q=TTGO+LoRa32-OLED+V1", + "vendor": "TTGO" +} diff --git a/boards/xinabox_cw02.json b/boards/xinabox_cw02.json new file mode 100644 index 0000000..435b4f5 --- /dev/null +++ b/boards/xinabox_cw02.json @@ -0,0 +1,44 @@ +{ + "build": { + "core": "esp32", + "extra_flags": "-DARDUINO_ESP32_DEV", + "f_cpu": "240000000L", + "f_flash": "40000000L", + "flash_mode": "dio", + "ldscript": "esp32_out.ld", + "mcu": "esp32", + "variant": "xinabox" + }, + "connectivity": [ + "wifi", + "bluetooth", + "ethernet", + "can" + ], + "debug": { + "openocd_board": "esp-wroom-32.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "XinaBox CW02", + "upload": { + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "protocol": "esptool", + "protocols": [ + "esptool", + "olimex-arm-usb-tiny-h", + "olimex-arm-usb-ocd-h", + "olimex-arm-usb-ocd", + "olimex-jtag-tiny", + "minimodule" + ], + "require_upload_port": true, + "speed": 921600 + }, + "url": "https://xinabox.cc/products/cw02", + "vendor": "XinaBox" +} diff --git a/examples/arduino-wifiscan/platformio.ini b/examples/arduino-wifiscan/platformio.ini index c10fb3f..32cbdd8 100644 --- a/examples/arduino-wifiscan/platformio.ini +++ b/examples/arduino-wifiscan/platformio.ini @@ -13,10 +13,10 @@ framework = arduino board = esp32dev monitor_speed = 115200 -[env:nano32] +[env:esp wrover kit] platform = espressif32 framework = arduino -board = nano32 +board = esp-wrover-kit monitor_speed = 115200 [env:espea32] diff --git a/examples/espidf-ble-adv/platformio.ini b/examples/espidf-ble-adv/platformio.ini index f569580..370f2b4 100644 --- a/examples/espidf-ble-adv/platformio.ini +++ b/examples/espidf-ble-adv/platformio.ini @@ -14,10 +14,10 @@ board = nano32 build_flags = -DCONFIG_WIFI_SSID=\"ESP_AP\" -DCONFIG_WIFI_PASSWORD=\"MYPASS\" monitor_speed = 115200 -[env:espea32] +[env:esp wrover kit] platform = espressif32 framework = espidf -board = espea32 +board = esp-wrover-kit build_flags = -DCONFIG_WIFI_SSID=\"ESP_AP\" -DCONFIG_WIFI_PASSWORD=\"MYPASS\" monitor_speed = 115200 diff --git a/examples/espidf-coap-server/platformio.ini b/examples/espidf-coap-server/platformio.ini index f569580..370f2b4 100644 --- a/examples/espidf-coap-server/platformio.ini +++ b/examples/espidf-coap-server/platformio.ini @@ -14,10 +14,10 @@ board = nano32 build_flags = -DCONFIG_WIFI_SSID=\"ESP_AP\" -DCONFIG_WIFI_PASSWORD=\"MYPASS\" monitor_speed = 115200 -[env:espea32] +[env:esp wrover kit] platform = espressif32 framework = espidf -board = espea32 +board = esp-wrover-kit build_flags = -DCONFIG_WIFI_SSID=\"ESP_AP\" -DCONFIG_WIFI_PASSWORD=\"MYPASS\" monitor_speed = 115200 diff --git a/examples/espidf-exceptions/platformio.ini b/examples/espidf-exceptions/platformio.ini index 151a124..2094ef0 100644 --- a/examples/espidf-exceptions/platformio.ini +++ b/examples/espidf-exceptions/platformio.ini @@ -14,10 +14,10 @@ board = esp32dev build_flags = -DPIO_FRAMEWORK_ESP_IDF_ENABLE_EXCEPTIONS monitor_speed = 115200 -[env:quantum] +[env:esp wrover kit] platform = espressif32 framework = espidf -board = quantum +board = esp-wrover-kit build_flags = -DPIO_FRAMEWORK_ESP_IDF_ENABLE_EXCEPTIONS monitor_speed = 115200 diff --git a/examples/espidf-hello-world/platformio.ini b/examples/espidf-hello-world/platformio.ini index d5db57d..0df3abc 100644 --- a/examples/espidf-hello-world/platformio.ini +++ b/examples/espidf-hello-world/platformio.ini @@ -13,10 +13,10 @@ framework = espidf board = esp32dev monitor_speed = 115200 -[env:quantum] +[env:esp wrover kit] platform = espressif32 framework = espidf -board = quantum +board = esp-wrover-kit monitor_speed = 115200 [env:lolin 32]