Skip to content

Commit f96ca10

Browse files
author
Philipp Andreas
committed
feat(#10): Adding support to flash seeed studios xiao esp32s3 boards. Currently only supported by the CE firmware
1 parent 02c8dcf commit f96ca10

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

index.html

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,28 @@
882882
},
883883
],
884884
},
885+
{
886+
name: "Seeed Studio XIAO ESP32S3",
887+
id: ROM.PRODUCT_XIAO_ESP32S3,
888+
platform: ROM.PLATFORM_ESP32,
889+
models: [
890+
{
891+
id: ROM.MODEL_DD,
892+
name: "868 MHz / 915 MHz / 923 MHz",
893+
},
894+
],
895+
firmware_filename: "rnode_firmware_xiao_esp32s3.zip",
896+
flash_config: {
897+
flash_size: "8MB",
898+
flash_files: {
899+
"0xe000": "rnode_firmware_xiao_esp32s3.boot_app0",
900+
"0x0": "rnode_firmware_xiao_esp32s3.bootloader",
901+
"0x10000": "rnode_firmware_xiao_esp32s3.bin",
902+
"0x210000": "console_image.bin",
903+
"0x8000": "rnode_firmware_xiao_esp32s3.partitions",
904+
},
905+
},
906+
},
885907
],
886908

887909
// Liam's default config for New Zealand / LongFast on Slot 10
@@ -1843,4 +1865,4 @@
18431865
</script>
18441866

18451867
</body>
1846-
</html>
1868+
</html>

js/rnode.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ class RNode {
117117
BOARD_LORA32_V2_0 = 0x36;
118118
BOARD_LORA32_V2_1 = 0x37;
119119
BOARD_RAK4631 = 0x51;
120+
BOARD_XIAO_ESP32S3 = 0x3E
120121

121122
HASH_TYPE_TARGET_FIRMWARE = 0x01;
122123
HASH_TYPE_FIRMWARE = 0x02;
@@ -844,6 +845,9 @@ class ROM {
844845
static MODEL_FF = 0xFF
845846
static MODEL_FE = 0xFE
846847

848+
static PRODUCT_XIAO_ESP32S3 = 0xEB
849+
static MODEL_DD = 0xDD
850+
847851
static ADDR_PRODUCT = 0x00
848852
static ADDR_MODEL = 0x01
849853
static ADDR_HW_REV = 0x02
@@ -870,6 +874,7 @@ class ROM {
870874
static BOARD_LORA32_V2_0 = 0x36
871875
static BOARD_LORA32_V2_1 = 0x37
872876
static BOARD_RAK4631 = 0x51
877+
static BOARD_XIAO_ESP32S3 = 0x3E
873878

874879
static MANUAL_FLASH_MODELS = [ROM.MODEL_A1, ROM.MODEL_A6]
875880

0 commit comments

Comments
 (0)