Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

add xiao s3 support

Geo3381edc4eac4
diff --git a/README.md b/README.md
index bc06cd5c..a94bf4c3 100644
--- a/README.md
+++ b/README.md
@@ -67,6 +67,10 @@ It supports sniffing, sending, scripting, and interacting with various digital p
![A LilyGo T-Embed micro controller](images/tembedcc1101.jpg)
+- **Seeed Studio Xiao S3**
+
+![A Seeed Studio Xiao ESP32-S3 micro controller](images/xiaos3.jpg)
+
## Wiki
diff --git a/images/xiaos3.jpg b/images/xiaos3.jpg
new file mode 100644
index 00000000..0cd6e1a8
Binary files /dev/null and b/images/xiaos3.jpg differ
diff --git a/platformio.ini b/platformio.ini
index d09e5d3a..97537e40 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -4,7 +4,7 @@
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
-;
+
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
@@ -751,4 +751,110 @@ build_flags =
-DETHERNET_IRQ_PIN=17
; --- JTAG ---
- -DJTAG_SCAN_PINS="\"43, 44, 8, 18\""
\ No newline at end of file
+ -DJTAG_SCAN_PINS="\"43, 44, 8, 18\""
+
+
+[env:xiao-esp32s3]
+platform = espressif32
+board = esp32-s3-devkitc-1
+framework = arduino
+monitor_speed = 115200
+upload_speed = 921600
+lib_deps =
+ fastled/FastLED@^3.3.3
+ bblanchon/ArduinoJson@^7.3.0
+ paulstoffregen/OneWire@^2.3.8
+ esp32ping
+ hideakitai/ESP32SPISlave@^0.6.8
+ gilman88/XModem@^1.0.3
+ ewpa/LibSSH-ESP32@^5.6.0
+ autowp/autowp-mcp2515@^1.2.1
+ sparkfun/SparkFun External EEPROM Arduino Library@^3.2.10
+ miq19/eModbus@^1.7.4
+ pstolarz/OneWireNg@^0.14.0
+build_flags =
+ -D CONFIG_TINYUSB_ENABLED=1
+ -D CONFIG_TINYUSB_CDC_ENABLED=1
+ -D CONFIG_TINYUSB_HID_ENABLED=1
+ -D ARDUINO_USB_MODE=1
+ -D ARDUINO_USB_CDC_ON_BOOT=1
+ -D CONFIG_CRC16_ENABLED=1 ; 1Wire EEPROM OneWireNg
+
+ -DDEVICE_S3DEVKIT
+
+ ; -D ENABLE_FASTLED_PROTOCOL_SWITCHES ; Only possible if you build it on linux
+
+ -Wl,-zmuldefs ; ieee80211_raw_frame_sanity_check override - needed for WiFi deauth
+
+ ; --- Pin in use ---
+ -DPROTECTED_PINS="\"19, 20, 45, 46\""
+
+ ; --- Builtin LED ---
+ -DLED_PIN=48
+ -DLED_TYPE_RGB=true
+
+ ; --- OneWire ---
+ -DONEWIRE_PIN=1
+
+ ; --- UART ---
+ -DUART_BAUD=9600
+ -DUART_RX_PIN=1
+ -DUART_TX_PIN=2
+
+ ; --- HDUART ---
+ -DHDUART_BAUD=9600
+ -DHDUART_PIN=17
+
+ ; --- I2C ---
+ -DI2C_SCL_PIN=6
+ -DI2C_SDA_PIN=5
+ -DI2C_FREQ=100000
+
+ ; --- SPI ---
+ -DSPI_CS_PIN=1
+ -DSPI_CLK_PIN=2
+ -DSPI_MISO_PIN=3
+ -DSPI_MOSI_PIN=4
+
+ ; --- Infrared ---
+ -DIR_TX_PIN=1
+ -DIR_RX_PIN=2
+
+ ; --- LED ---
+ -DLED_DATA_PIN=1
+ -DLED_CLOCK_PIN=2
+
+ ; --- TwoWire ---
+ -DTWOWIRE_CLK_PIN=1
+ -DTWOWIRE_IO_PIN=2
+ -DTWOWIRE_RST_PIN=3
+
+ ; --- ThreeWire ---
+ -DTHREEWIRE_CS_PIN=1
+ -DTHREEWIRE_SK_PIN=2
+ -DTHREEWIRE_DI_PIN=3
+ -DTHREEWIRE_DO_PIN=4
+
+ ; --- I2S ---
+ -DI2S_BCLK_PIN=1
+ -DI2S_LRCK_PIN=2
+ -DI2S_DATA_PIN=3
+ -DI2S_SAMPLE_RATE=16000
+ -DI2S_BITS=16
+
+ ; --- CAN ---
+ -DCAN_CS_PIN=1
+ -DCAN_SCK_PIN=2
+ -DCAN_SI_PIN=3
+ -DCAN_SO_PIN=4
+ -DCAN_KBPS=125
+
+ ; --- ETHERNET (W5500) ---
+ -DETHERNET_CS_PIN=1
+ -DETHERNET_CLK_PIN=2
+ -DETHERNET_MISO_PIN=3
+ -DETHERNET_MOSI_PIN=4
+ -DETHERNET_IRQ_PIN=5
+
+ ; --- JTAG ---
+ -DJTAG_SCAN_PINS="\"1, 2, 3, 4\""