mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-11-24 08:53:11 -05:00
Merge e7491b1eff into 7f868c6c28
This commit is contained in:
commit
15d3a89c93
3 changed files with 121 additions and 2 deletions
8
Boards.h
8
Boards.h
|
|
@ -712,18 +712,20 @@
|
|||
|
||||
#elif MCU_VARIANT == MCU_NRF52
|
||||
#if BOARD_MODEL == BOARD_RAK4631
|
||||
#define _PINNUM(port, pin) ((port) * 32 + (pin))
|
||||
#define HAS_EEPROM false
|
||||
#define HAS_DISPLAY true
|
||||
#define HAS_BLUETOOTH false
|
||||
#define HAS_BLE true
|
||||
#define HAS_CONSOLE false
|
||||
#define HAS_PMU false
|
||||
#define HAS_PMU true
|
||||
#define HAS_NP false
|
||||
#define HAS_SD false
|
||||
#define HAS_TCXO true
|
||||
#define HAS_RF_SWITCH_RX_TX true
|
||||
#define HAS_BUSY true
|
||||
#define HAS_INPUT true
|
||||
#define HAS_SLEEP true
|
||||
#define DIO2_AS_RF_SWITCH true
|
||||
#define CONFIG_UART_BUFFER_SIZE 6144
|
||||
#define CONFIG_QUEUE_SIZE 6144
|
||||
|
|
@ -733,7 +735,9 @@
|
|||
#define BLE_MANUFACTURER "RAK Wireless"
|
||||
#define BLE_MODEL "RAK4640"
|
||||
|
||||
const int pin_btn_usr1 = 9;
|
||||
#define PIN_VEXT_EN _PINNUM(1, 2)
|
||||
|
||||
const int pin_btn_usr1 = _PINNUM(0, 31);
|
||||
|
||||
// Following pins are for the sx1262
|
||||
const int pin_rxen = 37;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue