Dependency updates, fixed config and README addition
This commit is contained in:
parent
cc22692992
commit
e93680a50e
3 changed files with 23 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
||||||
# BTClock v2
|
# BTClock v2
|
||||||
|
|
||||||
Improved code for BTClock with many features.
|
Improved code for BTClock with many features.
|
||||||
|
Don't forget to copy `config.h.example` to `config.h`. Not necessary to adapt it, since everything should be configurable through the WebUI.
|
||||||
|
|
||||||
## Software
|
## Software
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ monitor_filters = esp32_exception_decoder, colorize
|
||||||
extra_scripts = post:scripts/extra_script.py
|
extra_scripts = post:scripts/extra_script.py
|
||||||
lib_deps =
|
lib_deps =
|
||||||
bblanchon/ArduinoJson@^6.21.2
|
bblanchon/ArduinoJson@^6.21.2
|
||||||
fbiego/ESP32Time@^2.0.0
|
fbiego/ESP32Time@^2.0.1
|
||||||
zinggjm/GxEPD2@^1.5.2
|
zinggjm/GxEPD2@^1.5.2
|
||||||
adafruit/Adafruit MCP23017 Arduino Library@^2.3.0
|
adafruit/Adafruit MCP23017 Arduino Library@^2.3.0
|
||||||
adafruit/Adafruit NeoPixel@^1.11.0
|
adafruit/Adafruit NeoPixel@^1.11.0
|
||||||
|
@ -56,7 +56,7 @@ build_flags =
|
||||||
-D WITH_RGB_LED
|
-D WITH_RGB_LED
|
||||||
-D NEOPIXEL_COUNT=4
|
-D NEOPIXEL_COUNT=4
|
||||||
-DASYNCWEBSERVER_REGEX
|
-DASYNCWEBSERVER_REGEX
|
||||||
; -D WITH_BUTTONS
|
-D WITH_BUTTONS
|
||||||
-D ARDUINO_USB_CDC_ON_BOOT
|
-D ARDUINO_USB_CDC_ON_BOOT
|
||||||
-D HOSTNAME="\"btclock3\""
|
-D HOSTNAME="\"btclock3\""
|
||||||
-D CONFIG_ASYNC_TCP_PRIORITY=500
|
-D CONFIG_ASYNC_TCP_PRIORITY=500
|
||||||
|
@ -67,6 +67,7 @@ framework = arduino
|
||||||
board = lolin_s3_mini
|
board = lolin_s3_mini
|
||||||
board_build.partitions = partition.csv
|
board_build.partitions = partition.csv
|
||||||
build_flags =
|
build_flags =
|
||||||
|
-D NO_DISPLAY
|
||||||
-D IS_3C
|
-D IS_3C
|
||||||
-D IS_S3
|
-D IS_S3
|
||||||
-D CONFIG_FREERTOS_USE_TRACE_FACILITY
|
-D CONFIG_FREERTOS_USE_TRACE_FACILITY
|
||||||
|
@ -99,3 +100,19 @@ build_flags =
|
||||||
-D CONFIG_ASYNC_TCP_PRIORITY=500
|
-D CONFIG_ASYNC_TCP_PRIORITY=500
|
||||||
-DASYNCWEBSERVER_REGEX
|
-DASYNCWEBSERVER_REGEX
|
||||||
-D HOSTNAME="\"btclocks3d\""
|
-D HOSTNAME="\"btclocks3d\""
|
||||||
|
|
||||||
|
[env:esp32_c6]
|
||||||
|
platform = espressif32
|
||||||
|
board = esp32-s3-devkitc-1
|
||||||
|
board_build.partitions = partition.csv
|
||||||
|
;upload_protocol = esp-builtin
|
||||||
|
build_flags =
|
||||||
|
-D NO_DISPLAY
|
||||||
|
-D NO_MCP
|
||||||
|
-D IS_BW
|
||||||
|
-D WITH_RGB_LED
|
||||||
|
-D NEOPIXEL_COUNT=1
|
||||||
|
-D NEOPIXEL_PIN=38
|
||||||
|
-D CONFIG_ASYNC_TCP_PRIORITY=500
|
||||||
|
-DASYNCWEBSERVER_REGEX
|
||||||
|
-D HOSTNAME="\"btclocks3d\""
|
|
@ -20,3 +20,5 @@
|
||||||
|
|
||||||
#define DEFAULT_FG_COLOR GxEPD_WHITE
|
#define DEFAULT_FG_COLOR GxEPD_WHITE
|
||||||
#define DEFAULT_BG_COLOR GxEPD_BLACK
|
#define DEFAULT_BG_COLOR GxEPD_BLACK
|
||||||
|
|
||||||
|
#define I2C_DEV_ADDR 0x55
|
Loading…
Reference in a new issue