Skip to content

feat(board): add support for RAKwireless RAK3112 #11485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Prev Previous commit
Next Next commit
ci(pre-commit): Apply automatic fixes
  • Loading branch information
pre-commit-ci-lite[bot] authored Jul 2, 2025
commit 5c8f33c84e40dd5e6fd68a88768e0ad94eefb309
10 changes: 5 additions & 5 deletions variants/rakwireless_rak3112/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#define USB_VID 0x303a
#define USB_PID 0x1001

#define LED_GREEN 46
#define LED_BLUE 45
#define LED_GREEN 46
#define LED_BLUE 45

static const uint8_t LED_BUILTIN = LED_GREEN;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
Expand All @@ -26,7 +26,7 @@ static const uint8_t RX = 44;
static const uint8_t SDA = 9;
static const uint8_t SCL = 40;

#define WIRE1_PIN_DEFINED
#define WIRE1_PIN_DEFINED
static const uint8_t SDA1 = 17;
static const uint8_t SCL1 = 18;

Expand All @@ -35,7 +35,7 @@ static const uint8_t MOSI = 11;
static const uint8_t MISO = 10;
static const uint8_t SCK = 13;

#define LORA_ANT_SWITCH 4 // Antenna switch power control pin
#define LORA_ANT_SWITCH 4 // Antenna switch power control pin

#define LORA_SCK 5 // SX1262 SCK
#define LORA_MISO 3 // SX1262 MISO
Expand All @@ -47,4 +47,4 @@ static const uint8_t SCK = 13;
#define LORA_BUSY 48
#define LORA_IRQ LORA_DIO1

#endif /* Pins_Arduino_h */
#endif /* Pins_Arduino_h */