* enable PSRAM logging
* add extra functions for psram shared memroy handling
* CImageBasis objects still should used dynamic memory (eg. rawImage), haw ever tmpImage must be placed inside the shared memory
* Place all STBI allocs inside the shared memory
* The models are placed in the shared PSRAM reagion and must be allocated through the dedicated functions
* .
* renaming
* fix cast warning
* add flag to switch STBI PSRAM usage
* improve PSRAM shared handling
* reserve shared PSRAM as early as possible
* init logging eralier so we can use it in PSRAM shared alloc
* move Wifi_LWIP, BSS_SEG and MQTT Outbox into PSRAM to ffree internal memory
* Check if model fits into reserved shared memory
* Update code/components/jomjol_tfliteclass/CTfLiteClass.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_flowcontroll/ClassFlowControll.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_image_proc/CImageBasis.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_helper/psram.cpp
* Update code/components/jomjol_helper/psram.cpp
* .
* .
* .
* .
* Korrektur Merge Conflict in main.cpp
---------
Co-authored-by: CaCO3 <caco@ruinelli.ch>
Co-authored-by: jomjol <30766535+jomjol@users.noreply.github.com>
* centralize PSRAM usage (application code only)
* update logging
* update logging
* fix use after free
* initialize buffer
* free rgb_image before ussing it for new allocation
* use wrapper function
* switch log level to debug
* .
* undo adding free() calls
* .
* add names to all CImage instances
* .
* .
* .
* revert changes of stbi_image_free() with free_psram_heap() on the places where is is not in PSRAM
* .
* typos
* typo
* Added MQTT Outbox explanation/warning
* added CONFIG_SPIRAM_USE_MEMMAP explanation
---------
Co-authored-by: CaCO3 <caco@ruinelli.ch>
comment #define STBI_ONLY_JPEG as you do no want it in rolling but in rolling-minimize-firmware-size
delete old reference to DE
'''
#define AnalogFehler 3
#define AnalogToDigtalFehler 0.8
#define DigitalUnschaerfe 0.2
#define DigitalBand 3
#define DigitalAnalogerVorgaengerUebergangsbereich 2
#define DigitalUebergangsbereichVorgaenger 0.7 // 9.3 - 0.7
#define DigitalUebergangsbereichVorlauf 9.7
'''
* defines changes
* Finish #define move + #define STBI_ONLY_JPEGsave 2% of Flash
* remove the defines on the old places
* ClassFlowCNNGeneral in define.h
* revert to origin
* fix translation not ready