mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-04 07:35:14 -04:00
Work on LoRa32 compatibility
This commit is contained in:
parent
2e613d9f67
commit
6fe250aca7
3 changed files with 53 additions and 0 deletions
13
Config.h
13
Config.h
|
@ -98,6 +98,19 @@
|
|||
const int pin_dio = 39;
|
||||
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;
|
||||
#elif BOARD_MODEL == BOARD_LORA32_V2_1
|
||||
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;
|
||||
#else
|
||||
#error An unsupported board was selected. Cannot compile RNode firmware.
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue