]> git.tnoah.ca Git - lora-radio.git/commitdiff
Updated board config
authorMark Qvist <mark@unsigned.io>
Fri, 3 May 2024 16:00:07 +0000 (18:00 +0200)
committerMark Qvist <mark@unsigned.io>
Fri, 3 May 2024 16:00:07 +0000 (18:00 +0200)
Boards.h
Device.h

index e4dec0b73cc7aa064053a627471e760289feb3db..e9c069e6d6221177f8bb4e2986e88ae3fd45d00e 100644 (file)
--- 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
     #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;
         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
       #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;
index b7a11a6ee736fc75c9ff768d1ee3387fadaa458f..e3548477d2a8b7dbbea165a7651c90b460bb3e50 100644 (file)
--- 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);