* Save 128 byte by moving variable to stack
* Make usb mass storage buffer smaller on F2 processors and put into reuseablebuffer
- Lower USB mass storage buffer to 512 bytes per default on F2
targets, makes usb speed slightly slower ~600 kB/s instead ~700 KB/s
in my tests, saving 3584 bytes
- Save another ~300 bytes by putting that buffer into reusableBuffer
* Don't put id into reusuableBuffer
All uses of id can be on the stack as well. Makes no difference for ram usage but makes it safer to reuse reusableBuffer
* Only link cdc serial when needed
We always linked usb cdc even in non debug builds. CDC uses about ~600 byte of RAM for its buffers and structures.
* [firmware][ARM] Adjust some value limits for mix sources and update editing UI for LSs, CFs, & telem. bars:
* Increase timer limits to +/-8:59:59 when used with LSs, CFs, & bars;
* Increase Lua script output limits to +/-30K;
* Trim limits based on extended limit model setting;
* Limit TX voltage to 25.5;
* Limit TX time comparison value to 29:59m;
* Use proper GVar limits (user-configured), display precision, & unit in LSs & telem. bars;
* Display timer values properly with hours (instead of mmm:ss).
* [firmware] getTimerString() would fail with times >= 100min if hours weren't shown.
* Fix builds w/out GVars.
* Add firmware lun target for non EEPROM platforms
* Fix Fat fat tables and make FAT 1024 byte big
* Niceify some constants
* Cleanup (saves 1024 byte of flash) and fix reporting wrong Size of drive
* Silence compiler warning, set right size for flash on X12/X10
* Add firmware.txt/bootload.txt to virtual drive that displays version information
* Report also version of other component (bootloader/firmware)
* Show version also in bootloader and fix F4 platforms
* Save space on X7
* Fix X7 logic
* Compile fix for AVR
* avr-gcc does not like no newline after ifdef
* Really fix avr
* Switch backlight on when displaying a warning.
This is especially visible on the power off RSSI warning. This will also show the other warnings at start with backlight, even when blocklight is set to always off. But my X9D+ will switch its backlight on after boot once even with backlight on, so backlight=off is not so off as it seems.
* Rework power rssi code a bit
- Cleanup shutdown_confirm code
- allow x9d+ to be compiled as power button too to be able to test these things on the x9d+
- Fix shutoff after 10s in warning dialog on x9d
- Make warning dialog always turn on backlight
* Revert CMakeLists.txt
* [212x64] Main view toggle LS groups 1-32 and 33-64 with +/-/encoder. Closes#5476
* [212x64] Also allow encoder events in channels view for switching channels range (fix for X9E).
* Pad LS range numerals to 2 digits.
* POC for X9, requires -DBINDING_OPTIONS=YES
* There are apparently 4 valid choices
* - make BINDING_OPTIONS part of standard code
- adapt R9M EU LBT dialog to choice on bind
* - remove option from Companion
- cosmetics
* Compilation fixes