Raphael Coeffic and GitHub
57bf180a9b
feat(mpm): remove FrSky special treatment madness ( #3032 )
2023-01-26 11:44:46 +10:00
Raphael Coeffic and Peter Feerick
4c272863d3
fix: Prevent firmware overflow for X9D+2019
...
- Remove __global_locale
- Use same animation for startup and shutdown
2023-01-25 19:42:05 +10:00
Raphael Coeffic and GitHub
933253c445
chore(audio): Remove legacy ULAW/ALAW audio codecs ( #2991 )
...
... thus saving 1216 bytes of precious flash memory.
2023-01-19 11:16:59 +10:00
Raphael Coeffic and GitHub
acd95dfad4
fix(B&W): Avoid having constants in SRAM ( #2993 )
...
fix constness to avoid having constants in data segment
.... and thus free some precious RAM
2023-01-18 20:12:35 +10:00
Raphael Coeffic and GitHub
a25bc828cb
chore(bw): Remove doubled CRC table, saving 512 bytes of flash ( #2990 )
...
.... thus waisting 512 bytes in Flash for nothing.
2023-01-18 11:05:45 +10:00
Raphael Coeffic and GitHub
f9bac7ba9b
chore: Remove support for binary storage format ( #2900 )
2022-12-23 13:05:57 +10:00
Raphael Coeffic and GitHub
22e51fb6d0
fix(simu): Do not use "update" mode for opening read-only files ( #2846 )
2022-12-14 18:42:25 +10:00
Raphael Coeffic and GitHub
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
Raphael Coeffic and GitHub
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
Raphael Coeffic and GitHub
d417404187
fix(cz): Add Latin1 Extended-A (0x100-0x17F) ( #2841 )
...
Fixes #2811
2022-12-11 15:18:11 +10:00
Raphael Coeffic and GitHub
241c5e6925
chore(cpn): Update yaml-cpp submodule to get rid of warnings ( #2751 )
2022-12-06 19:46:54 +10:00
Raphael Coeffic and GitHub
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
Raphael Coeffic and GitHub
8d83487ceb
fix(lua): Do not push long enter key press on touch ( #2782 )
...
Relates to #2736
2022-11-23 20:32:33 +10:00
Raphael Coeffic and GitHub
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
Raphael Coeffic and GitHub
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
Raphael Coeffic and GitHub
f7d7ec2070
chore(hal): streamline rotary encoder definitions ( #2550 )
2022-11-15 19:13:54 +10:00
Raphael Coeffic and GitHub
4574fc6b39
fix(crsf): internal module baudrate ( #2717 )
2022-11-13 13:18:52 +10:00
Raphael Coeffic and GitHub
4071eacc92
fix(simu): rotencDt must be updated as well ( #2676 )
...
The acceleration calculation is relying on it to compute dx/dt.
2022-11-05 19:39:45 +10:00
Raphael Coeffic and Peter Feerick
062564cc41
chore: Bump libopenui for text clipping bugfix
2022-11-04 19:28:31 +10:00
Raphael Coeffic and GitHub
5958930136
fix(lua): [page down long] translation to [page up] ( #2668 )
...
Suppress `EVT_KEY_BREAK(KEY_PGDN)` after `EVT_KEY_LONG(KEY_PGDN)` on targets which don't have a physical `KEY_PGUP`.
This way, the sequence is now clean: no more `EVT_VIRTUAL_NEXT_PAGE` emitted after `EVT_VIRTUAL_PREV_PAGE` on these targets.
2022-11-03 21:16:59 +10:00
Raphael Coeffic and Peter Feerick
e154ee1dea
chore: Bump libopenui for #2619 fix
2022-10-31 21:16:39 +10:00
Raphael Coeffic and GitHub
b409c6ff92
fix(nv14/el18): external module RX inversion ( #2647 )
...
The previous state would set/reset `PE15` (unused) instead of `PI15` (connected to the inverter).
2022-10-31 20:58:16 +10:00
Raphael Coeffic and GitHub
370aff619f
fix(color): EXIT key handling ( #2658 )
...
This issue has been introduced in #2573 .
2022-10-31 20:41:37 +10:00
Raphael Coeffic and GitHub
b74cf8b711
fix(color): channel values in LS ( #2659 )
...
Fixes #2613
2022-10-31 20:06:57 +10:00
Raphael Coeffic and GitHub
40caa999f4
fix(color): prevent event bubbling in Page and TabsGroup ( #2642 )
...
... otherwise unexpected things happen
2022-10-31 17:46:31 +10:00
Raphael Coeffic and GitHub
93ec316a4b
feat: Prevent OFF for internal module in hardware settings ( #2654 )
...
* Prevent OFF for internal module in hardware settings
* chore: Change "Mode" to "Type"
2022-10-31 13:39:42 +10:00
Raphael Coeffic and GitHub
b61e2d8dda
fix(telemetry): sensor processing with legacy polling disabled ( #2653 )
...
Fixes #2546
Fixes #2591
2022-10-31 13:18:39 +10:00
Raphael Coeffic and GitHub
6763c97934
fix(lua): re-implement LUA "tap" events ( #2646 )
...
Fixes #2617
2022-10-31 11:22:29 +10:00
Raphael Coeffic and GitHub
61a69d5626
fix(isrm): add module options to ISRM/D16 ( #2644 )
...
Fixes #2597
2022-10-31 10:48:33 +10:00
Raphael Coeffic and GitHub
6ea408230c
fix(telemetry): set warning/critical to default values before reading YAML ( #2643 )
...
Otherwise, these values will be 0 if either the old or the new tags are not present, which is the case when coming from 2.7.
2022-10-31 10:38:15 +10:00
Raphael Coeffic and GitHub
e626a4e911
fix(sdcard): apply the same fix as #2517 to NV14 ( #2641 )
2022-10-31 09:17:37 +10:00
Raphael Coeffic and GitHub
d7598c8ed8
fix: use switch indirection to fetch the proper name for switch audio ( #2599 )
...
Fixes #2576
2022-10-19 21:22:44 +10:00
Raphael Coeffic and GitHub
2067140552
fix(isrm): flashing internal ISRM module ( #2596 )
...
Fixes #1552
2022-10-19 21:13:48 +10:00
Raphael Coeffic and GitHub
ba713b6b8d
feat: Further improve rotary encoder acceleration ( #2584 )
...
* Improve rotary encoder acceleration
Fixes #2417
* Further improvement
* Fix simu compilation
2022-10-19 20:36:29 +10:00
Raphael Coeffic and GitHub
4c1cebe0f7
fix(lua): send EVT_VIRTUAL_EXIT only on short EXIT press ( #2573 )
...
Fixes #2436
2022-10-17 22:11:56 +10:00
Raphael Coeffic and GitHub
0c4f0083d6
fix(color): min/max highlighting should depend on mixer channel value ( #2582 )
...
... and not the output value. Otherwise, it will highlight min/max when the sub-trim is changed.
2022-10-17 13:17:27 +10:00
Raphael Coeffic and GitHub
6cc393cef5
fix(gf): reset global function context if disabled ( #2578 )
...
Fixes #2577
2022-10-17 12:14:27 +10:00
Raphael Coeffic and GitHub
d7fedc3639
fix(color): clear spectrum analyser data buffer on init
...
Fixes #136
2022-10-17 10:32:23 +10:00
Raphael Coeffic and GitHub
836954ee4b
chore(adc): store constant structs in FLASH ( #2551 )
...
... not RAM.
2022-10-14 19:41:40 +10:00
Raphael Coeffic and GitHub
82ce6d0240
fix(color): copy/paste inputs/mixers ( #2545 )
...
Fixes #2541
2022-10-14 12:01:18 +10:00
Raphael Coeffic and GitHub
41c788267b
fix(color): RF power drop-down ( #2547 )
...
Fixes #2488
2022-10-14 11:20:59 +10:00
Raphael Coeffic and GitHub
487f075ca7
fix(color): module setup sub-type after selecting MPM ( #2548 )
...
This fixes following issue:
- switch the external module to "Multi"
- switch to something else
- check the faulty sub-types
2022-10-14 11:12:10 +10:00
Raphael Coeffic and GitHub
08f89dbbdf
fix(B&W): a~x not being displayed correctly ( #2539 )
2022-10-14 10:55:27 +10:00
Raphael Coeffic and GitHub
584e194388
fix(X10): Simulated page up in menu toolbar ( #2543 )
...
Fixes #2542
2022-10-14 10:46:19 +10:00
Raphael Coeffic and GitHub
1766b7d6c0
fix: hard coded special characters ( #2538 )
...
* fix(B&W): delta character in outputs
* fix: more special characters
* fix: NV14 compilation
2022-10-13 17:27:45 +10:00
Raphael Coeffic and GitHub
9bfb36a587
feat(color): single press to trigger model select menu ( #2533 )
...
In a similar way as the file preview, using the ENTER key will trigger the menu, while touching a preview unselected model will just select it in the list. A second tap will then trigger the menu.
2022-10-13 13:08:21 +10:00
Raphael Coeffic and GitHub
eb2e693eae
fix(color): shortcut for model select ( #2528 )
...
Prior to this fix the model settings would be opened as well when long pressing the model key.
2022-10-13 09:41:10 +10:00
Raphael Coeffic and GitHub
2f88281ab2
fix(color): screen / widget setup ( #2532 )
...
This fixes the issue introduced in #2509 which would cause the main view to be hidden while configuring widgets.
2022-10-13 09:39:37 +10:00
Raphael Coeffic and GitHub
ffe4fe7e17
fix: clear internal module FIFO after DMA init ( #2527 )
...
Otherwise, NDTR will be 0 instead of [buffer size], and thus the read index will not be set to the correct value.
2022-10-13 09:33:51 +10:00
Raphael Coeffic and GitHub
6f494e109c
feat(telemetry): extend link quality warnings range ( #2251 )
...
* feat(telemetry): extend link quality warnings range
* Set default values to the old legacy FrSky values
* Companion support
2022-10-12 14:28:32 +10:00
Raphael Coeffic and GitHub
e7969e737d
fix(tpro): function switches auto-switch & position matching ( #2505 )
...
* fix(tpro): auto-switch for function switches
Fixes #1488
* fix(tpro): matching function switch UP position
2022-10-12 12:52:00 +10:00
Raphael Coeffic and GitHub
26b34a4820
fix(sdcard): use init marker in initialised BSS segment ( #2517 )
...
`g_FATFS_Obj` is located in `__DMA` section, which is not initialised, so that testing `sdMounted()` at boot relies on the fact that the bootloader linker script declares BSS in internal SRAM and not in CCM, as the firmware linker script does.
2022-10-12 12:51:09 +10:00
Raphael Coeffic and GitHub
655965d7a6
fix: prevent endless loop with SBUS trainer on model change ( #2515 )
...
* fix: prevent generic module de-init if protocol is NONE
Fixes #1898
De-initialising the external module while SBUS trainer is used on external module RX leads to the following sequence:
- `extmoduleStop()` is called, thus shutting down the timer DMA
- on certain targets, the timer DMA stream is the same as the external module RX DMA stream
- when this DMA stream is used by the SBUS trainer input, this leads to DMAFifo to return random bytes continuously
- thus driving `processSbusInput()` into an endless loop, which is run in the mixer task
- as the mixer task has the highest priority, it runs forever
- after some time the watchdog timer expires, and causes a reboot
* DMAFifo: check if the stream is enabled
This provides some hardening to avoid the conditions described in previous commit.
2022-10-12 12:45:10 +10:00
Raphael Coeffic and GitHub
324c8e9eef
fix(PXX2): prevent legacy telemetry polling (S.PORT) if the module driver defines its own method ( #2504 )
...
This is to prevent the S.PORT line to interfere with PXX2 telemetry reception, especially with R9M ACCESS.
2022-10-11 21:36:24 +10:00
Raphael Coeffic and GitHub
37002080a1
fix(color): window tree preventing superfluous drawing ( #2509 )
...
This prevents the main view to be redrawn if fully covered by a tab group, a page or a full screen dialog.
2022-10-11 16:29:59 +10:00
786fbcb411
feat: Japanese radio translation 🇯🇵 ( #2456 )
...
* Japanese radio translation
`jp.h` based on #2006 (Kudos to @ToshihiroMakuuchi)
* fix: Gyro is now IMU
* Japanese modifications were made to the display. (#2171 )
* Update JP translation file
* Update JP fonts
* Fix rotary encoder mode string
Co-authored-by: Peter Feerick <peter.feerick@gmail.com >
Co-authored-by: まっく まるちぷろとこる <36994795+ToshihiroMakuuchi@users.noreply.github.com >
2022-10-11 11:42:24 +10:00
c19373538a
File browser touch preview ( #2492 )
...
* do not display model image when outside of the IMAGES folder
* Trigger file action only if file already selected
Co-authored-by: eshifri <eshifri@hotmail.com >
2022-10-11 10:52:50 +10:00
Raphael Coeffic and GitHub
bece340186
feat: FullscreenDialog also support long pressed ENTER ( #2506 )
...
Resolves #2500
2022-10-11 10:29:43 +10:00
Raphael Coeffic and GitHub
bae5102762
feat(color): Add copy button to failsafe channel ( #2507 )
...
* feat(color): add copy button to failsafe channel
Implements #2416
* Improve custom failsafe layout slightly
2022-10-11 10:09:15 +10:00
Raphael Coeffic and GitHub
a8f1973507
fix(color): outputs in portrait mode ( #2489 )
...
Fixes #2442
2022-10-09 20:49:24 +10:00
Raphael Coeffic and GitHub
8c8b24225d
feat(EL18): Add AFHDS3 receiver options ( #2470 )
...
* Get config after switching model ID
* Remember set model ID and change it on the fly
* Add AFHDS3 options
* Fix compiler warning
* Fix box sizing
* Apply model config before editing options
2022-10-09 19:54:55 +10:00
Raphael Coeffic and GitHub
59b33622b8
fix(color): prevent recomputing points in NumberEdit() constructor ( #2474 )
...
Fixes #2452
2022-10-09 15:53:34 +10:00
Raphael Coeffic and GitHub
f7e3458bac
fix(multi): set bind status explicitly when aborted manually ( #2455 )
...
* fix(multi): set bind status explicitly when aborted manually
Fixes #2263
* fix: adjust MPM bind status on B&W as well
2022-10-06 20:03:39 +10:00
Raphael Coeffic and GitHub
d014709172
fix(color): some lines containing boxes could be scrolled horizontally ( #2471 )
2022-10-06 17:19:20 +10:00
Raphael Coeffic and GitHub
fa0eac3af6
chore: Remove unnecessary BREAKSPACE ( #2432 )
...
and streamline translation definitions.
2022-10-06 16:41:51 +10:00
Raphael Coeffic and GitHub
d6741450f3
fix(color): set current model after label update ( #2476 )
...
* fix(color): set current model after label update
Fixes #2460
Here Companion only outputs a more or less empty labels file, so that models are scanned on startup, however not setting the current model properly in this particular case.
* fix(color): bitmap name in modelslist should be zero terminated
2022-10-06 16:10:48 +10:00
Raphael Coeffic and GitHub
974c7e39ad
fix(lua): Touch events preventing rotary encoder events being detected ( #2458 )
...
Fixes #2457
2022-10-03 21:14:17 +10:00
Raphael Coeffic and GitHub
3e73d1709d
fix(color): various menu toolbar fixes ( #2445 )
...
* fix: various toolbar fixes
* chore: Bump `libopenui`
Also pulls in #2446 fix
2022-10-03 13:13:12 +10:00
Raphael Coeffic and GitHub
50b7df02f6
fix: R9M access subtype ( #2211 )
...
* Remove sub-type choice for R9M ACCESS modules
* pxx2: subtype is only needed for XJT lite and ISRM
2022-10-02 18:45:34 +10:00
Raphael Coeffic and GitHub
9c951224c7
fix: auto-switch timeout raised to 1s ( #2433 )
...
Fixes #2418
2022-10-01 20:22:32 +10:00
Raphael Coeffic and GitHub
74349cb371
fix: default input names on model creation ( #2395 )
...
Fixes #2389
2022-09-28 18:35:41 +10:00
Raphael Coeffic and GitHub
f579eeb9fc
fix(color): focus order after layout choice ( #2394 )
2022-09-28 18:26:17 +10:00
Raphael Coeffic and GitHub
d8bcecfc82
fix(color): Unify button colors ( #2367 )
...
* Button: change bg color to COLOR_THEME_PRIMARY2
And text color to COLOR_THEME_SECONDARY1
Fixes #2304
* fix: TextButton constuctor calls
Setting the font in the constructor never worked, but did set the text color to black.
* chore: Bump libopenui
2022-09-27 12:52:08 +10:00
Raphael Coeffic and GitHub
af7679a486
feat(color): More tuning of rotary encoder acc, enable for color picker ( #2366 )
...
* Smoother encoder acceleration
* Enable encoder accel on color picker
2022-09-27 11:52:28 +10:00
Raphael Coeffic and GitHub
22d784a20e
feat: Use rotary encoder velocity only on specific components ( #2356 )
...
* feature: use rotary encoder velocity iff LV_OBJ_FLAG_ENCODER_ACCEL
* chore: bump libopenui
2022-09-26 11:52:51 +10:00
Raphael Coeffic and GitHub
c2451085ec
fix(lua): handle ENTER_LONG properly ( #2353 )
...
Fixes #2267
2022-09-26 09:49:51 +10:00
Raphael Coeffic and GitHub
78e99311c8
feat(GT911): Add CLI command to reset touch panel cfg ( #2351 )
...
* GT911: add CLI command to reset config
Related to #2063
* X12S: touch coordinate inversion in GT911 config
Note: config reset with CLI "reset_gt911" required.
* Remove touch sensor software inversion
2022-09-25 20:27:22 +10:00
Raphael Coeffic and GitHub
3765e678b9
fix(color): Disallow fullscreen mode for topbar widgets ( #2327 )
...
Related #2182
2022-09-18 13:15:01 +10:00
Raphael Coeffic and GitHub
c2b1b6febf
feat(color): re-add support for rotary encoder velocity increase ( #2318 )
2022-09-18 13:01:19 +10:00
Raphael Coeffic and GitHub
9fbf0b7b0a
fix(simu): prevent mouse wheel event to be handled twice ( #2319 )
...
Fixes #2188
2022-09-15 21:15:09 +10:00
Raphael Coeffic and GitHub
c7e77ccd36
fix(mpm): update internal module ( #2314 )
...
* Internal MPM update: UART context must be removed last
This fixes the crash / reboot observed in issue #2310
* Fix DMA fifo clear() method
2022-09-14 11:58:01 +10:00
Raphael Coeffic and GitHub
052a344611
Improve gyro/acc range and config ( #2113 )
2022-09-07 21:21:20 +10:00
Raphael Coeffic and GitHub
cd211cba59
feat(color): Better color picker ( #2217 )
...
* Better color picker
* Portrait layout
* Remove obsolete ColorEdit
* Fix label clipping
* chore: Bump libopenui
2022-08-28 19:01:55 +10:00
Raphael Coeffic and GitHub
b57c1f303e
chore(github): Bump macOS runner version to mac-11 ( #2176 )
...
* Bump macOS runner version to mac-11
* Use XCode 11.7 (oldest supported version by GH runners)
2022-08-01 18:33:50 +10:00
Raphael Coeffic and GitHub
e98583ce28
fix: Type cast for failsafe channel update causing EM crashes ( #2170 )
2022-07-31 11:29:11 +10:00
Raphael Coeffic and GitHub
0ba688c25f
Fixes related to storage conversions removal ( #2074 )
2022-06-21 08:02:10 +02:00
Raphael Coeffic and GitHub
c2dc4e6c0b
YAML: avoid forcing to add parser for non-existing old format v220 ( #2068 )
2022-06-21 06:45:35 +02:00
Raphael Coeffic and GitHub
a00975d3e5
fix(simulator): fixed LCD flush sync with QT simulator ( #2030 )
2022-06-12 11:28:05 +02:00
Raphael Coeffic and GitHub
84b1871532
MSYS2: use pillow and lz4 package instead of pip ( #2028 )
2022-06-12 00:09:14 +02:00
Raphael Coeffic and GitHub
26262c4c92
fix: stack buffer overflow in PreviewWindow::drawTime ( #1945 )
2022-05-07 21:34:29 +10:00
Raphael Coeffic and GitHub
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
Raphael Coeffic and GitHub
ddf011ff12
fix: Remove offset when copying timer name ( #1832 )
...
Resolves #1816
2022-04-15 18:55:29 +10:00
Raphael Coeffic and GitHub
d8075cbabb
fix: Internal module setting and applying post load fixes on radio settings ( #1787 )
2022-04-02 21:28:04 +10:00
Raphael Coeffic and GitHub
b9077c7e5a
fix: Quote Stick, Pot, Slider and Switch names ( #1754 )
...
* Quote stick names
Resolves #1749
* Fix pot, slider and switch names as well.
2022-03-31 10:39:39 +10:00
Raphael Coeffic and GitHub
be9aa44e00
fix: Mix data offset: convert to signed int with maximum 11 bits ( #1743 )
...
Resolves #1734
2022-03-29 09:25:13 +10:00
Raphael Coeffic and GitHub
50aeb50029
fix: Quick fix to let CRSF be used with MPM wireless trainer - limiations apply ( #1724 )
...
* Let's do some dirty hack with MPM RX
Resolves #1671
* Use the right function to sync and shutdown sync on external MPM as well
2022-03-25 12:04:15 +10:00
Raphael Coeffic and GitHub
610326f216
Write 'semver' tag with the current firmware version ( #1695 )
...
And remove `version`/`variant`.
2022-03-20 19:18:01 +10:00
Raphael Coeffic and GitHub
0e412000b9
feat: Allow using PXX2 external modules on Zorro ( #1622 )
...
Thx to @3djc
2022-02-28 11:10:21 +10:00
Raphael Coeffic and GitHub
9c075d0a01
multi: Fix TQly & TRSS sensors not being discovered ( #1480 )
...
move the TQly & TRSS hack where it belongs
2022-01-23 11:09:46 +10:00
Raphael Coeffic and GitHub
4048983ce5
Add a "No SD card" screen on boot ( #1451 )
...
This prevents certain issues related to SD card being now mandatory to run EdgeTx.
2022-01-21 20:18:27 +10:00