Commit Graph
9939 Commits
Author SHA1 Message Date
Raphael CoefficandGitHub 26262c4c92 fix: stack buffer overflow in PreviewWindow::drawTime (#1945) 2022-05-07 21:34:29 +10:00
Raphael CoefficandPeter Feerick 7806d5f892 Crossfire: add barometer altitude sensor 2022-05-07 19:25:17 +10:00
RistoandGitHub 60fbe5eddb fix(t16): Set the same highest brown-out threshold level for all T16 family radios (#1906)
* Set the same highest BOR level for all T16 family radios

* Add stm32f4xx_flash.c to T16 and T18
2022-05-04 20:38:07 +10:00
eshifriandGitHub 87021209b3 fix(colorlcd): EM crash when clearing Model Category name (#1897) (#1925)
* Merge branch 'main' into eshifri/preserve_current_rebase

* Initialize category name to zero. Without it KEY_ENTER adds garbage.
2022-05-04 18:15:24 +10:00
RistoandGitHub b9d9f61456 feat(T16,T18): Add support for USART6/AUX2, incl. internal GPS, if Bluetooth is not enabled (#1915)
Adds USART6/AUX2 support also to Jumper T16 & T18. TX and RX lines are accessible via internal FrSky Bluetooth module pads on the mainboard. The USART6/AUX2 serial port functionality is usable more generic on these radios as well and not limited to Bluetooth only.
E.g. radio GPS is supported after this change (as are further serial port modes).
Only if firmware is explicitly built with -DBLUETOOTH=YES, USART6 will be dedicated to Bluetooth (as is the case also e.g. with TX16S).
2022-05-01 13:38:40 +02:00
Raphael CoefficandGitHub 8c0c667ab7 fix(compilation): Use install(DIRECTORY...) instead of FILES so all simulators packaged (#1912)
This allows the list of files to be resolved at the last moment versus when cmake is executed first.
2022-04-28 15:10:09 +10:00
Peter FeerickandGitHub 3d89f73394 fix: Radio Settings/SYS module version info lockup (#1901)
Fix SYS>VERSION>Modules / RX version - and pressing  "PAGE>" or "PAGE<"
and then press enter to EXIT, could result on EM.
2022-04-27 11:08:07 +10:00
Peter FeerickandGitHub 5957745518 fix: XJT Lite module type being replaced with XJT (#1904)
Fixes #1899
2022-04-27 10:58:34 +10:00
Peter FeerickandGitHub 3493d69c5b chore: Further tweaks to version string (#1895)
* fix: Only define SUFFIX if PR or BRANCH build
Also, only define `VERSION_TAG` if VERSION_TAG exists.

* fix: Omit GIT SHA for colorlcd also if a tagged build
2022-04-26 10:32:01 +10:00
Jim TaylorandGitHub 0514ed2b99 fix(compilation): Find libclang on systems that use /usr/lib64 (#1890) 2022-04-25 15:36:10 +10:00
ddad99eab1 feat: Add PR number to version string on PR builds (#1887)
* 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>
2022-04-25 11:42:19 +10:00
Peter Feerick 2a3fc748bb feat: Better indicate release and development versions via version suffix (#1850)
* 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".
2022-04-24 14:26:56 +10:00
Peter FeerickandGitHub f5b1b53294 feat(TX16S): User options for AUX1/AUX2 serial port power (ON/OFF)
User controllable serial port power for TX16S
2022-04-24 11:53:31 +10:00
Peter FeerickandGitHub 0fabd8c601 build(cmake): Allow spliting of toolchains, which will help with multi-platform support
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.
2022-04-24 10:29:31 +10:00
rotorman fa5b718579 Bugfix: serial power state executed on power-up irrespective of the serial mode selected. 2022-04-23 17:01:59 +02:00
rotorman bd80f7d454 Remove obsolete code. 2022-04-23 15:24:32 +02:00
RistoandGitHub a873bb1dda On software controllable serial power pins, keep power off during bootloader (#1882) 2022-04-23 14:58:43 +02:00
WilhelmandGitHub 7a6d6239b5 feat(X12S): Add support for touch screen mod (#1779)
Adds support of RadioMaster TX16S touch screen on FrSky X12S radio.
2022-04-23 12:22:47 +02:00
Peter Feerick 6395cf4b33 Ignore python compiled bytecode 2022-04-23 18:15:23 +10:00
rotorman db8c38d4c7 Use power port string from translations 2022-04-22 13:53:43 +02:00
rotorman ae265b6f94 Bugfix missing YAML padding. 2022-04-20 19:32:23 +02:00
rotorman 7e0eadd743 Save some flash on radios w/o software controllable serial port power supply pins. 2022-04-20 14:02:19 +02:00
rotorman 5682286173 Bugfix. Darn, tested locally building only for TX16S. 2022-04-19 13:03:31 +02:00
rotorman 62f328b976 Changed power bit to MSBit as requested. 2022-04-19 12:58:56 +02:00
rotorman 084da41dc9 Limit to TX16S only. 2022-04-19 12:53:45 +02:00
RistoandGitHub ea24d0fb1e Indent 2022-04-19 09:22:18 +02:00
RistoandGitHub cdef0d6baf improvement: Change VCP to USB-VCP in the UI (#1849) 2022-04-19 14:20:30 +10:00
rotorman b1a3bc834f User controllable serial port power.
Thx to @raphaelcoeffic for numerous tips with YAML.
Tested with TX16S mkII.
2022-04-18 13:19:33 +02:00
Raphael CoefficandRaphael Coeffic f39f7a87ed Use static MPM protolist on simu
Resolves #1793
2022-04-18 10:18:17 +02:00
zyrenandGitHub 97d26b6088 chore: CN & TW Translation for Open Channel Monitor (#1817)
* Improved CN & TW Translation

* Improved CN & TW Translation for abbreviated content
2022-04-17 12:47:09 +10:00
Bryan MaylandandPeter Feerick 85d60a94ed fix: Some missing colorlcd gui if GPS on AUX1 (#1835)
* Radio Setup missing GPS items
* Statistics missing GPS info
2022-04-16 13:25:15 +10:00
Raphael CoefficandGitHub ddf011ff12 fix: Remove offset when copying timer name (#1832)
Resolves #1816
2022-04-15 18:55:29 +10:00
Peter Feerick 0a8fd28cff fix: Timer start value not saved when changed
Resolves #1821
2022-04-15 18:47:24 +10:00
Peter Feerick 25b2e140d3 fix: Create TEMPLATES & PERS_TEMPL dirs if missing 2022-04-15 17:31:10 +10:00
Jesper FrickmannandGitHub c8c134d52d fix: colorlcd - Resolve focus issue when launching lua when creating new model (#1825) 2022-04-14 10:05:42 +10:00
d9b51f8ecf feat: Deadzone option for NV14 sticks (#1777)
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>
2022-04-06 10:30:20 +10:00
BatambatamandGitHub 9d27a6923c fix: Display FS switch names and symbol (#1804) 2022-04-05 21:17:28 +10:00
Neil HorneandGitHub c8e9ca0a32 fix: Companion trainer modes OFF and Master-Multi available for all radios (#1806)
* 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
2022-04-05 20:16:19 +10:00
Peter FeerickandGitHub b6dd2fe6bd colorlcd: Left align input names on Model Inputs tab (#1775) 2022-04-05 18:29:31 +10:00
Peter FeerickandGitHub ee5226bb61 fix: Use setAvailableHandler to filter blMode menu (#1798) 2022-04-05 18:19:59 +10:00
eshifriandGitHub fe8cd4244b fix: Reduce chance of input view jumping to first line after deleting input (#1753)
Is not a complete fix as noted in the PR comments as focus isn't actually changed, but an incremental improvement for now.
2022-04-05 15:10:23 +10:00
Peter Feerick c495606f75 fix: Close f_open handle if background image found 2022-04-04 09:11:10 +10:00
Raphael Coeffic c11d7d58ae Moved FreeRTOS to an object library
This also allows for reducing the propagated includes and thus avoid name clashes to FreeRTOS.
2022-04-03 17:50:53 +02:00
Raphael Coeffic 93b8bf129c Moved FreeRTOS to submodule (v10.4.6) 2022-04-03 17:01:58 +02:00
Raphael Coeffic 581cb257c6 static_assert without message is C++17 2022-04-03 07:40:30 +02:00
Peter FeerickandGitHub d7d1e446bd fix: Only use delayed failsafe check with MPM (#1786) 2022-04-03 09:17:07 +10:00
Raphael CoefficandGitHub d8075cbabb fix: Internal module setting and applying post load fixes on radio settings (#1787) 2022-04-02 21:28:04 +10:00
Raphael Coeffic 969c04e815 Cleanup and allow for setting ARM_TOOLCHAIN_DIR via command line 2022-04-01 08:56:25 +02:00
Raphael Coeffic d0a5b958e1 Small fixes 2022-04-01 08:56:25 +02:00
Raphael Coeffic a3c92632f5 Print only errors and only to stderr 2022-04-01 08:56:25 +02:00