arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.8k stars 4.73k forks source link

Disable psram check to avoid "blinking" of GPIO 16/17 at startup #21282

Closed Jason2866 closed 3 months ago

Jason2866 commented 3 months ago

Description:

should fix #21266

Checklist:

NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass

jeroenst commented 3 months ago

I get a build error and I can't find the target "tasmota32-nopsram" in PlatformIo

Compiling .pio/build/tasmota32/src/tasmota.ino.cpp.o
In file included from /home/jeroen/git/Tasmota/tasmota/tasmota_xdrv_driver/xdrv_01_9_webserver.ino:64:
/home/jeroen/.platformio/packages/framework-arduinoespressif32/libraries/DNSServer/src/DNSServer.h:2:10: fatal error: AsyncUDP.h: No such file or directory
Jason2866 commented 3 months ago

You have to copy

; remove PSRAM support -> avoid "blinking" of GPIO 16/17 at boot
[env:tasmota32-nopsram]
extends                     = env:tasmota32
build_unflags               = ${env:tasmota32_base.build_unflags}
                              -DBOARD_HAS_PSRAM
build_flags                 = ${env:tasmota32_base.build_flags}
                              -DFIRMWARE_TASMOTA32
                              -DDISABLE_PSRAMCHECK
                              -DCODE_IMAGE_STR='"tasmota32-nopsram"'
                              -DOTA_URL='""'

in your platformio_tasmota_cenv.ini

After you have done restart VSC!