Skip to content

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

add lib for cc1101 to all envs, add pins for cc1101 to all envs

Geo7919cf5c8353
diff --git a/platformio.ini b/platformio.ini
index 97537e40..558db938 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -27,6 +27,7 @@ lib_deps =
sparkfun/SparkFun External EEPROM Arduino Library@^3.2.10
miq19/eModbus@^1.7.4
pstolarz/OneWireNg@^0.14.0
+ lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7
build_flags =
-D CONFIG_TINYUSB_ENABLED=1
-D CONFIG_TINYUSB_CDC_ENABLED=1
@@ -111,6 +112,13 @@ build_flags =
-DETHERNET_MOSI_PIN=14
-DETHERNET_IRQ_PIN=1
+ ; --- SUBGHZ ---
+ -DSUBGHZ_CS_PIN=12
+ -DSUBGHZ_SCK_PIN=40
+ -DSUBGHZ_SI_PIN=39
+ -DSUBGHZ_SO_PIN=14
+ -DSUBGHZ_GDO_PIN=1
+
; --- JTAG ---
-DJTAG_SCAN_PINS="\"12, 40, 39, 14\""
@@ -134,6 +142,7 @@ lib_deps =
autowp/autowp-mcp2515@^1.2.1
sparkfun/SparkFun External EEPROM Arduino Library@^3.2.10
miq19/eModbus@^1.7.4
+ lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7
build_flags =
-DDEVICE_M5STICK
@@ -211,6 +220,13 @@ build_flags =
-DETHERNET_MOSI_PIN=33
-DETHERNET_IRQ_PIN=26
+ ; --- SUBGHZ ---
+ -DSUBGHZ_CS_PIN=0
+ -DSUBGHZ_SCK_PIN=25
+ -DSUBGHZ_SI_PIN=32
+ -DSUBGHZ_SO_PIN=33
+ -DSUBGHZ_GDO_PIN=26
+
; --- JTAG ---
-DJTAG_SCAN_PINS="\"0, 25, 26, 33\""
@@ -233,6 +249,7 @@ lib_deps =
sparkfun/SparkFun External EEPROM Arduino Library@^3.2.10
miq19/eModbus@^1.7.4
pstolarz/OneWireNg@^0.14.0
+ lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7
build_flags =
-D CONFIG_TINYUSB_ENABLED=1
-D CONFIG_TINYUSB_CDC_ENABLED=1
@@ -318,6 +335,13 @@ build_flags =
-DETHERNET_MOSI_PIN=35
-DETHERNET_IRQ_PIN=48
+ ; --- SUBGHZ ---
+ -DSUBGHZ_CS_PIN=38
+ -DSUBGHZ_SCK_PIN=36
+ -DSUBGHZ_SI_PIN=37
+ -DSUBGHZ_SO_PIN=35
+ -DSUBGHZ_GDO_PIN=48
+
; --- JTAG ---
-DJTAG_SCAN_PINS="\"6, 7, 10, 11\""
@@ -341,6 +365,7 @@ lib_deps =
sparkfun/SparkFun External EEPROM Arduino Library@^3.2.10
miq19/eModbus@^1.7.4
pstolarz/OneWireNg@^0.14.0
+ lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7
build_flags =
-D CONFIG_TINYUSB_ENABLED=1
-D CONFIG_TINYUSB_CDC_ENABLED=1
@@ -425,6 +450,13 @@ build_flags =
-DETHERNET_MOSI_PIN=7
-DETHERNET_IRQ_PIN=9
+ ; --- SUBGHZ ---
+ -DSUBGHZ_CS_PIN=1
+ -DSUBGHZ_SCK_PIN=3
+ -DSUBGHZ_SI_PIN=5
+ -DSUBGHZ_SO_PIN=7
+ -DSUBGHZ_GDO_PIN=9
+
; --- JTAG ---
-DJTAG_SCAN_PINS="\"1, 3, 5, 7\""
@@ -448,6 +480,7 @@ lib_deps =
sparkfun/SparkFun External EEPROM Arduino Library@^3.2.10
miq19/eModbus@^1.7.4
pstolarz/OneWireNg@^0.14.0
+ lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7
build_flags =
-D CONFIG_TINYUSB_ENABLED=1
-D CONFIG_TINYUSB_CDC_ENABLED=1
@@ -532,6 +565,13 @@ build_flags =
-DETHERNET_MOSI_PIN=8
-DETHERNET_IRQ_PIN=39
+ ; --- SUBGHZ ---
+ -DSUBGHZ_CS_PIN=5
+ -DSUBGHZ_SCK_PIN=6
+ -DSUBGHZ_SI_PIN=7
+ -DSUBGHZ_SO_PIN=8
+ -DSUBGHZ_GDO_PIN=39
+
; --- JTAG ---
-DJTAG_SCAN_PINS="\"5, 6, 7, 8, 38, 39\""
@@ -558,6 +598,7 @@ lib_deps =
sparkfun/SparkFun External EEPROM Arduino Library@^3.2.10
miq19/eModbus@^1.7.4
pstolarz/OneWireNg@^0.14.0
+ lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7
build_flags =
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
@@ -641,12 +682,19 @@ build_flags =
-DETHERNET_MOSI_PIN=17
-DETHERNET_IRQ_PIN=18
+ ; --- SUBGHZ ---
+ -DSUBGHZ_CS_PIN=41
+ -DSUBGHZ_SCK_PIN=40
+ -DSUBGHZ_SI_PIN=16
+ -DSUBGHZ_SO_PIN=17
+ -DSUBGHZ_GDO_PIN=18
+
; ; --- JTAG ---
-DJTAG_SCAN_PINS="\"8, 18, 16, 17, 38, 40, 41\""
[env:t-embed-s3-cc1101]
-platform = espressif32
+platform = espressif32@~6.6.0
board = esp32-s3-devkitc-1
framework = arduino
monitor_speed = 115200
@@ -667,6 +715,7 @@ lib_deps =
sparkfun/SparkFun External EEPROM Arduino Library@^3.2.10
miq19/eModbus@^1.7.4
pstolarz/OneWireNg@^0.14.0
+ lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7
build_flags =
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
@@ -750,6 +799,13 @@ build_flags =
-DETHERNET_MOSI_PIN=18
-DETHERNET_IRQ_PIN=17
+ ; --- SUBGHZ ---
+ -DSUBGHZ_CS_PIN=43
+ -DSUBGHZ_SCK_PIN=44
+ -DSUBGHZ_SI_PIN=8
+ -DSUBGHZ_SO_PIN=18
+ -DSUBGHZ_GDO_PIN=17
+
; --- JTAG ---
-DJTAG_SCAN_PINS="\"43, 44, 8, 18\""
@@ -772,6 +828,7 @@ lib_deps =
sparkfun/SparkFun External EEPROM Arduino Library@^3.2.10
miq19/eModbus@^1.7.4
pstolarz/OneWireNg@^0.14.0
+ lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7
build_flags =
-D CONFIG_TINYUSB_ENABLED=1
-D CONFIG_TINYUSB_CDC_ENABLED=1
@@ -803,7 +860,7 @@ build_flags =
; --- HDUART ---
-DHDUART_BAUD=9600
- -DHDUART_PIN=17
+ -DHDUART_PIN=1
; --- I2C ---
-DI2C_SCL_PIN=6
@@ -856,5 +913,12 @@ build_flags =
-DETHERNET_MOSI_PIN=4
-DETHERNET_IRQ_PIN=5
+ ; --- SUBGHZ ---
+ -DSUBGHZ_CS_PIN=1
+ -DSUBGHZ_SCK_PIN=2
+ -DSUBGHZ_SI_PIN=3
+ -DSUBGHZ_SO_PIN=4
+ -DSUBGHZ_GDO_PIN=5
+
; --- JTAG ---
-DJTAG_SCAN_PINS="\"1, 2, 3, 4\""