display library select added
This commit is contained in:
1 parent
62d28c54b6
commit
c7441ad58a
18 files changed
+57
-17
No files matched your search
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board esp32dev
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _GENERIC_H
|
||||
#define _GENERIC_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 115200
|
||||
// board esp32dev
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _GENERIC_H
|
||||
#define _GENERIC_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board heltec_wifi_lora_32
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _HELTEC_H
|
||||
#define _HELTEC_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board heltec_wifi_lora_32_V2
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _HELTECV2_H
|
||||
#define _HELTECV2_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board lolin32
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _LOLINLORA_H
|
||||
#define _LOLINLORA_H
|
||||
|
||||
+7
-1
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board m5stack-core-esp32
|
||||
// display_library lib_deps_tft_display
|
||||
|
||||
#ifndef _M5CORE_H
|
||||
#define _M5CORE_H
|
||||
@@ -38,7 +39,12 @@
|
||||
#define HAS_LED NOT_A_PIN // no on board LED (?)
|
||||
#define HAS_BUTTON (39) // on board button A
|
||||
|
||||
#define HAS_IP5306 1
|
||||
// power management settings
|
||||
#define HAS_IP5306 1 // has IP5306 chip
|
||||
#define PMU_CHG_CURRENT 2 // battery charge current
|
||||
// possible values: 0:200mA, 1:400mA, *2:500mA, 3:600mA
|
||||
#define PMU_CHG_CUTOFF 0 // battery charge cutoff
|
||||
// possible values: *0:4.2V, 1:4.3V, 2:4.35V, 3:4.4V
|
||||
|
||||
// GPS settings
|
||||
#define HAS_GPS 1 // use on board GPS
|
||||
|
||||
+7
-1
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board m5stack-fire
|
||||
// display_library lib_deps_tft_display
|
||||
|
||||
#ifndef _M5FIRE_H
|
||||
#define _M5FIRE_H
|
||||
@@ -41,7 +42,12 @@
|
||||
#define HAS_RGB_LED SmartLed rgb_led(LED_SK6812, RGB_LED_COUNT, GPIO_NUM_15) // LED_SK6812 RGB LED on GPIO15
|
||||
#define HAS_BUTTON (39) // on board button A
|
||||
|
||||
#define HAS_IP5306 1
|
||||
// power management settings
|
||||
#define HAS_IP5306 1 // has IP5306 chip
|
||||
#define PMU_CHG_CURRENT 2 // battery charge current
|
||||
// possible values: 0:200mA, 1:400mA, *2:500mA, 3:600mA
|
||||
#define PMU_CHG_CUTOFF 0 // battery charge cutoff
|
||||
// possible values: *0:4.2V, 1:4.3V, 2:4.35V, 3:4.4V
|
||||
|
||||
// GPS settings
|
||||
#define HAS_GPS 0 // use on board GPS
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board featheresp32
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _OCTOPUS_H
|
||||
#define _OCTOPUS_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board ttgo-t-beam
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _TTGOBEAM_H
|
||||
#define _TTGOBEAM_H
|
||||
|
||||
+11
-5
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board ttgo-t-beam
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _TTGOBEAM_H
|
||||
#define _TTGOBEAM_H
|
||||
@@ -29,13 +30,18 @@ Reset -> reset device
|
||||
#define HAS_LORA 1 // comment out if device shall not send data via LoRa
|
||||
#define CFG_sx1276_radio 1 // HPD13A LoRa SoC
|
||||
#define HAS_BUTTON GPIO_NUM_38 // middle on board button
|
||||
#define HAS_PMU 1 // AXP192 power management chip
|
||||
#define PMU_INT GPIO_NUM_35 // AXP192 interrupt
|
||||
#define PMU_CHGC AXP1XX_CHARGE_CUR_1000MA // AXP102 battery charge current
|
||||
// possible AXP192 battery charge current values (mA):
|
||||
// 100/190/280/360/450/550/630/700/780/880/960/1000/1080/1160/1240/1320
|
||||
#define HAS_LED NOT_A_PIN
|
||||
|
||||
// power management settings
|
||||
#define HAS_PMU 1 // has AXP192 chip
|
||||
#define PMU_INT GPIO_NUM_35 // battery interrupt
|
||||
#define PMU_CHG_CURRENT AXP1XX_CHARGE_CUR_1000MA // battery charge current
|
||||
// possible values (mA):
|
||||
// 100/190/280/360/450/550/630/700/780/880/960/1000/1080/1160/1240/1320
|
||||
#define PMU_CHG_CUTOFF AXP202_TARGET_VOL_4_2V // battery charge cutoff
|
||||
// possible values (V):
|
||||
// 4_1/4_15/4_2/4_36
|
||||
|
||||
// GPS settings
|
||||
#define HAS_GPS 1 // use on board GPS
|
||||
#define GPS_SERIAL 9600, SERIAL_8N1, GPIO_NUM_34, GPIO_NUM_12 // UBlox NEO 6M
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board esp32dev
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _TTGOFOX_H
|
||||
#define _TTGOFOX_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 115200
|
||||
// board ttgo-lora32-v1
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _TTGOV1_H
|
||||
#define _TTGOV1_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board ttgo-lora32-v1
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _TTGOV2_H
|
||||
#define _TTGOV2_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board esp32dev
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _TTGOV21NEW_H
|
||||
#define _TTGOV21NEW_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board esp32dev
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _TTGOV21OLD_H
|
||||
#define _TTGOV21OLD_H
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// clang-format off
|
||||
// upload_speed 921600
|
||||
// board lolin32
|
||||
// display_library lib_deps_oled_display
|
||||
|
||||
#ifndef _WEMOS32OLED_H
|
||||
#define _WEMOS32OLED_H
|
||||
|
||||
Reference in new issue
Block a user