From 5e9e6a3357997f67fb257e9b48d672efa8731b21 Mon Sep 17 00:00:00 2001 From: Emil Muratov Date: Mon, 6 Jan 2025 21:24:55 +0900 Subject: [PATCH] set dio mode for huidu hd-wf boards - set dio flash mode for hd-wf boards - add hd-fw4 board --- boards/huidu_hd_wf2.json | 4 +-- boards/huidu_hd_wf4.json | 55 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 boards/huidu_hd_wf4.json diff --git a/boards/huidu_hd_wf2.json b/boards/huidu_hd_wf2.json index 56b4ac3ba..eecb9d64d 100644 --- a/boards/huidu_hd_wf2.json +++ b/boards/huidu_hd_wf2.json @@ -13,7 +13,7 @@ ], "f_cpu": "240000000L", "f_flash": "80000000L", - "flash_mode": "qio", + "flash_mode": "dio", "hwids": [ [ "0x303A", @@ -21,7 +21,7 @@ ] ], "mcu": "esp32s3", - "variant": "wifiduino32s3" + "variant": "huidu_hd_wf2" }, "connectivity": [ "bluetooth", diff --git a/boards/huidu_hd_wf4.json b/boards/huidu_hd_wf4.json new file mode 100644 index 000000000..b0acdffc2 --- /dev/null +++ b/boards/huidu_hd_wf4.json @@ -0,0 +1,55 @@ +{ + "build": { + "arduino": { + "partitions": "default_8MB.csv" + }, + "core": "esp32", + "extra_flags": [ + "-DARDUINO_HUIDU_HD_WF4", + "-DARDUINO_USB_MODE=1", + "-DARDUINO_RUNNING_CORE=1", + "-DARDUINO_EVENT_RUNNING_CORE=1", + "-DARDUINO_USB_CDC_ON_BOOT=1" + ], + "f_cpu": "240000000L", + "f_flash": "80000000L", + "flash_mode": "dio", + "hwids": [ + [ + "0x303A", + "0x1001" + ] + ], + "mcu": "esp32s3", + "variant": "huidu_hd_wf4" + }, + "connectivity": [ + "bluetooth", + "wifi" + ], + "debug": { + "default_tool": "esp-builtin", + "onboard_tools": [ + "esp-builtin" + ], + "openocd_target": "esp32s3.cfg" + }, + "frameworks": [ + "arduino", + "espidf" + ], + "name": "Huidu HD-WF4", + "upload": { + "flash_size": "8MB", + "maximum_ram_size": 327680, + "maximum_size": 8388608, + "require_upload_port": true, + "speed": 460800 + }, + "url": "https://www.hdwell.com/Product/index46.html", + "vendor": "Huidu Tech", + "information_urls": [ + "https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/discussions/667", + "https://github.com/vortigont/FireLamp_JeeUI/wiki/Huidu-HD%E2%80%90WF4" + ] +}