mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2024-10-01 03:15:39 -04:00
Updated board config
This commit is contained in:
parent
ee3ae3306d
commit
1514f4baa7
14
Boards.h
14
Boards.h
@ -79,6 +79,7 @@
|
|||||||
#define HAS_EEPROM false
|
#define HAS_EEPROM false
|
||||||
#define HAS_INPUT false
|
#define HAS_INPUT false
|
||||||
#define HAS_SLEEP false
|
#define HAS_SLEEP false
|
||||||
|
#define VALIDATE_FIRMWARE true
|
||||||
|
|
||||||
#if defined(ENABLE_TCXO)
|
#if defined(ENABLE_TCXO)
|
||||||
#define HAS_TCXO true
|
#define HAS_TCXO true
|
||||||
@ -254,15 +255,17 @@
|
|||||||
#elif BOARD_MODEL == BOARD_HELTEC32_V3
|
#elif BOARD_MODEL == BOARD_HELTEC32_V3
|
||||||
#define IS_ESP32S3 true
|
#define IS_ESP32S3 true
|
||||||
#define HAS_DISPLAY true
|
#define HAS_DISPLAY true
|
||||||
#define HAS_INPUT true
|
|
||||||
#define HAS_SLEEP true
|
|
||||||
#define HAS_BLUETOOTH false
|
#define HAS_BLUETOOTH false
|
||||||
#define HAS_BLE true
|
#define HAS_BLE true
|
||||||
#define HAS_CONSOLE false
|
#define HAS_CONSOLE false
|
||||||
#define HAS_EEPROM true
|
#define HAS_EEPROM true
|
||||||
|
#define HAS_INPUT true
|
||||||
|
#define HAS_SLEEP true
|
||||||
#define PIN_WAKEUP GPIO_NUM_0
|
#define PIN_WAKEUP GPIO_NUM_0
|
||||||
#define WAKEUP_LEVEL 0
|
#define WAKEUP_LEVEL 0
|
||||||
|
|
||||||
|
const int pin_btn_usr1 = 0;
|
||||||
|
|
||||||
#if defined(EXTERNAL_LEDS)
|
#if defined(EXTERNAL_LEDS)
|
||||||
const int pin_led_rx = 13;
|
const int pin_led_rx = 13;
|
||||||
const int pin_led_tx = 14;
|
const int pin_led_tx = 14;
|
||||||
@ -270,7 +273,6 @@
|
|||||||
const int pin_led_rx = 35;
|
const int pin_led_rx = 35;
|
||||||
const int pin_led_tx = 35;
|
const int pin_led_tx = 35;
|
||||||
#endif
|
#endif
|
||||||
const int pin_btn_usr1 = 0;
|
|
||||||
|
|
||||||
#define MODEM SX1262
|
#define MODEM SX1262
|
||||||
#define HAS_TCXO true
|
#define HAS_TCXO true
|
||||||
@ -351,6 +353,12 @@
|
|||||||
#define HAS_SD false
|
#define HAS_SD false
|
||||||
#define HAS_EEPROM true
|
#define HAS_EEPROM true
|
||||||
|
|
||||||
|
// #define HAS_INPUT true
|
||||||
|
// #define HAS_SLEEP true
|
||||||
|
// #define PIN_WAKEUP GPIO_NUM_0
|
||||||
|
// #define WAKEUP_LEVEL 0
|
||||||
|
// const int pin_btn_usr1 = 0;
|
||||||
|
|
||||||
const int pin_cs = 7;
|
const int pin_cs = 7;
|
||||||
const int pin_reset = 8;
|
const int pin_reset = 8;
|
||||||
const int pin_sclk = 5;
|
const int pin_sclk = 5;
|
||||||
|
2
Device.h
2
Device.h
@ -22,8 +22,6 @@
|
|||||||
#include "esp_partition.h"
|
#include "esp_partition.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define VALIDATE_FIRMWARE true
|
|
||||||
|
|
||||||
// Forward declaration from Utilities.h
|
// Forward declaration from Utilities.h
|
||||||
void eeprom_update(int mapped_addr, uint8_t byte);
|
void eeprom_update(int mapped_addr, uint8_t byte);
|
||||||
uint8_t eeprom_read(uint32_t addr);
|
uint8_t eeprom_read(uint32_t addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user