Skip to content

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

add atom s3 env

Geofd8e575d60cc
diff --git a/platformio.ini b/platformio.ini
index 1f05d4a8..b60bd05f 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -232,6 +232,82 @@ build_flags =
-DJTAG_SCAN_PINS="\"1, 3, 5, 7\""
+[env:atom-lite-s3]
+platform = espressif32
+board = m5stack-stamps3
+framework = arduino
+monitor_speed = 115200
+lib_deps =
+ m5stack/M5Unified@^0.2.7
+ 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
+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
+
+ -DDEVICE_M5STAMPS3
+
+ ; --- Pin in use ---
+ -DPROTECTED_PINS="\"19, 20, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32\""
+
+ ; --- Builtin LED ---
+ -DLED_PIN=35
+
+ ; --- OneWire ---
+ -DONEWIRE_PIN=5
+
+ ; --- UART ---
+ -DUART_BAUD=9600
+ -DUART_RX_PIN=5
+ -DUART_TX_PIN=5
+
+ ; --- HDUART ---
+ -DHDUART_BAUD=9600
+ -DHDUART_PIN=5
+
+ ; --- I2C ---
+ -DI2C_SCL_PIN=39
+ -DI2C_SDA_PIN=38
+ -DI2C_FREQ=100000
+
+ ; --- SPI ---
+ -DSPI_CS_PIN=5
+ -DSPI_CLK_PIN=6
+ -DSPI_MISO_PIN=7
+ -DSPI_MOSI_PIN=8
+
+ ; --- Infrared ---
+ -DIR_TX_PIN=4
+ -DIR_RX_PIN=5
+
+ ; --- LED ---
+ -DLED_DATA_PIN=5
+ -DLED_CLOCK_PIN=6
+
+ ; --- TwoWire ---
+ -DTWOWIRE_CLK_PIN=5
+ -DTWOWIRE_IO_PIN=6
+ -DTWOWIRE_RST_PIN=7
+
+ ; --- I2S ---
+ -DI2S_BCLK_PIN=5
+ -DI2S_LRCK_PIN=6
+ -DI2S_DATA_PIN=7
+ -DI2S_SAMPLE_RATE=16000
+ -DI2S_BITS=16
+
+ ; --- JTAG ---
+ -DJTAG_SCAN_PINS="\"5, 6, 7, 8, 38, 39\""
+
+
[env:t-embed-s3]
platform = espressif32
board = esp32-s3-devkitc-1
@@ -334,7 +410,7 @@ build_flags =
-DARDUINO_USB_CDC_ON_BOOT=1
-DUSER_SETUP_LOADED=1
-include "lib/TFT_eSPI/User_Setups/Setup214_LilyGo_T_Embed_PN532.h"
-
+
-DDEVICE_TEMBEDS3CC1101
; --- Pin in use ---