Fix radio module declaration for `NRF52_SERIES` in `variant.h`-files

1.2-legacy
Османов Владислав Юрьевич 2021-10-14 16:16:20 +03:00
rodzic 83eb94126b
commit 76791220b9
9 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -151,6 +151,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
*/
// RAK4630 LoRa module
#define USE_SX1262
#define SX126X_CS (42)
#define SX126X_DIO1 (47)
#define SX126X_BUSY (46)

Wyświetl plik

@ -178,6 +178,7 @@ External serial flash WP25R1635FZUIL0
* Lora radio
*/
#define USE_SX1262
#define SX126X_CS (0 + 24) // FIXME - we really should define LORA_CS instead
#define SX126X_DIO1 (0 + 20)
// Note DIO2 is attached internally to the module to an analog switch for TX/RX switching

Wyświetl plik

@ -57,6 +57,7 @@
#define WIRE_INTERFACES_COUNT 0
// GPIOs the SX1262 is connected
#define USE_SX1262
#define SX126X_CS 1 // aka SPI_NSS
#define SX126X_DIO1 (4)
#define SX126X_BUSY (5)

Wyświetl plik

@ -116,6 +116,9 @@ static const uint8_t SCK = PIN_SPI_SCK;
// I2C device addresses
#define I2C_ADDR_BQ27441 0x55 // Battery gauge
// SX1262 declaration
#define USE_SX1262
// CUSTOM GPIOs the SX1262
#define SX126X_CS (32)

Wyświetl plik

@ -136,6 +136,9 @@ static const uint8_t SCK = PIN_SPI_SCK;
// I2C device addresses
#define I2C_ADDR_BQ27441 0x55 // Battery gauge
// SX1262 declaration
#define USE_SX1262
// CUSTOM GPIOs the SX1262
#define SX126X_CS (32)

Wyświetl plik

@ -140,6 +140,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
#define EXTERNAL_FLASH_USE_QSPI
// CUSTOM GPIOs the SX1262MB2CAS shield when installed on the NRF52840-DK development board
#define USE_SX1262
#define SX126X_CS (32 + 8) // P1.08
#define SX126X_DIO1 (32 + 6) // P1.06
#define SX126X_BUSY (32 + 4) // P1.04

Wyświetl plik

@ -129,6 +129,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
#define PIN_WIRE_SCL (32)
// CUSTOM GPIOs the SX1262
#define USE_SX1262
#define SX126X_CS (10)
#define SX126X_DIO1 (20)
#define SX1262_DIO2 (26)

Wyświetl plik

@ -152,6 +152,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
#define PIN_WIRE_SCL (32)
// CUSTOM GPIOs the SX1262
#define USE_SX1262
#define SX126X_CS (0 + 10) // FIXME - we really should define LORA_CS instead
#define SX126X_DIO1 (0 + 20)
#define SX1262_DIO2 (0 + 26)

Wyświetl plik

@ -180,6 +180,7 @@ External serial flash WP25R1635FZUIL0
* Lora radio
*/
#define USE_SX1262
#define SX126X_CS (0 + 24) // FIXME - we really should define LORA_CS instead
#define SX126X_DIO1 (0 + 20)
// Note DIO2 is attached internally to the module to an analog switch for TX/RX switching