Commit Graph
953 Commits
Author SHA1 Message Date
philmozandGitHub d8d6f671c2 fix(color): block radio startup until checklist is closed (#5227)
Which includes preventing internal and external RF from being active
2024-06-30 11:55:09 +10:00
Peter FeerickandGitHub 22114a67fa fix: RTC warning not being shown (#5209) 2024-06-23 18:46:53 +10:00
philmozandGitHub e7509349b3 chore(color): more layout cleanup and minor bug fixes (#5171) 2024-06-17 05:40:08 +00:00
philmozandGitHub 65a0f0d9e7 fix(cpn): simulator may get stuck on splash screen (#5152) 2024-06-11 09:47:30 +10:00
philmozandGitHub 6207b1eae6 feat: add 0.5 second option to power on/off delays (#5134) 2024-06-10 11:55:31 +10:00
Peter FeerickandGitHub 42153fbb84 feat: option to disable power on/off haptic (#5017) 2024-06-09 11:13:26 +10:00
philmozandGitHub b16524837a feat: allow Sticky LS state to persist across EM or optionally across reboot (#4978) 2024-06-02 16:22:36 +10:00
6579905088 chore(hal): remove StdPeriph (#5023)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Malte Langermann <malte@langermann.net>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: Richard Li <richard.li@ces.hk>
2024-06-01 11:45:40 +10:00
80659c3e3f feat: add inverted sources (#4722)
Co-authored-by: elecpower <neilh713@tpg.com.au>
2024-05-25 09:25:15 +10:00
Raphael CoefficandGitHub 6a59c580ef fix(fw): compilation without AUDIO (#5022) 2024-05-18 14:11:20 +10:00
3djcandGitHub 287dd75d1c feat: compile option to disable MCU check (#4988) 2024-05-11 19:21:38 +10:00
09d4066a23 feat: add ability to disable trainer warning on shutdown (#4831)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-05-08 11:19:18 +10:00
philmozandGitHub 4f0610c551 chore: remove unused PWM_BACKLIGHT define (#4945)
Most of the code was removed between OTX 2.2 and 2.3
2024-05-01 09:44:52 +10:00
philmozandGitHub fb45009fd4 fix(color): restore prior startup and shutdown behaviour (#4865) 2024-04-09 15:17:18 +10:00
philmozandGitHub f28c1150ed refactor(color): use LVGL styles and objects for UI, legacy cleanup (#4407) 2024-04-05 17:33:14 +10:00
philmozandGitHub 6c5eada23a refactor: FLASH size optimisations for B&W (#4827) 2024-04-01 09:43:50 +10:00
0e333925d4 chore: major translation catchup (#4613)
Co-authored-by: Patrick <126767069+Pat6874@users.noreply.github.com>
Co-authored-by: HThuren <thuren.henrik@gmail.com>
2024-03-15 18:40:59 +10:00
3djcandGitHub 3085603489 chore: auto select radio fastest supported baudrate for elrs (#4698) 2024-03-11 21:30:10 +10:00
philmozandGitHub 8381a68a91 feat(color): Add 'popup' option for GVARs already present on B&W (#4554) 2024-01-26 20:13:42 +10:00
MichaelandGitHub 308b53e605 chore(storage): Only save hatsMode for featured radios (#4525) 2024-01-12 10:53:59 +10:00
philmozandGitHub 6479081e09 fix(fw): Behaviour of 3POS trim when used as SF Adjust GV source (#4517) 2024-01-10 10:45:34 +10:00
3djcandGitHub 86a3d2db1c feat: Set better internal crossfire module default baudrate (#4523) 2024-01-10 09:32:04 +10:00
philmozandGitHub 2635a4972b feat: Use trim as a 3POS toggle switch source (#4465) 2024-01-05 19:16:26 +10:00
fa12b27438 feat(radio): Discover SBUS trainer availability (#4266)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2024-01-05 11:48:46 +10:00
philmozandGitHub 44f73a68d4 fix(radio): Instant trim only works correctly in mode 1 (#4491) 2024-01-01 07:48:43 +10:00
c9334ebda3 refactor: USB HAL conversion + USB lib update (#4207)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Richard Li <richard.li@ces.hk>
2023-12-24 11:01:48 +10:00
3djcandGitHub 75ac93c3a7 fix: Default channel order for surface radios should be ST (#4413) 2023-12-13 07:58:43 +10:00
Raphael CoefficandGitHub 5153aaeea0 refactor: IWDG driver and EM trigger (#3846) 2023-12-04 07:14:25 +10:00
Peter Feerick 1e7879aca8 fix(color): Default backlight off value using wrong define 2023-11-14 18:16:24 +10:00
philmozandGitHub 7190f00374 chore(radio): Cleanup startup code, fix throttle warning led color, startup haptic option (#4027) 2023-11-05 18:53:26 +10:00
ca5355e0c7 feat: Add support for Radiomaster MT12 (#4277)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-11-04 18:18:17 +10:00
b48e07026d feat: More flexible ADC inputs (#3870)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
2023-11-02 11:07:53 +10:00
16b9d72aba feat: Warn on shutdown if trainer is connected (#4212)
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-10-23 19:27:53 +10:00
philmozandGitHub c4a2c46d92 fix(color): Scale SF backlight value to user selected min/max backlight values (#4060) 2023-10-16 18:54:12 +10:00
b22a1b5d32 feat: Support for WS2812 RGB LEDs (#3909)
Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
2023-10-14 14:06:55 +10:00
philmozandGitHub 614ff284db feat(radio): Show model level setting for 'Enabled Features' when altering radio level setting (#4036) 2023-10-13 20:05:16 +10:00
f40fa1a64b feat(el18): Use trim hats as keys for navigation (#3894)
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-09-29 20:12:54 +10:00
Raphael CoefficandGitHub 6abd4263a4 feat: better microsecond timer (#4112) 2023-09-26 18:30:55 +02:00
47ff7284fd fix(radio): Better iteration through mixers on display, sanitize invalid sources (#3999)
* fix: mixer lines with empty source

Fixes #3367

* Fix color mixes display.

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-09-24 15:51:18 +10:00
Raphael CoefficandGitHub 87df8a4f2c refactor: SD card SPI HAL (#3957)
* refactor: SD card SPI driver

* Removed SPI and DMA StdPeriph drivers

* Allow for disabling SPI DMA support

* Disable SPI sdcard CRC support

* Fix 2MHz timer on NV14

* Shared VS1053b driver

* Fix: SPI2 uses PCLK1

* feat: new generic diskio API

* More generic SD_CARD_PRESENT()

* Fixes

* Flush incoming block on token mismatch

* Scratch buffer test

* Incredible hack to re-sync sd card

* fix: SDIO driver
2023-09-23 19:31:56 +10:00
3djcandGitHub 70fcc900c2 fix(tprov2): Use same rotary encoder defaults as previous model (#4014) 2023-09-23 13:21:55 +10:00
philmozandGitHub 0aff002c8a chore(color): Cleanup and optimise EdgeTxTheme class (#4013) 2023-09-21 19:39:05 +10:00
philmozandGitHub e485db93ca feat(radio): Delay warnings until after splash screen finished (#3887) 2023-09-07 20:33:55 +10:00
Peter FeerickandGitHub e832ef6521 feat(color): enable LUA_MIXER, hidden by default (#3973) 2023-09-01 10:01:47 +02:00
3djcandPeter Feerick d2c2fd6426 fix: EM when LUA script is running and radio is turned off (#3926)
* fix: EM when LUA script is running and radio is turned off

* Improve sequencing
2023-08-15 10:18:01 +10:00
Malte LangermannandGitHub b377a8b5d4 chore: SDIO conversion to HAL (#3182) 2023-08-13 18:56:39 +02:00
3djcandGitHub 3342d21195 feat: improved OLED brightness handling (#3773) 2023-08-12 11:17:50 +02:00
3djcandGitHub ae8e1fff8a fix: Trainer jack initialisation and driver cleanup (#3811) 2023-08-09 21:08:42 +10:00
philmozandGitHub 69338ab0ab chore(color): Libopenui refactor (#3614)
* Refactor object creation logic.
Remove unused LVGL features.

* Remove unused files.
Fix height for widgets.

* Rename 'OpenTxTheme' class to 'EdgeTxTheme'.
Cleanup commented out code.
Cleanup unused code from 'etx_lv_theme.cpp'.

* More cleanup.

* Move more style code to etx_lv_theme.cpp

* Update license

* Make default button height match other controls.

* Fix curve edit layout.

* Fix layouts.

* FormWindow and FormGroup provided identical functionality - rename FormGroup to FormWindow and remove duplicate.

* Simplify menu icon handling.
Remove unused 'flysky.cpp' file.

* Fix window size change.

* Simplify page header code.
Fix statistics view page.

* Remove unused file.
Replace redundant 'Subtitle' class with a macro.
Fix compiler warnings.

* Fix compiler warning in LvglWrapper.cpp.
Remove unused code in static.h.
Simplify about page.

* Rename ICON_OPENTX to ICON_EDGETX.

* Fix github build error.

* Fix github build error (attempt 2).

* Move ButtonMatrix styling to etx_lv_theme.cpp.

* Scroll bar consistency.

* Use styles for ButtonMatrix text color.

* Use 'active' color for selected USB advanced setup buttons. Move error message to bottom of page.

* Create style for popup window title bar.
Simplify advanced USB setup code.
Remove unused libopenui/carousel.* files.

* Add style for modal popup content.

* Remove unused BUTTON_BACKGROUND flag.

* Replace GridLayout with FormWindow. Remove unused gridlayout.h file.

* Fix rebase.

* Merge ChoiceEx class into Choice class code.
Remove unused CurveKeyboard.

* Use LVGL bar for progress indicator.
Update only style colors when theme changes (don't recreate all style settings).

* Move ProgressDialog class to dlalog.h/dialog.cpp files.

* Simplify trim and slider code in main view.
Simplify the hardware inputs code.
Fix dialog size.
Remove unused code in layout factory.

* Cleanup unused code.

* Add style for FormWindow class.
Merge BaseNumberEdit class into NumberEdit class and remove BaseNumberEdit.
Remove more unused files.
Cleanup libopenui_config.h files.

* Re-organise libopenui include files to fix build error.

* Fix build error.

* Add missed styles to etx_lv_theme.cpp.
Delete commented out #includes.
More cleaning up of libopenui_xxx.h files and dependencies.
Re-enable LVGL CHECKBOX feature.

* Merge libopenui_helpers.h into opentx_helpers.h file.

* Fix firmware build.

* Use object constructors for LVGL object creation as suggested by gagarinlg.
Add style for number edit text alignment.
Fix background color for focussed control.

* Move color related stuff from libopenui_defines.h to colors.h.
Remove need for libopenui_depends.h file.

* Merge libopenui_types.h content into opentx_types.h file.

* Rename CheckBox class to ToggleSwitch.

* Restore code to update flight mode text color when theme changes.

* Cleanup some more unused code.

* Remove redundant theme.h file.

* Fix rebase.

* Fix button matrix style.

* Fix rebase

* Fix rebase

* Ensure correct initialisation of Choice object.

* Fix rebase.

* Make the slider control bigger to make touch activation easier.

* Fix build error.

* Fix slider logic and cleanup code.

* Use ACTIVE theme color for inputs, mixes, LS, GV and SF.

* Improved border width consistency and focussed state consistency.

* Remove duplicate copy of the default theme colors.
2023-08-04 11:04:54 +10:00
Raphael CoefficandGitHub 574369aca4 fix: Use keysGetMaxTrims() instead of MAX_TRIMS (#3860)
* fix: use keysGetMaxTrims() instead of MAX_TRIMS

* feat: add support for virtual trims

This is necessary for radios like X-lite where half of the trims are simulated
2023-07-30 14:18:58 +10:00