Commit Graph
18437 Commits
Author SHA1 Message Date
philmozandGitHub 2c47d5440c fix(ui): Tweak mixer overview layout for long names (#2851)
* Fix Mixer layout on color lcd screen to accommodate long input names.
* Adjust layout for portrait orientation.
2022-12-14 19:33:16 +10:00
philmozandGitHub 650406db52 fix(color): EM triggered when checking if modelID unique in certain instances (#2845)
Cast comparison value to int to avoid signed / unsigned comparison error if (curr - warn_buf) > 48.
2022-12-14 19:18:34 +10:00
c505f9eb01 fix(sim): Fix for 2POS switch logic affected by 6POS switch change (#2860)
* Fix 2POS switch logic in simulator. Recent change for 6POS switch broke the 2POS switches.

* Rework switch and pot controls in the simulator ensure consistent values, avoid extraneous events in Qt and, hopefully, simplify the code.

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-14 18:57:01 +10:00
Raphael CoefficandGitHub 22e51fb6d0 fix(simu): Do not use "update" mode for opening read-only files (#2846) 2022-12-14 18:42:25 +10:00
Raphael CoefficandGitHub 06c359f096 feat(ACCESS): Configure AUX serial port as "External module" (#2562)
* Enable RX DMA on external module USART

* feat(ACCESS): configure AUX serial port as "External module" (#2562)

This allows configuring the external access mod on runtime rather than by compilation option.

* fix: fetch external module driver
2022-12-14 18:41:32 +10:00
Peter FeerickandGitHub efe2ddd2b1 fix(ci): MacOS Companion python clang pkg misisng 2022-12-14 18:16:45 +10:00
Raphael CoefficandGitHub 48be7c263b chore(cmake): CMake cleanup and simplifications (#2620)
* CMake cleanup and simplifications

* Position Independent Code is need for radiolib_native

* Some more cleanup & repair

* Fix SIMU_SRC scope issue

* fix: avoid warnings due to assembler statements from StdPeriph on arm64 native
2022-12-12 13:58:27 +10:00
rotorman 1bf415544f Limit CMake object file path length under Windows to fix building natively e.g. under MSYS2. Thx to @raphaelcoeffic for the tip: https://cmake.org/cmake/help/latest/variable/CMAKE_OBJECT_PATH_MAX.html 2022-12-11 15:01:18 +01:00
Raphael CoefficandGitHub d417404187 fix(cz): Add Latin1 Extended-A (0x100-0x17F) (#2841)
Fixes #2811
2022-12-11 15:18:11 +10:00
Neil HorneandGitHub 6f8fb7ca92 cpn(fix): set default voice language to en (#2834) 2022-12-11 12:13:06 +10:00
philmozandGitHub 1b0dab9d84 feat(sim): Forced style for POT/6POS knobs on MacOS for legibility (#2840) 2022-12-11 11:43:37 +10:00
b77bdba9a1 feat(cpn): Force light mode UI on MacOS for legibility (#2839)
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-11 11:43:06 +10:00
a8bdf0c269 fix(cpn): Not saving on MacOS unless .etx in filename (#2830)
MacOS companion does not save models if ".etx" extension not in filename.

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-11 11:42:09 +10:00
Peter Feerick 62bfb95838 fix(translation): Fix typo in CZ
Resolves #2843
2022-12-11 11:06:32 +10:00
f67b3257c1 fix(sim): Consistent steps for 6POS (#2831)
* Fix for issue #2827.
Ensure consistent values for the TX16, 6 position switch, in the simulator.

* Adjust 'value' to achieve alignment of raw values to step positions.

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-11 10:43:09 +10:00
raphaelcoefficandRaphael Coeffic 78f75c5656 chore: remove useless commented out defs 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic f881d7e11c PPM trainer output: update delay on each cycle 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 2254d04643 Fix timer channels 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 57842f1eb6 More fixes for F4 targets 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 7dfda148d1 Fix X12S includes 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 07db986d6a More cleanup 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 931be07850 Fix F2 system file 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 4b2c30db3c Finally removed StdPeriph EXTI driver 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 5219dd606d fix(f2): F2 bootloader now requires HAL/LL as well. 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 84d8075794 Generic EXTI driver now configures & enables trigger 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic ef147671ef Taranis: SBUS trainer driver for external module 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 4eae312cff Taranis hal.h cleanup 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 042d5091f2 HAL/LL: Generic EXTI & trainer driver
Changes:
- generic EXTI driver
- generic trainer driver
- relocated rotary encoder timer (simple 100us delay) from TIM4 to TIM12
- taranis & horus use now TIM4 for trainer pulses
- serial driver handles periph clocks for UARTs

TODO:
- SBUS on heartbeat pin (USART or soft-serial)
2022-12-10 13:37:31 +01:00
philmozandGitHub d4cd3d0ddf fix(color): Fix top bar timer widget names sometimes having garbage characters (#2835)
Limit length of name text drawn in small size timer widget to prevent random characters appearing
2022-12-10 15:48:36 +10:00
Neil HorneandGitHub 2a882c8499 fix(cpn): ACCESS owner registration id validation (#2687)
* fix(cpn): ACCESS owner registration id validation (#2672)

* Allow registration id for internal ISRM module

* Always display owner id
2022-12-10 15:16:58 +10:00
RistoandGitHub 1860233fb5 chore: Remove obsolete functions (#2826) 2022-12-07 20:28:41 +10:00
Peter Feerick a1e8e0933f fix(translation): Add missing JP translations 2022-12-07 15:17:21 +10:00
Neil HorneandGitHub 85c098f11c cpn(fix): Release list order use version when available otherwise use date (#2823) 2022-12-07 09:37:14 +10:00
Malte LangermannandGitHub 5d3e37e08c chore(color): Update Special Functions edit screen to LVGL (#2745) 2022-12-06 20:05:34 +10:00
1fe9de6d79 feat(color): Display current stick position on CurveEdit screen (#2580)
* Display current stick position on the CurveEdit screen

* auto source selection

* Display current stick position on the CurveEdit screen

* auto source selection

* unlock source when entering directly
 from model menu.

* Whitespace

* Git EoF newline

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-12-06 20:04:47 +10:00
Raphael CoefficandGitHub 241c5e6925 chore(cpn): Update yaml-cpp submodule to get rid of warnings (#2751) 2022-12-06 19:46:54 +10:00
Neil HorneandGitHub 1bb48a087b chore(cpn): Remove some compiler warnings (#2752) 2022-12-06 19:45:39 +10:00
ulfhedlundandGitHub 3a32f8fd3d chore(translation): Make "Check FM Trims" tranlsatable on colorlcd (#2800)
* Check FM Trims translateable

* Check FM Trims translated for color radios

TR_CHECKTRIMS separated for BW and color radios.

* Updated TR_CHECKTRIMS for color radio

* Updated TR_CHECKTRIMS for color radio

* Updated TR_CHECKTRIMS for color radios

* Minor format change

* Updated TR_CHECKTRIMS for color radios

* Updated TR_CHECKTRIMS for color radios

* Updated TR_CHECKTRIMS

* Minor change only

* Updated TR_CHECKTRIMS for color radios

* Corrected minor mistake

* Updated TR_CHECKTRIMS for color radios

* Update jp.h

* Update cz.h

Changed octal characters in TR_CHECKTRIMS for BW radios to be in line with all other languages
2022-12-05 20:42:34 +10:00
Malte LangermannandGitHub d134e1a840 chore: Fix a bunch of compile warnings (#2748)
* chore: fix warnings for simu and firmware, part 1

* chore: fix warnings
2022-12-05 20:41:42 +10:00
Peter FeerickandGitHub 7bdb32a8cd chore(gh): Add 2.8.0 to bug reporter 2022-12-01 10:30:35 +10:00
becbbac2cb feat(lua): Add getTrainerStatus to Lua API (#2483)
* Initial Commit

* Finished Trainer Status

* fix: Bump version number

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-11-30 20:36:58 +10:00
Peter FeerickandGitHub 14c9a6fc9a fix(build): Fail on unknown targets rather than build x9d (#2760)
* fix: Fail on unknown target rather than build x9d

* fix: Add a space between parameter blocks
2022-11-30 15:58:55 +10:00
Raphael CoefficandGitHub 8f3dd7f72e fix(lua): Array indexes for get/setFlightMode and getCurve (#2567)
* Lua array indexes start at 1

* LUA model.setFlightMode: use array index to compute trim index

This allows for providing an incomplete table like this:
```
-- Disable T5 & T6 on FM0
modes = {}
modes[5] = 31
modes[6] = 31
t = {}
t["trimsModes"] = modes
model.setFlightMode(0, t)
```

* Remove warning & cleanup

* Fix trim value constraints in model.setFlightMode()
2022-11-30 15:57:42 +10:00
eshifriandGitHub a267520236 fix(color): Initialise theme variables to nullptr before first use (#2787) 2022-11-25 10:09:16 +10:00
Raphael CoefficandGitHub 8d83487ceb fix(lua): Do not push long enter key press on touch (#2782)
Relates to #2736
2022-11-23 20:32:33 +10:00
Malte LangermannandGitHub 328fba76b4 fix(ui): Superfluous and invalid attribute initialisation (#2747)
* fix(ui): fixed a memopry leak and a waring in topbar.cpp
* fix: Restore ScreenMenu on exit of topbar widget setup
2022-11-23 16:04:01 +10:00
Raphael CoefficandGitHub ab26bf3c66 chore(compilation): Silence some warning on apple silicon (#2712)
When compiling `simu`, `clang` complains about all the StdPeriph headers declaring assembly with invalid operand width.
2022-11-23 15:55:45 +10:00
eshifriandGitHub 940f955bbc fix(color): Refresh color picker labels when chg between HSV and RGB (#2774) 2022-11-22 20:14:48 +10:00
Neil HorneandGitHub f84c26b615 cpn(fix): yaml encode/decode telemetry sensor subId (#2756) 2022-11-18 13:30:23 +10:00
ulfhedlundandGitHub 3dc8843809 chore: Swedish translation corrections (#2755)
* Minor corrections

* Minor corrections
2022-11-18 13:26:33 +10:00