Commit Graph
18430 Commits
Author SHA1 Message Date
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
eshifriandGitHub 8d16d17875 fix(color): Use correct default for Outputs PPM Center popup keyboard (#2759) 2022-11-18 13:24:22 +10:00
Neil HorneandGitHub 8b13813126 cpn(fix): Multi module DSM protocol options (#2724)
* cpn(fix): Multi module DSM protocol option check box

* Add servo rate option for multi DSM

* Use bitmap helper functions
2022-11-17 16:03:10 +10:00
37b1b2ee28 fix: Always show GPS button in radio setup (#2732)
* fix: Always show GPS button in radio setup
It is related to GPS telemetry, not internal GPS.
This probably needs to implemented differently in the future.

* de optimization (#2737)

* de optimization

since the GPS button is now displayed by default (#2732), the labels for the "Alarms" and "LCD" are much too long and thus GPS is pushed into a new line. This looks unattractive and is a waste of space

* Update de.h

* chore: Cleanup

Co-authored-by: ParkerEde <ralf@krusecity.de>
2022-11-16 20:16:04 +10:00
richardclliandGitHub 2ab1a9f725 fix(NV14/EL18): Reboot to charge screen if USB is plugged in at poweroff (#2731)
* Added reboot when detect USB is plugged.

* Fine tuned boardOff routine.
2022-11-16 20:14:26 +10:00
Raphael CoefficandGitHub 9796c968f4 fix(MSD): confirmation dialog properly shown (#2743)
Prior to this fix, the confirmation dialog would crash because of an issue in libopenui and even then would not be displayed for the lack of the proper parent window.

Fixes #2741
2022-11-16 19:49:52 +10:00
Neil HorneandGitHub a88611ac27 cpn(fix): gyro and joystick (#2740)
* Add yaml conversion of gyro analogs

* Align XLites, X12S, X10 and T16 family gyro and joystick config with radios
2022-11-15 20:43:49 +10:00
Raphael CoefficandGitHub f7d7ec2070 chore(hal): streamline rotary encoder definitions (#2550) 2022-11-15 19:13:54 +10:00