remove usage of PSRAM, to free IRAM, bump to 3.6.0
This commit is contained in:
		
							parent
							
								
									e5bc7d637e
								
							
						
					
					
						commit
						a35bee53b1
					
				@ -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,19 +91,17 @@ 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"
 | 
				
			||||||
    '-DCORE_DEBUG_LEVEL=${common.debug_level}'
 | 
					    '-D CORE_DEBUG_LEVEL=${common.debug_level}'
 | 
				
			||||||
    '-DLOG_LOCAL_LEVEL=${common.debug_level}'
 | 
					    '-D LOG_LOCAL_LEVEL=${common.debug_level}'
 | 
				
			||||||
    '-DPROGVERSION="${common.release_version}"'
 | 
					    '-D PROGVERSION="${common.release_version}"'
 | 
				
			||||||
    '-D LIBPAX_WIFI'
 | 
					    '-D LIBPAX_WIFI'
 | 
				
			||||||
    '-D LIBPAX_BLE'
 | 
					    '-D LIBPAX_BLE'
 | 
				
			||||||
    '-D LIBPAX_ARDUINO'
 | 
					    '-D LIBPAX_ARDUINO'
 | 
				
			||||||
    '-DUSE_ESP_IDF_LOG'
 | 
					    '-D USE_ESP_IDF_LOG'
 | 
				
			||||||
    '-DTAG=__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
 | 
				
			||||||
 | 
				
			|||||||
@ -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,19 +31,17 @@ 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"
 | 
				
			||||||
    '-DCORE_DEBUG_LEVEL=${common.debug_level}'
 | 
					    '-D CORE_DEBUG_LEVEL=${common.debug_level}'
 | 
				
			||||||
    '-DLOG_LOCAL_LEVEL=${common.debug_level}'
 | 
					    '-D LOG_LOCAL_LEVEL=${common.debug_level}'
 | 
				
			||||||
    '-DPROGVERSION="${common.release_version}"'
 | 
					    '-D PROGVERSION="${common.release_version}"'
 | 
				
			||||||
    '-D LIBPAX_WIFI'
 | 
					    '-D LIBPAX_WIFI'
 | 
				
			||||||
    '-D LIBPAX_BLE'
 | 
					    '-D LIBPAX_BLE'
 | 
				
			||||||
    '-D LIBPAX_ARDUINO'
 | 
					    '-D LIBPAX_ARDUINO'
 | 
				
			||||||
    '-DUSE_ESP_IDF_LOG'
 | 
					    '-D USE_ESP_IDF_LOG'
 | 
				
			||||||
    '-DTAG=__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
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user