diff --git a/platformio.ini b/platformio.ini index 13a9819c..7cfea7ea 100644 --- a/platformio.ini +++ b/platformio.ini @@ -12,8 +12,8 @@ ; ---> SELECT TARGET PLATFORM HERE! <--- [platformio] ;env_default = lolin32lite, heltec, generic -env_default = generic -;env_default = heltec +;env_default = generic +env_default = heltec ;env_default = ttgov1 ;env_default = ttgov2 ;env_default = ttgov21 diff --git a/src/hal/ttgobeam.h b/src/hal/ttgobeam.h index 8984d203..827d9fdc 100644 --- a/src/hal/ttgobeam.h +++ b/src/hal/ttgobeam.h @@ -3,10 +3,12 @@ #define HAS_LORA 1 // comment out if device shall not send data via LoRa #define HAS_SPI 1 // comment out if device shall not send data via SPI #define CFG_sx1276_radio 1 // HPD13A LoRa SoC -#define BOARD_HAS_PSRAM // use extra 4MB extern RAM -#define HAS_LED GPIO_NUM_21 // on board green LED_G1 -//#define HAS_BUTTON GPIO_NUM_39 // on board button "BOOT" (next to reset button) !! seems not to work!! +#define BOARD_HAS_PSRAM // use extra 4MB extern RAM +#define HAS_LED GPIO_NUM_21 // on board green LED + +#define HAS_BUTTON GPIO_NUM_39 // on board button "BOOT" (next to reset button) + #define HAS_BATTERY_PROBE ADC1_GPIO35_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_7 #define BATT_FACTOR 2 // voltage divider 100k/100k on board #define HAS_GPS 1 // use on board GPS