From 2c50fab6637a74fd8bebbedfc0cb89ff03f1bd05 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 28 May 2024 12:47:39 +0200 Subject: [PATCH] add h2 board --- boards/esp32h2.json | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 boards/esp32h2.json diff --git a/boards/esp32h2.json b/boards/esp32h2.json new file mode 100644 index 000000000..ebac61fce --- /dev/null +++ b/boards/esp32h2.json @@ -0,0 +1,47 @@ +{ + "build": { + "core": "esp32", + "extra_flags": "-DARDUINO_TASMOTA -DARDUINO_USB_MODE=1 -DESP32_4M -DESP32H2 -DUSE_USB_CDC_CONSOLE", + "f_cpu": "96000000L", + "f_flash": "64000000L", + "f_image": "48000000L", + "flash_mode": "qio", + "mcu": "esp32h2", + "variant": "esp32h2", + "partitions": "partitions/esp32_partition_app2880k_fs320k.csv" + }, + "connectivity": [ + "bluetooth" + ], + "debug": { + "default_tool": "esp-builtin", + "onboard_tools": [ + "esp-builtin" + ], + "openocd_target": "esp32h2.cfg" + }, + "frameworks": [ + "arduino" + ], + "name": "Espressif Generic ESP32-H2 >= 4M Flash, Tasmota 2880k Code/OTA, 320k FS", + "upload": { + "arduino": { + "flash_extra_images": [ + [ + "0x10000", + "tasmota32h2-safeboot.bin" + ] + ] + }, + "flash_size": "4MB", + "maximum_ram_size": 327680, + "maximum_size": 4194304, + "require_upload_port": true, + "speed": 2000000 + }, + "download": { + "speed": 2000000 + }, + "url": "https://docs.espressif.com/projects/espressif-esp-dev-kits/en/latest/esp32h2/esp32-h2-devkitm-1/index.html", + "vendor": "Espressif" + }