remove usage of PSRAM, to free IRAM, bump to 3.6.0

This commit is contained in:
cyberman54 2023-05-20 15:45:18 +02:00
parent e5bc7d637e
commit a35bee53b1
2 changed files with 18 additions and 22 deletions

View File

@ -46,7 +46,7 @@ description = Paxcounter is a device for metering passenger flows in realtime. I
[common] [common]
; for release_version use max. 10 chars total, use any decimal format like "a.b.c" ; for release_version use max. 10 chars total, use any decimal format like "a.b.c"
release_version = 3.5.0 release_version = 3.6.0
; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running! ; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running!
; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose ; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose
debug_level = 3 debug_level = 3
@ -54,7 +54,7 @@ extra_scripts = pre:src/build.py
otakeyfile = ota.conf otakeyfile = ota.conf
lorakeyfile = loraconf.h lorakeyfile = loraconf.h
lmicconfigfile = lmic_config.h lmicconfigfile = lmic_config.h
platform_espressif32 = espressif32@6.0.1 platform_espressif32 = espressif32@6.3.0
monitor_speed = 115200 monitor_speed = 115200
upload_speed = 115200 ; set by build.py and taken from hal file upload_speed = 115200 ; set by build.py and taken from hal file
lib_deps_lora = lib_deps_lora =
@ -91,7 +91,7 @@ lib_deps_all =
${common.lib_deps_gps} ${common.lib_deps_gps}
${common.lib_deps_sensors} ${common.lib_deps_sensors}
${common.lib_deps_ledmatrix} ${common.lib_deps_ledmatrix}
build_flags_basic = build_flags_all =
-include "src/paxcounter.conf" -include "src/paxcounter.conf"
'-D CORE_DEBUG_LEVEL=${common.debug_level}' '-D CORE_DEBUG_LEVEL=${common.debug_level}'
'-D LOG_LOCAL_LEVEL=${common.debug_level}' '-D LOG_LOCAL_LEVEL=${common.debug_level}'
@ -101,9 +101,7 @@ build_flags_basic =
'-D LIBPAX_ARDUINO' '-D LIBPAX_ARDUINO'
'-D USE_ESP_IDF_LOG' '-D USE_ESP_IDF_LOG'
'-D TAG=__FILE__' '-D TAG=__FILE__'
build_flags_all = '-U BOARD_HAS_PSRAM'
${common.build_flags_basic}
-mfix-esp32-psram-cache-issue
[env] [env]
framework = arduino framework = arduino

View File

@ -10,7 +10,7 @@ description = Paxcounter is a device for metering passenger flows in realtime. I
[common] [common]
; for release_version use max. 10 chars total, use any decimal format like "a.b.c" ; for release_version use max. 10 chars total, use any decimal format like "a.b.c"
release_version = 3.5.0 release_version = 3.6.0
; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running! ; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running!
; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose ; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose
debug_level = 3 debug_level = 3
@ -18,7 +18,7 @@ extra_scripts = pre:src/build.py
otakeyfile = ota.conf otakeyfile = ota.conf
lorakeyfile = loraconf.h lorakeyfile = loraconf.h
lmicconfigfile = lmic_config.h lmicconfigfile = lmic_config.h
platform_espressif32 = espressif32@6.0.1 platform_espressif32 = espressif32@6.3.0
monitor_speed = 115200 monitor_speed = 115200
upload_speed = 115200 ; set by build.py and taken from hal file upload_speed = 115200 ; set by build.py and taken from hal file
lib_deps_all = lib_deps_all =
@ -31,7 +31,7 @@ lib_deps_all =
mathertel/OneButton @ ^2.0.3 mathertel/OneButton @ ^2.0.3
256dpi/MQTT @ ^2.5.1 256dpi/MQTT @ ^2.5.1
ricmoo/QRCode @ ^0.0.1 ricmoo/QRCode @ ^0.0.1
build_flags_basic = build_flags_all =
-include "src/paxcounter.conf" -include "src/paxcounter.conf"
'-D CORE_DEBUG_LEVEL=${common.debug_level}' '-D CORE_DEBUG_LEVEL=${common.debug_level}'
'-D LOG_LOCAL_LEVEL=${common.debug_level}' '-D LOG_LOCAL_LEVEL=${common.debug_level}'
@ -41,9 +41,7 @@ build_flags_basic =
'-D LIBPAX_ARDUINO' '-D LIBPAX_ARDUINO'
'-D USE_ESP_IDF_LOG' '-D USE_ESP_IDF_LOG'
'-D TAG=__FILE__' '-D TAG=__FILE__'
build_flags_all = '-U BOARD_HAS_PSRAM'
${common.build_flags_basic}
-mfix-esp32-psram-cache-issue
[env] [env]
framework = arduino framework = arduino