Skip to content

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

Added an environment that maximizes filesystem

fdufnews125f415fd1b9
diff --git a/app4M_spiffs_12M_16MB.csv b/app4M_spiffs_12M_16MB.csv
new file mode 100644
index 00000000..6e3a1083
--- /dev/null
+++ b/app4M_spiffs_12M_16MB.csv
@@ -0,0 +1,5 @@
+# Name, Type, SubType, Offset, Size, Flags
+nvs,data,nvs,0x9000,0x5000,
+app0,app,ota_0,0x10000,0x420000,
+spiffs,data,spiffs,0x430000,0xBC0000,
+coredump,data,coredump,0xFF0000,0x10000,
\ No newline at end of file
diff --git a/platformio.ini b/platformio.ini
index 0296c5b9..3caf73dd 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -480,6 +480,131 @@ build_flags =
-DJTAG_SCAN_PINS="\"10, 11, 12, 13, 14\""
+[env:s3-devkit-n16-r8]
+; Specific to esp32-s3-n16r8-devkit that have Octal SPIRAM
+; GPIO35, 36, 37 are tagged as prohibited as they are used by octal SPIRAM
+; using board = esp32-s3-devkitc-1-n16r8 in order to use all the remaining flash for a large filesystem
+platform = espressif32
+board = esp32-s3-devkitc1-n16r8
+framework = arduino
+monitor_speed = 115200
+upload_speed = 921600
+
+board_build.partitions = app4M_spiffs_12M_16MB.csv
+
+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
+ nrf24/RF24@^1.5.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
+ -D BOARD_HAS_PSRAM=1
+
+ -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="\"3, 19, 20, 35, 36, 37, 45, 46\""
+ -DPROTECTED_PINS="\"3, 19, 20, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 45, 46\""
+
+ ; --- Builtin LED ---
+ -DLED_PIN=48
+ -DLED_TYPE_RGB=true
+
+ ; --- OneWire ---
+ -DONEWIRE_PIN=6
+
+ ; --- UART ---
+ -DUART_BAUD=9600
+ -DUART_RX_PIN=17
+ -DUART_TX_PIN=18
+
+ ; --- HDUART ---
+ -DHDUART_BAUD=9600
+ -DHDUART_PIN=17
+
+ ; --- I2C ---
+ -DI2C_SCL_PIN=7
+ -DI2C_SDA_PIN=6
+ -DI2C_FREQ=100000
+
+ ; --- SPI ---
+ -DSPI_CS_PIN=10
+ -DSPI_CLK_PIN=12
+ -DSPI_MISO_PIN=11
+ -DSPI_MOSI_PIN=13
+
+ ; --- Infrared ---
+ -DIR_TX_PIN=4
+ -DIR_RX_PIN=5
+
+ ; --- LED ---
+ -DLED_DATA_PIN=15
+ -DLED_CLOCK_PIN=16
+
+ ; --- TwoWire ---
+ -DTWOWIRE_CLK_PIN=12
+ -DTWOWIRE_IO_PIN=11
+ -DTWOWIRE_RST_PIN=14
+
+ ; --- ThreeWire ---
+ -DTHREEWIRE_CS_PIN=10
+ -DTHREEWIRE_SK_PIN=12
+ -DTHREEWIRE_DI_PIN=13
+ -DTHREEWIRE_DO_PIN=11
+
+ ; --- I2S ---
+ -DI2S_BCLK_PIN=42
+ -DI2S_LRCK_PIN=41
+ -DI2S_DATA_PIN=2
+ -DI2S_SAMPLE_RATE=16000
+ -DI2S_BITS=16
+
+ ; --- CAN ---
+ -DCAN_CS_PIN=10
+ -DCAN_SCK_PIN=12
+ -DCAN_SI_PIN=13
+ -DCAN_SO_PIN=11
+ -DCAN_KBPS=125
+
+ ; --- ETHERNET (W5500) ---
+ -DETHERNET_CS_PIN=10
+ -DETHERNET_CLK_PIN=12
+ -DETHERNET_MISO_PIN=11
+ -DETHERNET_MOSI_PIN=13
+ -DETHERNET_IRQ_PIN=14
+
+ ; --- SUBGHZ ---
+ -DSUBGHZ_CS_PIN=10
+ -DSUBGHZ_SCK_PIN=12
+ -DSUBGHZ_SI_PIN=13
+ -DSUBGHZ_SO_PIN=11
+ -DSUBGHZ_GDO_PIN=14
+
+ ; --- RF24 ---
+ ; use same wiring as SUBGHZ
+
+ ; --- JTAG ---
+ -DJTAG_SCAN_PINS="\"10, 11, 12, 13, 14\""
+
+
[env:m5stack-stamps3]
platform = espressif32
board = m5stack-stamps3
@@ -711,7 +836,7 @@ build_flags =
[env:t-embed-s3]
-platform = espressif32
+platform = [email protected]
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200