Merge pull request #11279 from Jason2866/patch-2

workaround for Platformio PSRAM issue...
This commit is contained in:
Theo Arends 2021-03-11 08:22:01 +01:00 committed by GitHub
commit 603b147ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -34,7 +34,9 @@ lib_ignore =
extends = env:tasmota32 extends = env:tasmota32
board = esp32cam board = esp32cam
board_build.f_cpu = 240000000L board_build.f_cpu = 240000000L
build_flags = ${common32.build_flags} -DFIRMWARE_WEBCAM board_build.flash_mode = qio
board_build.f_flash = 80000000L
build_flags = ${common32.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround -DFIRMWARE_WEBCAM
lib_extra_dirs = lib/libesp32, lib/lib_basic lib_extra_dirs = lib/libesp32, lib/lib_basic
[env:tasmota32-odroidgo] [env:tasmota32-odroidgo]
@ -45,7 +47,7 @@ board_build.flash_mode = qio
board_build.f_flash = 80000000L board_build.f_flash = 80000000L
upload_speed = 2000000 upload_speed = 2000000
board_build.partitions = esp32_partition_app1984k_spiffs12M.csv board_build.partitions = esp32_partition_app1984k_spiffs12M.csv
build_flags = ${common32.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -DFIRMWARE_ODROID_GO build_flags = ${common32.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround -DFIRMWARE_ODROID_GO
lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div, lib/lib_ssl, lib/lib_display lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div, lib/lib_ssl, lib/lib_display
[env:tasmota32-core2] [env:tasmota32-core2]
@ -56,7 +58,7 @@ board_build.flash_mode = qio
board_build.f_flash = 80000000L board_build.f_flash = 80000000L
upload_speed = 2000000 upload_speed = 2000000
board_build.partitions = esp32_partition_app1984k_spiffs12M.csv board_build.partitions = esp32_partition_app1984k_spiffs12M.csv
build_flags = ${common32.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -DFIRMWARE_M5STACK_CORE2 build_flags = ${common32.build_flags} -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround -DFIRMWARE_M5STACK_CORE2
lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div, lib/lib_ssl, lib/lib_display, lib/lib_audio lib_extra_dirs = lib/libesp32, lib/lib_basic, lib/lib_i2c, lib/lib_rf, lib/lib_div, lib/lib_ssl, lib/lib_display, lib/lib_audio
[env:tasmota32-bluetooth] [env:tasmota32-bluetooth]