forked from btclock/btclock_v3
Fix boards
This commit is contained in:
parent
8ed4bb8aa6
commit
8d2edc40ca
3 changed files with 11 additions and 3 deletions
|
@ -9,6 +9,7 @@
|
||||||
"extra_flags": [
|
"extra_flags": [
|
||||||
"-DBOARD_HAS_PSRAM",
|
"-DBOARD_HAS_PSRAM",
|
||||||
"-DARDUINO_BTCLOCK",
|
"-DARDUINO_BTCLOCK",
|
||||||
|
"-DARDUINO_ESP32S3_DEV",
|
||||||
"-DIS_BTCLOCK_S3",
|
"-DIS_BTCLOCK_S3",
|
||||||
"-DARDUINO_USB_MODE=1",
|
"-DARDUINO_USB_MODE=1",
|
||||||
"-DARDUINO_RUNNING_CORE=1",
|
"-DARDUINO_RUNNING_CORE=1",
|
||||||
|
@ -18,6 +19,10 @@
|
||||||
"f_cpu": "240000000L",
|
"f_cpu": "240000000L",
|
||||||
"f_flash": "80000000L",
|
"f_flash": "80000000L",
|
||||||
"flash_mode": "qio",
|
"flash_mode": "qio",
|
||||||
|
"psram_type": "opi",
|
||||||
|
"espidf": {
|
||||||
|
"sdkconfig_path": "boards"
|
||||||
|
},
|
||||||
"hwids": [
|
"hwids": [
|
||||||
[
|
[
|
||||||
"0x303A",
|
"0x303A",
|
||||||
|
@ -25,7 +30,7 @@
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"mcu": "esp32s3",
|
"mcu": "esp32s3",
|
||||||
"variant": "btclock"
|
"variant": "esp32s3"
|
||||||
},
|
},
|
||||||
"connectivity": [
|
"connectivity": [
|
||||||
"bluetooth",
|
"bluetooth",
|
||||||
|
|
|
@ -14,7 +14,6 @@ data_dir = data/build_gz
|
||||||
platform = https://github.com/platformio/platform-espressif32.git
|
platform = https://github.com/platformio/platform-espressif32.git
|
||||||
framework = arduino, espidf
|
framework = arduino, espidf
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
upload_speed = 921600
|
|
||||||
monitor_filters = esp32_exception_decoder, colorize
|
monitor_filters = esp32_exception_decoder, colorize
|
||||||
board_build.filesystem = littlefs
|
board_build.filesystem = littlefs
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,10 @@ CONFIG_COMPILER_CXX_EXCEPTIONS=y
|
||||||
#CONFIG_BOOTLOADER_WDT_ENABLE=n
|
#CONFIG_BOOTLOADER_WDT_ENABLE=n
|
||||||
#CONFIG_TASK_WDT=n
|
#CONFIG_TASK_WDT=n
|
||||||
|
|
||||||
|
#Required for BTClock
|
||||||
|
#CONFIG_SPIRAM_MODE_OCT=y
|
||||||
|
#CONFIG_SPIRAM_MODE_QUAD=n
|
||||||
|
|
||||||
# Save RAM
|
# Save RAM
|
||||||
CONFIG_LWIP_IPV4=y
|
CONFIG_LWIP_IPV4=y
|
||||||
CONFIG_LWIP_IPV6=y
|
CONFIG_LWIP_IPV6=y
|
||||||
|
|
Loading…
Reference in a new issue