From ba78ef3761edc14f01ed3dc1678522e39ee8b2a4 Mon Sep 17 00:00:00 2001 From: richard3366 <374159163@qq.com> Date: Wed, 21 Aug 2024 17:13:50 +0800 Subject: [PATCH 1/5] feat(board): Add Heltec Wireless Paper and Wireless Tracker --- boards/heltec_wireless_paper.json | 48 +++++++++++++++++++++++++++++ boards/heltec_wireless_tracker.json | 48 +++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 boards/heltec_wireless_paper.json create mode 100644 boards/heltec_wireless_tracker.json diff --git a/boards/heltec_wireless_paper.json b/boards/heltec_wireless_paper.json new file mode 100644 index 000000000..09a8e1c74 --- /dev/null +++ b/boards/heltec_wireless_paper.json @@ -0,0 +1,48 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_heltec_wifi_lora_32_V3", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "heltec_wifi_lora_32_V3" + }, + "connectivity": [ + "wifi", + "bluetooth", + "lora" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Heltec WiFi LoRa 32 (V3)", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://heltec.org/project/wifi-lora-32-v3/", + "vendor": "Heltec" +} diff --git a/boards/heltec_wireless_tracker.json b/boards/heltec_wireless_tracker.json new file mode 100644 index 000000000..08b32341b --- /dev/null +++ b/boards/heltec_wireless_tracker.json @@ -0,0 +1,48 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_heltec_wireless_tracker", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "heltec_wireless_tracker" + }, + "connectivity": [ + "wifi", + "bluetooth", + "lora" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Heltec Wireless Tracker", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://heltec.org/project/wireless-tracker/", + "vendor": "Heltec" +} From c048e1e36e6d49e1c185c966bc2d7ac77d99cbe1 Mon Sep 17 00:00:00 2001 From: richard3366 <374159163@qq.com> Date: Fri, 23 Aug 2024 10:07:16 +0800 Subject: [PATCH 2/5] fix(board): fix heltec_wireless_paper --- boards/heltec_wireless_paper.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/heltec_wireless_paper.json b/boards/heltec_wireless_paper.json index 09a8e1c74..fbfc84a6e 100644 --- a/boards/heltec_wireless_paper.json +++ b/boards/heltec_wireless_paper.json @@ -6,7 +6,7 @@ }, "core": "esp32", "extra_flags": [ - "-DARDUINO_heltec_wifi_lora_32_V3", + "-DARDUINO_heltec_wifi_paper", "-DARDUINO_USB_MODE=1", "-DARDUINO_RUNNING_CORE=1", "-DARDUINO_EVENT_RUNNING_CORE=1" @@ -21,7 +21,7 @@ ] ], "mcu": "esp32s3", - "variant": "heltec_wifi_lora_32_V3" + "variant": "heltec_wireless_paper" }, "connectivity": [ "wifi", @@ -35,7 +35,7 @@ "arduino", "espidf" ], - "name": "Heltec WiFi LoRa 32 (V3)", + "name": "Heltec WiFi Paper", "upload": { "flash_size": "8MB", "maximum_ram_size": 327680, @@ -43,6 +43,6 @@ "require_upload_port": true, "speed": 460800 }, - "url": "https://heltec.org/project/wifi-lora-32-v3/", + "url": "https://heltec.org/project/wireless-paper", "vendor": "Heltec" } From 597185ac08f0a7b42c199c886e5e9530ae4b7ead Mon Sep 17 00:00:00 2001 From: richard3366 <374159163@qq.com> Date: Mon, 26 Aug 2024 10:13:25 +0800 Subject: [PATCH 3/5] fix(board): Wireless Tracker/Paper board-specific macro should be uppercase --- boards/heltec_wireless_paper.json | 2 +- boards/heltec_wireless_tracker.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/heltec_wireless_paper.json b/boards/heltec_wireless_paper.json index fbfc84a6e..02034b077 100644 --- a/boards/heltec_wireless_paper.json +++ b/boards/heltec_wireless_paper.json @@ -6,7 +6,7 @@ }, "core": "esp32", "extra_flags": [ - "-DARDUINO_heltec_wifi_paper", + "-DARDUINO_HELTEC_WIRELESS_PAPER", "-DARDUINO_USB_MODE=1", "-DARDUINO_RUNNING_CORE=1", "-DARDUINO_EVENT_RUNNING_CORE=1" diff --git a/boards/heltec_wireless_tracker.json b/boards/heltec_wireless_tracker.json index 08b32341b..0aaa4caaf 100644 --- a/boards/heltec_wireless_tracker.json +++ b/boards/heltec_wireless_tracker.json @@ -6,7 +6,7 @@ }, "core": "esp32", "extra_flags": [ - "-DARDUINO_heltec_wireless_tracker", + "-DARDUINO_HELTEC_WIRELESS_TRACKER", "-DARDUINO_USB_MODE=1", "-DARDUINO_RUNNING_CORE=1", "-DARDUINO_EVENT_RUNNING_CORE=1" From 900c910b25f7dfed621a84c4e0e7580a30ed943a Mon Sep 17 00:00:00 2001 From: richard3366 <374159163@qq.com> Date: Tue, 27 Aug 2024 11:51:36 +0800 Subject: [PATCH 4/5] feat(board):Add Vision Master series boards, Add stick/stick lite v3 --- boards/heltec_vision_master_e213.json | 48 +++++++++++++++++++++++ boards/heltec_vision_master_e290.json | 48 +++++++++++++++++++++++ boards/heltec_vision_master_t190.json | 48 +++++++++++++++++++++++ boards/heltec_wireless_stick_lite_v3.json | 48 +++++++++++++++++++++++ boards/heltec_wireless_stick_v3.json | 48 +++++++++++++++++++++++ 5 files changed, 240 insertions(+) create mode 100644 boards/heltec_vision_master_e213.json create mode 100644 boards/heltec_vision_master_e290.json create mode 100644 boards/heltec_vision_master_t190.json create mode 100644 boards/heltec_wireless_stick_lite_v3.json create mode 100644 boards/heltec_wireless_stick_v3.json diff --git a/boards/heltec_vision_master_e213.json b/boards/heltec_vision_master_e213.json new file mode 100644 index 000000000..54e3aa678 --- /dev/null +++ b/boards/heltec_vision_master_e213.json @@ -0,0 +1,48 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_HELTEC_VISION_MASTER_E_213", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "heltec_vision_master_e_213" + }, + "connectivity": [ + "wifi", + "bluetooth", + "lora" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Heltec Vision Master E213", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://heltec.org/project/vision-master-e213/", + "vendor": "Heltec" +} diff --git a/boards/heltec_vision_master_e290.json b/boards/heltec_vision_master_e290.json new file mode 100644 index 000000000..c0d69b875 --- /dev/null +++ b/boards/heltec_vision_master_e290.json @@ -0,0 +1,48 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_HELTEC_VISION_MASTER_E290", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "heltec_vision_master_e290" + }, + "connectivity": [ + "wifi", + "bluetooth", + "lora" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Heltec Vision Master E290", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://heltec.org/project/vision-master-e290/", + "vendor": "Heltec" +} diff --git a/boards/heltec_vision_master_t190.json b/boards/heltec_vision_master_t190.json new file mode 100644 index 000000000..2d610880f --- /dev/null +++ b/boards/heltec_vision_master_t190.json @@ -0,0 +1,48 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_HELTEC_VISION_MASTER_T190", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "heltec_vision_master_t190" + }, + "connectivity": [ + "wifi", + "bluetooth", + "lora" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Heltec Vision Master T190", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://heltec.org/project/vision-master-t190/", + "vendor": "Heltec" +} diff --git a/boards/heltec_wireless_stick_lite_v3.json b/boards/heltec_wireless_stick_lite_v3.json new file mode 100644 index 000000000..ea80e54f1 --- /dev/null +++ b/boards/heltec_wireless_stick_lite_v3.json @@ -0,0 +1,48 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_HELTEC_WIRELESS_STICK_LITE_V3", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "heltec_wireless_stick_lite_v3" + }, + "connectivity": [ + "wifi", + "bluetooth", + "lora" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Heltec Wireless Stick Lite V3", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://heltec.org/project/wireless-stick-lite-v2/", + "vendor": "Heltec" +} diff --git a/boards/heltec_wireless_stick_v3.json b/boards/heltec_wireless_stick_v3.json new file mode 100644 index 000000000..8d484a39e --- /dev/null +++ b/boards/heltec_wireless_stick_v3.json @@ -0,0 +1,48 @@ +{ + "build": { + "arduino": { + "ldscript": "esp32s3_out.ld", + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_HELTEC_WIRELESS_STICK_V3", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "qio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "heltec_wireless_stick_v3" + }, + "connectivity": [ + "wifi", + "bluetooth", + "lora" + ], + "debug": { + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Heltec Wireless Stick V3", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://heltec.org/project/wireless-stick/", + "vendor": "Heltec" +} From e35fa1b892efa3a581f29cc4f6e15e8471f4250d Mon Sep 17 00:00:00 2001 From: richard3366 <374159163@qq.com> Date: Tue, 27 Aug 2024 17:34:14 +0800 Subject: [PATCH 5/5] fix(board):renamed: heltec_vision_master_e213.json -> heltec_vision_master_e_213.json --- ...ec_vision_master_e213.json => heltec_vision_master_e_213.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename boards/{heltec_vision_master_e213.json => heltec_vision_master_e_213.json} (100%) diff --git a/boards/heltec_vision_master_e213.json b/boards/heltec_vision_master_e_213.json similarity index 100% rename from boards/heltec_vision_master_e213.json rename to boards/heltec_vision_master_e_213.json