mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-04 07:35:14 -04:00
Add support for LoRa32 v2.0
This commit is contained in:
parent
551f0e3b18
commit
c9511f7294
10 changed files with 39 additions and 14 deletions
18
Config.h
18
Config.h
|
@ -99,12 +99,16 @@
|
|||
const int pin_led_rx = 14;
|
||||
const int pin_led_tx = 32;
|
||||
#elif BOARD_MODEL == BOARD_LORA32_V2_0
|
||||
// TODO: Add correct pins here
|
||||
// const int pin_cs = 18;
|
||||
// const int pin_reset = 23;
|
||||
// const int pin_dio = 26;
|
||||
// const int pin_led_rx = 2;
|
||||
// const int pin_led_tx = 25;
|
||||
const int pin_cs = 18;
|
||||
const int pin_reset = 12;
|
||||
const int pin_dio = 26;
|
||||
#if defined(EXTERNAL_LEDS)
|
||||
const int pin_led_rx = 15;
|
||||
const int pin_led_tx = 4;
|
||||
#else
|
||||
const int pin_led_rx = 23;
|
||||
const int pin_led_tx = 23;
|
||||
#endif
|
||||
#elif BOARD_MODEL == BOARD_LORA32_V2_1
|
||||
const int pin_cs = 18;
|
||||
const int pin_reset = 23;
|
||||
|
@ -208,4 +212,4 @@
|
|||
#define START_FROM_BROWNOUT 0x03
|
||||
#define START_FROM_JTAG 0x04
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue