-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RadioLib] build with LR1110 radio driver as well
- Loading branch information
Showing
7 changed files
with
163 additions
and
47 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
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
40 changes: 40 additions & 0 deletions
40
software/firmware/source/SoftRF/src/platform/iomap/Seeed_T1000.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,40 @@ | ||
|
||
/* Peripherals */ | ||
#define SOC_GPIO_PIN_CONS_T1000_RX _PINNUM(0, 17) // P0.17 | ||
#define SOC_GPIO_PIN_CONS_T1000_TX _PINNUM(0, 16) // P0.16 | ||
|
||
#define SOC_GPIO_PIN_GNSS_T1000_RX _PINNUM(0, 14) // P0.14 | ||
#define SOC_GPIO_PIN_GNSS_T1000_TX _PINNUM(0, 13) // P0.13 | ||
|
||
#define SOC_GPIO_PIN_GNSS_T1000_PPS SOC_UNUSED_PIN // TBD | ||
#define SOC_GPIO_PIN_GNSS_T1000_IRQ _PINNUM(1, 12) // P1.12 | ||
#define SOC_GPIO_PIN_GNSS_T1000_RST _PINNUM(1, 15) // P1.15 | ||
#define SOC_GPIO_PIN_GNSS_T1000_EN _PINNUM(1, 11) // P1.11 | ||
|
||
/* SPI */ | ||
#define SOC_GPIO_PIN_T1000_MOSI _PINNUM(1, 9) // P1.09 | ||
#define SOC_GPIO_PIN_T1000_MISO _PINNUM(1, 8) // P1.08 | ||
#define SOC_GPIO_PIN_T1000_SCK _PINNUM(0, 11) // P0.11 | ||
#define SOC_GPIO_PIN_T1000_SS _PINNUM(0, 12) // P0.12 | ||
|
||
/* LR1110 */ | ||
#define SOC_GPIO_PIN_T1000_RST _PINNUM(1, 10) // P1.10 | ||
#define SOC_GPIO_PIN_T1000_DIO1 _PINNUM(1, 1) // P1.01 | ||
#define SOC_GPIO_PIN_T1000_BUSY _PINNUM(0, 7) // P0.07 | ||
|
||
/* I2C */ | ||
#define SOC_GPIO_PIN_T1000_SDA _PINNUM(0, 9) // P0.26 ? | ||
#define SOC_GPIO_PIN_T1000_SCL _PINNUM(0, 10) // P0.27 ? | ||
|
||
/* button */ | ||
#define SOC_GPIO_PIN_T1000_BUTTON _PINNUM(0, 6) // P0.06 | ||
|
||
/* LED */ | ||
#define SOC_GPIO_LED_T1000_GREEN _PINNUM(0, 24) // P0.24 | ||
|
||
/* ADC */ | ||
#define SOC_GPIO_PIN_T1000_BATTERY _PINNUM(0, 2) // P0.02 | ||
|
||
/* buzzer */ | ||
#define SOC_GPIO_PIN_T1000_BUZZER _PINNUM(0, 25) // P0.25 | ||
#define SOC_GPIO_PIN_T1000_BUZZER_EN _PINNUM(1, 5) // P1.05 |
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
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