Work on LoRa32 compatibility

This commit is contained in:
Mark Qvist 2022-01-21 22:45:26 +01:00
parent 2e613d9f67
commit 6fe250aca7
3 changed files with 53 additions and 0 deletions

View file

@ -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