-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
60 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
software/firmware/source/SoftRF/src/platform/iomap/LilyGO_T3C6.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
/* ESP32-C6 */ | ||
#define SOC_GPIO_PIN_T3C6_CONS_RX 17 | ||
#define SOC_GPIO_PIN_T3C6_CONS_TX 16 | ||
|
||
// GNSS module (ext.) | ||
#define SOC_GPIO_PIN_T3C6_GNSS_RX 23 | ||
#define SOC_GPIO_PIN_T3C6_GNSS_TX 22 | ||
#define SOC_GPIO_PIN_T3C6_GNSS_PPS 21 | ||
|
||
// USB CDC/JTAG | ||
#define SOC_GPIO_PIN_T3C6_USB_DP 13 | ||
#define SOC_GPIO_PIN_T3C6_USB_DN 12 | ||
|
||
// SPI | ||
#define SOC_GPIO_PIN_T3C6_MOSI 0 | ||
#define SOC_GPIO_PIN_T3C6_MISO 1 | ||
#define SOC_GPIO_PIN_T3C6_SCK 6 | ||
#define SOC_GPIO_PIN_T3C6_SS 18 | ||
|
||
// SX1262 (S62F) | ||
#define SOC_GPIO_PIN_T3C6_RST 4 | ||
#define SOC_GPIO_PIN_T3C6_BUSY 3 | ||
#define SOC_GPIO_PIN_T3C6_DIO1 2 | ||
#define SOC_GPIO_PIN_T3C6_DIO2 5 | ||
#define SOC_GPIO_PIN_T3C6_ANT_RX 15 | ||
#define SOC_GPIO_PIN_T3C6_ANT_TX 14 | ||
|
||
// I2C (ext.) | ||
#define SOC_GPIO_PIN_T3C6_SDA 19 | ||
#define SOC_GPIO_PIN_T3C6_SCL 20 | ||
|
||
// NRF905 (NC) | ||
#define SOC_GPIO_PIN_T3C6_TXE 7 /* TBD */ | ||
#define SOC_GPIO_PIN_T3C6_CE 8 /* TBD */ | ||
#define SOC_GPIO_PIN_T3C6_PWR 9 /* TBD */ |