feat: Add OLED size build flag support and implement PowerManager for enhanced power management
This commit is contained in:
@@ -25,3 +25,73 @@ build_flags =
|
||||
-D PB_VERSION=\"1.0.0\"
|
||||
-D PB_HOSTNAME=\"faceplant\"
|
||||
-D PB_TZ=\"America/New_York\"
|
||||
-D PB_OLED_SIZE=130
|
||||
|
||||
[env:esp32-s3-oled-096]
|
||||
platform = espressif32
|
||||
board = esp32-s3-devkitc-1
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
lib_deps =
|
||||
adafruit/Adafruit GFX Library
|
||||
adafruit/Adafruit SH110X
|
||||
adafruit/Adafruit VEML7700 Library
|
||||
adafruit/Adafruit MPU6050
|
||||
adafruit/Adafruit MAX1704X
|
||||
bblanchon/ArduinoJson
|
||||
board_upload.flash_size = 16MB
|
||||
board_build.partitions = default_16MB.csv
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
build_flags =
|
||||
-D BOARD_HAS_PSRAM
|
||||
-D ARDUINO_USB_CDC_ON_BOOT=1
|
||||
-D PB_VERSION=\"1.0.0\"
|
||||
-D PB_HOSTNAME=\"faceplant\"
|
||||
-D PB_TZ=\"America/New_York\"
|
||||
-D PB_OLED_SIZE=96
|
||||
|
||||
[env:esp32-s3-oled-130]
|
||||
platform = espressif32
|
||||
board = esp32-s3-devkitc-1
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
lib_deps =
|
||||
adafruit/Adafruit GFX Library
|
||||
adafruit/Adafruit SH110X
|
||||
adafruit/Adafruit VEML7700 Library
|
||||
adafruit/Adafruit MPU6050
|
||||
adafruit/Adafruit MAX1704X
|
||||
bblanchon/ArduinoJson
|
||||
board_upload.flash_size = 16MB
|
||||
board_build.partitions = default_16MB.csv
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
build_flags =
|
||||
-D BOARD_HAS_PSRAM
|
||||
-D ARDUINO_USB_CDC_ON_BOOT=1
|
||||
-D PB_VERSION=\"1.0.0\"
|
||||
-D PB_HOSTNAME=\"faceplant\"
|
||||
-D PB_TZ=\"America/New_York\"
|
||||
-D PB_OLED_SIZE=130
|
||||
|
||||
[env:esp32-s3-oled-240]
|
||||
platform = espressif32
|
||||
board = esp32-s3-devkitc-1
|
||||
framework = arduino
|
||||
monitor_speed = 115200
|
||||
lib_deps =
|
||||
adafruit/Adafruit GFX Library
|
||||
adafruit/Adafruit SH110X
|
||||
adafruit/Adafruit VEML7700 Library
|
||||
adafruit/Adafruit MPU6050
|
||||
adafruit/Adafruit MAX1704X
|
||||
bblanchon/ArduinoJson
|
||||
board_upload.flash_size = 16MB
|
||||
board_build.partitions = default_16MB.csv
|
||||
board_build.arduino.memory_type = qio_opi
|
||||
build_flags =
|
||||
-D BOARD_HAS_PSRAM
|
||||
-D ARDUINO_USB_CDC_ON_BOOT=1
|
||||
-D PB_VERSION=\"1.0.0\"
|
||||
-D PB_HOSTNAME=\"faceplant\"
|
||||
-D PB_TZ=\"America/New_York\"
|
||||
-D PB_OLED_SIZE=240
|
||||
|
||||
Reference in New Issue
Block a user