- begin adding PSRAM support fix
This commit is contained in:
ZanzyTHEbar 2022-12-14 16:58:11 +00:00
parent 2a5c7b07d2
commit e46f4c29a1

View File

@ -206,22 +206,25 @@ board_build.partitions = min_spiffs.csv ; uncomment this to use the min_spiffs p
build_flags =
!python tools\autoversioning.py ; add build version to build as preprocessor defines
!python tools\git_rev.py ; add git revision to build as preprocessor defines
-DPSRAM_INIT_FAILURE=${esp_no_psram.noPSRAM} ; add psram error build flags
-DOTA_SERVER_PORT=${wifi.OTAServerPort} ; Set the OTA server
-DENABLE_ADHOC=${wifi.enableADHOC} ;
-DADHOC_CHANNEL=${wifi.adhocChannel} ;
-DWIFI_CHANNEL=${wifi.channel} ;
-DENABLE_OTA=${wifi.enableOTA} ;
-DENABLE_ADHOC=${wifi.enableADHOC}
-DADHOC_CHANNEL=${wifi.adhocChannel}
-DWIFI_CHANNEL=${wifi.channel}
-DENABLE_OTA=${wifi.enableOTA}
-DDEBUG_ESP_PORT=Serial ; set the debug port
-DCORE_DEBUG_LEVEL=4 ; set the debug level
'-DMDNS_HOSTNAME=${wifi.mDNSName}' ; Set the OTA password
'-DOTA_PASSWORD=${wifi.OTAPassword}' ; Set the OTA password
'-DWIFI_SSID=${wifi.ssid}' ; Set the users wifi network name
'-DWIFI_PASSWORD=${wifi.password}' ; Set the users wifi network password
'-DWIFI_AP_SSID=${wifi.ap_ssid}' ; Set the users wifi network name
'-DWIFI_AP_PASSWORD=${wifi.ap_password}' ; Set the users wifi network password
-DDEBUG_ESP_PORT=Serial ; set the debug port
-DCORE_DEBUG_LEVEL=4 ; set the debug level
-O2 ; optimize for speed
-DBOARD_HAS_PSRAM ; enable psram
-DASYNCWEBSERVER_REGEX ; enable regex in asyncwebserver
# Comment these out if you are not using psram
-DBOARD_HAS_PSRAM ; enable psram
-mfix-esp32-psram-cache-issue ; fix for psram
;build_unflags = -Os ; disable optimization for size