Commit Graph
52 Commits
Author SHA1 Message Date
Raphael CoefficandRaphael Coeffic 7e5d8ee7ac Fixed compilation on non-touch targets 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
Peter FeerickandGitHub 0fabd8c601 build(cmake): Allow spliting of toolchains, which will help with multi-platform support
CMake: Use ExternalProject_Add() to split by toolchain

Splits targets between native and cross-compiled targets, provides a cleaner solution to problems raised by compiling for example on Apple silicon, and better managing dependencies by allowing for object libraries in a cleaner way.
2022-04-24 10:29:31 +10: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 57d1d953c8 Removed GCC path hack on NV14 as well 2022-04-01 08:56:25 +02:00
Raphael Coeffic d99a46a3bc Enable CLI & ENABLE_SERIAL_PASSTHROUGH on NV14 by default 2022-03-20 16:30:59 +01:00
Raphael Coeffic cee942a834 Streamline pulse driver
In preparation of merging with taranis int-module pulse driver.
2022-03-20 16:30:59 +01:00
Raphael Coeffic 74e5007c82 Fix NV14 2022-03-20 16:22:13 +01:00
Raphael Coeffic 346de7ece4 Move extmodule_driver to stm32 common part
And add support for F2
2022-03-20 16:22:13 +01:00
Raphael Coeffic 4f1d3b5ff4 Fix nv14 2022-03-20 16:22:12 +01:00
Raphael Coeffic f733810c79 WiP: refactor serial ports 2022-03-20 16:22:12 +01:00
Raphael CoefficandRaphael Coeffic 6402088349 ARM64 fixes 2021-12-20 11:46:03 +01:00
Peter FeerickandPeter Feerick 90df2540ba [NV14] Enable GHOST by default
As is already the case with Horus colorlcd targets
2021-12-07 19:49:05 +10:00
Raphael CoefficandPeter Feerick b8335b994f Make list of supported internal module configurable per cmake option
Resolves #1159
2021-11-29 09:00:59 +10:00
Raphael CoefficandRaphael Coeffic ae552bd6fd WiP: support internal module as a hardware setting 2021-11-25 12:10:16 +01:00
rotormanandRisto 80a51837c1 Automatically detect FlySky digital hall sticks on X10-class radios without necessity of build-time CMake option FLYSKY_HALL_STICKS.
Added special UART4 init to sample if FlySky sticks are present or not.
Added boolean globalData.flyskygimbals to save the detection result.
Removed FLYSKY_HALL_STICKS and FLYSKY_HALL_STICKS_REVERSE CMake build options.

Tested on two RM TX16S radios, one with FlySky digital hall sticks and second with stock analog sticks.
2021-11-19 21:33:03 +01:00
Raphael Coeffic 288fe158ae WiP fix emergency mode 2021-11-10 11:07:03 +01:00
Raphael Coeffic 218590b277 Fixed NV14 CMakeLists.txt 2021-11-10 11:07:00 +01:00
Raphael Coeffic f8ab3770e4 Updated generated yaml parser structs 2021-11-10 11:07:00 +01:00
Raphael CoefficandRaphael Coeffic 3247b59f5e Fix some power-up issues
Resolves #519
2021-11-01 11:01:32 +01:00
eshifriandGitHub b1a41438a3 [NV14] Telemetry fixes, use FlySky RX defaults (#856)
* Port from NV14 repository

* Fix altimeter

* Change AFHDS2A default mode to PWM and iBUS

* Fix datacopy.cpp generation for NV14 Windows build

* Cleanup

* Format

* typo fix

* Sngl for alarm and temperature sensor

* remove temperature sensor
2021-10-15 10:18:03 +11:00
Raphael CoefficandPeter Feerick 6684489f01 [colorlcd] make malloc() thread-safe 2021-10-04 21:52:08 +11:00
Raphael Coeffic 024934e637 Disable AFHDS3 on NV14 2021-09-19 16:17:47 +02:00
Raphael Coeffic a17a02c541 Compute SDKROOT and use it 2021-09-16 12:05:41 +02:00
Raphael Coeffic fb460ca4dd Fix NV14 build 2021-09-11 11:16:48 +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 8172d38906 Allow ENTER/EXIT to be used with the NV14
This requires enabling HARDWARE_KEYS, otherwise the UI won't have any key handling compiled.
2021-08-01 10:02:03 +02:00
Raphael Coeffic a8e2e3de74 Fixed NV14 simu linking 2021-07-31 18:46:43 +02:00
Raphael Coeffic f1fd6dde02 Integrate NV14 ADC driver into generic stm32_hal_driver 2021-07-31 18:46:40 +02:00
Richard Li 6dee3187cd Fixed NV14 slider position, compatible with TX16S alignment. 2021-07-27 22:54:25 +08:00
Raphael Coeffic 0a44682fd9 [nv14] Fix mixer scheduler timer (clock missing) 2021-07-27 12:04:28 +02:00
Richard Li 80e1ff228f Merge branch 'nv14-build' of https://github.com/EdgeTX/edgetx into nv14-build 2021-07-27 14:39:34 +08:00
Raphael Coeffic 4e112f6903 Fixed datacopy dependency 2021-07-27 08:37:40 +02:00
Richard Li 67bf2a4e2b NV14 fixed firmware and simu build. 2021-07-27 14:16:06 +08:00
Richard Li 15e19a52c4 Updated new definitions about RAM BACKUP. 2021-07-27 08:29:25 +08:00
Raphael Coeffic 74f2445558 WiP: Simu and modules fixes 2021-07-25 08:33:57 +02:00
Richard Li 82c3f0b3df NV14 reverted ADC driver change, not working properly for common driver. 2021-07-23 17:59:22 +08:00
Richard Li 62458bdb55 Migrated NV14 ADC driver to use common driver. 2021-07-23 14:08:38 +08:00
Richard Li 78a7e507f3 Fixed wrong target directory for NV14 for datacopy 2021-07-22 13:14:53 +08:00
Richard Li 383985f73c Try to fix internal module. 2021-07-22 12:43:57 +08:00
Richard Li 2a55a286ed Fixed stick problem, the 1ms timer in nv14 target not working properly. 2021-07-05 18:51:16 +08: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
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
3djcandGitHub 2fb3d977a9 Trainer UI (#7423)
Trainer UI
2020-03-06 15:47:34 +01:00
Kilrah 6c7a3bcf44 AFHDS2 ON by default for NV14 2020-02-24 15:17:33 +01:00
Bertrand Songis fc7fa5fe94 Cosmetics 2020-01-09 22:50:56 +01:00
Bertrand Songis 413a0bc6d2 Compilation fix 2020-01-08 07:59:54 +01:00
Jakub fef09a5f74 NV14 implementation partially merged with actual Flysky version. 2020-01-05 15:48:13 +01:00
Bertrand Songis bc9cd3fba9 New Table widget 2019-11-28 17:03:57 +01:00
Bertrand Songis e2f84b8047 Cosmetics 2019-10-19 13:03:08 +02:00