* Serial2 changes:
* stm32 driver moved to common dir.
* earlier start of driver (Taranis)
* wait for free buffer time limited
USB changes:
* Upgrade to ST USB-Host-Device_Lib_V2.2.0 (from V2.1.0) - this fixed a problem with USB serial #4086)
* other fixes for #4086
* USB-Host-Device_Lib: renamed directory to V2.2.0 (from V2.1.0)
* Better memory stats (CLI)
* Bitmap buffer overflow check added
* Lua bitmap improvements
* Proper handling of symbolic links in simulator
* S6R Lua script fixes:
* added progress screen while loading bitmaps
* memory for bitmaps is now freed when leaving the script
* S6R Lua script: improved bitmap loading
* * Lua Themes and Widgets moved to separate file and separate Lua state
* Stand-alone, mixer and function scripts now behave the same as on Taranis (restarted after the stand-alone script was run)
* both Lua states are independent: Themes and Widgets is initialized only at the start, the other one is initialized before and after the stand-alone script is run
* Better leak test and report in BitmapBuffer
* Re #3318: Lua compiler enabled in simu and Companion simulator. Usage:
* any time <xxx>.lua file is about to be loaded and if file <xxx>.lua.src exists:
* load contents of <xxx>.lua.src
* compile Lua code
* save compiled code into <xxx>.lua (effectively overwrites existing file)
* immediately following the compilation the real file loading is done from <xxx>.lua (which by now contains compiled Lua bytecode)
Also use SNR instead RSSI for FlySky since SNR gives a better indication of signal quality and also our current implementation of RSSI warning cannot really handle negative values
* Reduce model name size until they fit into the buffer
* SMLSIZE is better (but cut is still needed)
* Rework screen layout to handle up to 15 chars
* Allow for the two scroolbars (models and cats)
* Remove 'static' from bitmapbuffer that where causing issues when changing theme. I have checked that this does not create extra sdcard access
* Cosmetics
* Move calibration bitmaps to theme
* Overlaping PR
* There no theme changing during shutdown
* Cosmetics
* [X7D] Various fixes
[Others]
- Fixes the Mixer / Inputs MOVE / COPY problem on X9E
- Adds the copy/paste/rename feature in SDCARD menu on X7D/SKY9X
- Merges some duplicated code using the new directory structure
- Cosmetics
* Models notes where overwritten before even having a chance to be displayed
* Models notes where overwritten before even having a chance to be displayed (reverted from commit 0834894b61ed527c3c65d6356793a08ff6e3be6a)
* Delay the checks until after the main menu is launched to avoid the model notes to be overwritten even before appearing