Skip to content

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

add pins for 3WIRE

Geocade749253a0
diff --git a/platformio.ini b/platformio.ini
index dad61337..fbbbad9d 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -31,7 +31,7 @@ build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
- ; -D ENABLE_FASTLED_PROTOCOL_SWITCHES ; Only possible if you build it on linux
+ -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
@@ -52,6 +52,12 @@ build_flags =
-DTWOWIRE_IO_PIN=2
-DTWOWIRE_RST_PIN=12
+ ; --- ThreeWire ---
+ -DTHREEWIRE_CS_PIN=12
+ -DTHREEWIRE_SK_PIN=40
+ -DTHREEWIRE_DI_PIN=39
+ -DTHREEWIRE_DO_PIN=14
+
; --- UART ---
-DUART_BAUD=9600
-DUART_RX_PIN=1
@@ -118,7 +124,7 @@ lib_deps =
build_flags =
-DDEVICE_M5STICK
- ; -D ENABLE_FASTLED_PROTOCOL_SWITCHES ; Only possible if you build it on linux
+ -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
@@ -165,6 +171,12 @@ build_flags =
-DTWOWIRE_IO_PIN=25
-DTWOWIRE_RST_PIN=0
+ ; --- ThreeWire ---
+ -DTHREEWIRE_CS_PIN=0
+ -DTHREEWIRE_SK_PIN=25
+ -DTHREEWIRE_DI_PIN=32
+ -DTHREEWIRE_DO_PIN=33
+
; --- I2S ---
-DI2S_BCLK_PIN=0
-DI2S_LRCK_PIN=25
@@ -208,7 +220,7 @@ build_flags =
-DDEVICE_S3DEVKIT
- ; -D ENABLE_FASTLED_PROTOCOL_SWITCHES ; Only possible if you build it on linux
+ -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
@@ -255,6 +267,12 @@ build_flags =
-DTWOWIRE_IO_PIN=14
-DTWOWIRE_RST_PIN=15
+ ; --- ThreeWire ---
+ -DTHREEWIRE_CS_PIN=34
+ -DTHREEWIRE_SK_PIN=36
+ -DTHREEWIRE_DI_PIN=37
+ -DTHREEWIRE_DO_PIN=35
+
; --- I2S ---
-DI2S_BCLK_PIN=42
-DI2S_LRCK_PIN=41
@@ -298,7 +316,7 @@ build_flags =
-DDEVICE_M5STAMPS3
- ; -D ENABLE_FASTLED_PROTOCOL_SWITCHES ; Only possible if you build it on linux
+ -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
@@ -345,6 +363,12 @@ build_flags =
-DTWOWIRE_IO_PIN=3
-DTWOWIRE_RST_PIN=5
+ ; --- ThreeWire ---
+ -DTHREEWIRE_CS_PIN=1
+ -DTHREEWIRE_SK_PIN=3
+ -DTHREEWIRE_DI_PIN=5
+ -DTHREEWIRE_DO_PIN=7
+
; --- I2S ---
-DI2S_BCLK_PIN=1
-DI2S_LRCK_PIN=3
@@ -388,7 +412,7 @@ build_flags =
-DDEVICE_M5STAMPS3
- ; -D ENABLE_FASTLED_PROTOCOL_SWITCHES ; Only possible if you build it on linux
+ -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
@@ -435,6 +459,12 @@ build_flags =
-DTWOWIRE_IO_PIN=6
-DTWOWIRE_RST_PIN=7
+ ; --- ThreeWire ---
+ -DTHREEWIRE_CS_PIN=5
+ -DTHREEWIRE_SK_PIN=6
+ -DTHREEWIRE_DI_PIN=7
+ -DTHREEWIRE_DO_PIN=8
+
; --- I2S ---
-DI2S_BCLK_PIN=5
-DI2S_LRCK_PIN=6
@@ -480,7 +510,7 @@ build_flags =
-DDEVICE_TEMBEDS3
- ; -D ENABLE_FASTLED_PROTOCOL_SWITCHES ; Only possible if you build it on linux
+ -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
@@ -527,6 +557,12 @@ build_flags =
-DTWOWIRE_IO_PIN=16
-DTWOWIRE_RST_PIN=17
+ ; --- ThreeWire ---
+ -DTHREEWIRE_CS_PIN=41
+ -DTHREEWIRE_SK_PIN=40
+ -DTHREEWIRE_DI_PIN=16
+ -DTHREEWIRE_DO_PIN=17
+
; --- I2S ---
-DI2S_BCLK_PIN=18
-DI2S_LRCK_PIN=16
@@ -572,7 +608,7 @@ build_flags =
-DDEVICE_TEMBEDS3CC1101
- ; -D ENABLE_FASTLED_PROTOCOL_SWITCHES ; Only possible if you build it on linux
+ -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
@@ -619,6 +655,12 @@ build_flags =
-DTWOWIRE_IO_PIN=18
-DTWOWIRE_RST_PIN=43
+ ; --- ThreeWire ---
+ -DTHREEWIRE_CS_PIN=43
+ -DTHREEWIRE_SK_PIN=44
+ -DTHREEWIRE_DI_PIN=8
+ -DTHREEWIRE_DO_PIN=18
+
; --- CAN ---
-DCAN_CS_PIN=43
-DCAN_SCK_PIN=44