From 1514f4baa71aff6f5462778f45ab88f746136398 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 3 May 2024 18:00:07 +0200 Subject: [PATCH] Updated board config --- Boards.h | 16 ++++++++++++---- Device.h | 2 -- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Boards.h b/Boards.h index e4dec0b..e9c069e 100644 --- a/Boards.h +++ b/Boards.h @@ -79,6 +79,7 @@ #define HAS_EEPROM false #define HAS_INPUT false #define HAS_SLEEP false + #define VALIDATE_FIRMWARE true #if defined(ENABLE_TCXO) #define HAS_TCXO true @@ -254,15 +255,17 @@ #elif BOARD_MODEL == BOARD_HELTEC32_V3 #define IS_ESP32S3 true #define HAS_DISPLAY true - #define HAS_INPUT true - #define HAS_SLEEP true #define HAS_BLUETOOTH false #define HAS_BLE true #define HAS_CONSOLE false #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; + #if defined(EXTERNAL_LEDS) const int pin_led_rx = 13; const int pin_led_tx = 14; @@ -270,7 +273,6 @@ const int pin_led_rx = 35; const int pin_led_tx = 35; #endif - const int pin_btn_usr1 = 0; #define MODEM SX1262 #define HAS_TCXO true @@ -351,6 +353,12 @@ #define HAS_SD false #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_reset = 8; const int pin_sclk = 5; diff --git a/Device.h b/Device.h index b7a11a6..e354847 100644 --- a/Device.h +++ b/Device.h @@ -22,8 +22,6 @@ #include "esp_partition.h" #endif -#define VALIDATE_FIRMWARE true - // Forward declaration from Utilities.h void eeprom_update(int mapped_addr, uint8_t byte); uint8_t eeprom_read(uint32_t addr);