Commit Graph
55 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic f768bbea41 Fixed compiling NV14 2022-06-11 15:38:08 +02:00
Raphael CoefficandRaphael Coeffic ee0c37157d Remove legacy fonts and make the bootloader compile with LVGL 2022-06-11 15:38:08 +02:00
gagarinlgandRaphael Coeffic 8d6a7c2da5 preparation for PL18, differentiate between physical and UI screen size
adapt to partial draw calls from LVGL
2022-06-11 15:38:08 +02: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
Raphael Coeffic ead920bf1d Fixed INTMODULE_FIFO_SIZE 2022-03-27 16:22:46 +02:00
Raphael Coeffic 530d395204 WiP 2022-03-20 16:22:14 +01:00
Raphael Coeffic d93cd1ea25 Moved aux serial defs to own header file 2022-03-20 16:22:14 +01:00
Raphael Coeffic 4f1d3b5ff4 Fix nv14 2022-03-20 16:22:12 +01:00
Raphael Coeffic 0d2bc7e0c2 Fixed WDG and some others for gtests & simu 2022-03-20 16:22:12 +01:00
Raphael Coeffic e5c852ab37 Fixed some compilation issues 2022-03-20 16:22:12 +01:00
Raphael Coeffic b7523e489b AFHDS2 fixes 2022-03-20 16:22:12 +01:00
1d7b04d679 [nv14] Make Ghost menu work with joystick trims (#1416)
* Update radio_ghost_module_config.cpp

* Update board.h

* Update keys_driver.cpp

* Auto-formatting

* Add functions simply so gtests compiles

* Update board.h

define TRIMS_EMULATE_BUTTONS to avoid HW dependent defines in other code

* Update radio_ghost_module_config.cpp

Use TRIMS_EMULATE_BUTTONS rather than PCBNV14

* `simu` code behind build flag also

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-21 14:42:13 +10:00
88ade987a7 [nv14] Minor code cleanup (#1364)
* Remove unused DMA defines

* Removed further unused DMA defines

* Removed obsolete unused files.

* Remove reference to removed file

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-01-08 13:40:10 +10:00
Malte LangermannandGitHub 9e285b3cb2 [touch] Fix hardware touch diagnostics regression (#1314)
* fix touch screen test in analog input test screen

* remove #if SIMU check for touch test

* remove unneeded trace
2021-12-30 11:46:10 +10:00
3djcandRaphael Coeffic d31482c18b Introduce T-pro and function switches handling 2021-12-17 17:07:48 +01:00
Raphael CoefficandRaphael Coeffic 73790c1654 Use FreeRTOS stream buffers and task notifications 2021-11-21 11:18:35 +01:00
gagarinlgandPeter Feerick 8360434516 touch on/off with backlight on/off is now working for TX16s, untested, but implemented for NV14
simulator for tX16s and NV14 works
2021-11-16 11:21:04 +10:00
Peter FeerickandGitHub 3ad98bacf4 [NV14] Use trim hats to emulate key events when standalone lua script running (#985)
* Preliminary trims as keys for lua
Largely based on open-flysky implementation

* Add `isLuaStandaloneRunning()`

* Add more virtual events

* Tweak virtual events further

* Finish remapping keys to virtual events

* Move some virtuals to right trim hat

* Add missing "defined"

* Revert to common EVT_VIRTUAL_MENU mapping

* Make keys/trims reset backlight like other radios
2021-11-09 12:50:20 +11:00
Raphael CoefficandRaphael Coeffic 3247b59f5e Fix some power-up issues
Resolves #519
2021-11-01 11:01:32 +01:00
Raphael CoefficandRaphael Coeffic 7e34635dd7 NV14: fix attempt for external power mod
Use `EXTERNAL_MODULE_OFF()` function rather than defining `EXTERNAL_MODULE_PWR_OFF()` macro in `hal.h`.
2021-11-01 11:01:32 +01:00
Raphael CoefficandPeter Feerick c4dd1c78a0 [nv14] Boot issue fixes
Fixed:
- delay shortened.
- adjusted priority of IRQs used before FreeRTOS is started.

Resolves #863
2021-10-06 16:45:55 +11:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
eshifri b0de4ff120 add slider definitions 2021-09-04 17:58:15 -07:00
cf91c87c77 [Colorlcd] Pot and slider model setup settings implemented (#654)
* Pots and sliders warning implemented. #647

* add slider definitions

* Remove whitespace change causing merge conflict

* add slider definitions

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-09-01 11:10:33 +10:00
Raphael Coeffic 478e345a32 [nv14] Fix key support in bootloader
Resolves #597
2021-08-17 14:32:04 +02:00
Raphael CoefficandGitHub 5d953c85ac Merge pull request #496 from EdgeTX/unify-adc-driver
Unify / clean-up ADC driver
2021-08-03 15:48:06 +02:00
Raphael Coeffic 89bedc5365 Fixed key driver 2021-08-01 10:00:23 +02:00
Raphael Coeffic f1fd6dde02 Integrate NV14 ADC driver into generic stm32_hal_driver 2021-07-31 18:46:40 +02:00
Richard Li aede763f4c Merged remove useless powerup reason. 2021-07-27 14:38:54 +08:00
Richard Li 67bf2a4e2b NV14 fixed firmware and simu build. 2021-07-27 14:16:06 +08:00
Richard Li 86d787756e Fixed NV14 firmware and simu build error. 2021-07-27 02:03:47 +08:00
Richard Li 6cd3ee557a Fixed simu build failure for NV14. 2021-07-27 01:44:39 +08:00
Richard Li 30fe801344 Fixed nv14 build. 2021-07-25 16:55:20 +08:00
Raphael Coeffic 74f2445558 WiP: Simu and modules fixes 2021-07-25 08:33:57 +02:00
Richard Li cf161368ab Clean up something. 2021-07-07 11:40:44 +08:00
Richard Li 1d81db0113 Updated timer driver to use 1ms loop to compatible with nv14. 2021-07-07 10:39:16 +08:00
qba667 0b365adaf9 Fixed LCD display for NV14 2021-06-20 09:48:04 +02:00
Richard Li cc92f25046 Fixed NV14 build, added flysky build script and target in build-gh.sh 2021-06-09 16:10:45 +08:00
3djcandGitHub 24f93a7cbe 3djc/2.4 add 2.3 pr (#8099) 2020-11-19 16:32:50 +01:00
3djcGitHub3djc <Th1sisfmyofmyo>
87cd9047b1 2.4 continued (#8092)
Quite a bit of work on 2.4

Co-authored-by: 3djc <Th1sisfmyofmyo>
2020-11-14 14:55:37 +04:00
3djc c8c0ecb58a Cosmetics 2020-03-18 17:58:31 +01:00
Bertrand Songis 34aa1e4327 Update to latest libopenui 2020-03-18 17:06:14 +01:00
3djc 766211a6f3 Fix compile 2020-03-05 12:45:49 +01:00
3djc f7cb20f665 Last audio fix ? 2020-03-04 18:53:42 +01:00
3djc 181e57c325 Compilation and NV14 audio fix 2020-03-03 19:15:46 +01:00
3djc a68b2abbc2 NV14 compile fix 2020-03-03 18:27:18 +01:00
Bertrand Songis 779326dd2b Update to latest STM32F4 lib 2020-01-08 16:00:42 +01:00
Jakub a7bb9b8138 Fixed audio for NV14. 2020-01-05 21:49:28 +01:00
Jakub d183df2294 Unused metod declaration removed for nv14. 2020-01-05 16:17:29 +01:00
Jakub fef09a5f74 NV14 implementation partially merged with actual Flysky version. 2020-01-05 15:48:13 +01:00