- Changed I2C scanning function to probe only expected device addresses, improving startup reliability. - Updated logging to provide clearer output for found and missing devices. - Modified I2C SDA and SCL pin assignments from 6 and 7 to 8 and 9, respectively, to accommodate hardware changes. - Added a timeout for I2C communication to enhance robustness.
28 lines
605 B
INI
28 lines
605 B
INI
[env:esp32-s3]
|
|
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
|
|
|
|
; board_build.filesystem = spiffs
|
|
|
|
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\"
|