* Add PR number to version string
* Testing another way
* Decide according to GitHub ref type how to parse and where to output.
Prioritize EDGETX_VERSION_TAG, if set, else resort to EDGETX_VERSION_SUFFIX, if set.
Adjust also firmware_version and boot_version strings and adjist bootloader title.
* Consider also B/W.
* B&W: omit GIT SHA if tagged, otherwise own line
Omit GIT SHA from version string if a tagged version.
Otherwise, show on own line since is too long for 128x64 B&W displays.
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
* Add codename to version string and to bootloader title.
* Use EDGETX_VERSION_SUFFIX instead of CODENAME
* use "dev" instead of "merge" and "custom" instead of "SB".
Changed to lower case for "nightly" and "release".
* Show TEST BUILD warning screen for all non release builds.
* Improved logic
* Removed TEST_BUILD_WARNING, reverted to "merge" and changed to "selfbuild".
CMake: Use ExternalProject_Add() to split by toolchain
Splits targets between native and cross-compiled targets, provides a cleaner solution to problems raised by compiling for example on Apple silicon, and better managing dependencies by allowing for object libraries in a cleaner way.
Imported from open-flysky/Flysky-OpenTX-Test-Branch
* companion: Don't nuke `stickDeadZone` setting
* Implement data storage properly
* Add missing check for NV14 storage struct sizes
* Formatting
* Use one less byte in the packed data struct
Thanks @raphaelcoeffic :)
* Move setting of stickDeadZone default
* Use a Choice combo rather than NumberEdit
* Good riddance magic number
* Also set default stick zone if setting is missing
* Teach tests about `STICK_DEAD_ZONE`
* Tweak choice width
* Cpn NV14 add stick dead zone to hardware and section labels
* Cpn NV14 align default pot names to radio
Co-authored-by: elecpower <neilh713@tpg.com.au>
* Allow trainer modes OFF and Master-Multi for all radios
* Change Trainer mode Off to the standard OFF
* fix: German for Trainer OFF, Master and Slave
* Added CN/TW translation and reduced TW text size
Added CN/TW translation and reduced TW text size.
Because the TW text causes the firmware to exceed the flash size, reduce the text size.
* Modify the STM32 BOR level on TX16S to avoid system failure in extreme cases
Modify the STM32 BOR level on TX16S to avoid system failure in extreme cases.
* Update cn.h.txt
* Update tw.h.txt
* Fix `LUA=N` compile breakage and tidyup on NV14
* Alignment and padding
Resolves#1751 but incomplete solution,
as the real cuplrit appears to somehow
be in `InternalModuleWindow`