Commit Graph
100 Commits
Author SHA1 Message Date
Raphael Coeffic a450ac5b9a [nv14] Use max baudrate 400k 2021-08-22 18:04:49 +02:00
Raphael Coeffic 9509569c40 [nv14] aligned telemetry signal polarity on other radios and fixed requested polarity for MPM
Resolves #590
Resolves #613
2021-08-22 17:33:37 +02:00
Raphael Coeffic b9aad2d307 [nv14] Fixed ADC EXT DMA TC flag name 2021-08-22 09:31:22 +02:00
Raphael Coeffic 0cd8410f5e Fixed ADC_EXT DMA transfer flag 2021-08-22 09:18:42 +02:00
Raphael Coeffic 7e5397a8d2 Updated libopenui 2021-08-18 06:32:37 +02:00
Raphael Coeffic 478e345a32 [nv14] Fix key support in bootloader
Resolves #597
2021-08-17 14:32:04 +02:00
Raphael Coeffic f5dec4e31e Fix AUX2 serial RX DMA stream
Thx @olliw42 (see opentx/opentx#8656)
2021-08-07 08:42:30 +02:00
Raphael Coeffic 77f6b5a5b1 Fixed Qt includes (sub-path) 2021-08-05 19:27:26 +02:00
Raphael Coeffic 49bec9110d [color] fixed internal GPS cmake settings 2021-08-05 13:58:13 +02:00
Raphael CoefficandRaphael Coeffic 356449ce73 [color] Set proper CRSF module state when model-ID has changed
Resolves #559
2021-08-05 10:39:41 +02:00
Raphael Coeffic 5cd68753d3 Do not add parameters to a target not defined (if QT was not detected) 2021-08-05 09:18:27 +02:00
Raphael CoefficandRaphael Coeffic a2b8b4ecba Bump cmake minimum required version to 3.13 2021-08-04 16:23:33 +02:00
Raphael Coeffic ab1dd80862 Updated copyright / license boilerplate
Resolves #553
2021-08-04 07:24:30 +02:00
Raphael Coeffic 7f6b1c7924 Updated libopenui 2021-08-04 07:19:31 +02:00
Raphael Coeffic 6a202015e0 Fix flashing firmware over S.Port (modules / receiver).
Resolves #541
2021-08-02 17:28:01 +02:00
Raphael Coeffic bb60d62267 [color] fixed drawing values from LUA mixer scripts 2021-08-02 13:04:41 +02:00
Raphael Coeffic 9a112977f8 Update libopenui 2021-08-02 10:46:18 +02:00
Raphael Coeffic fde67702d2 Fix simulator when there is no rotary encoder and no PLUS / MINUS keys 2021-08-01 11:05:01 +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 89bedc5365 Fixed key driver 2021-08-01 10:00:23 +02:00
Raphael Coeffic a8e2e3de74 Fixed NV14 simu linking 2021-07-31 18:46:43 +02:00
Raphael Coeffic 2e5dd73f51 Fixed NV14 TC flags 2021-07-31 18:46:43 +02:00
Raphael Coeffic 56b30ffa9e X12S fixes (not tested) 2021-07-31 18:46:42 +02:00
Raphael Coeffic 4ea1820366 Allow NULL driver methods 2021-07-31 18:46:42 +02:00
Raphael Coeffic 5ba5cb299e Hotfix for X12S ADC driver 2021-07-31 18:46:41 +02:00
Raphael Coeffic f77d236978 fixed DMA channels / flags for taranis targets 2021-07-31 18:46:41 +02:00
Raphael Coeffic f1fd6dde02 Integrate NV14 ADC driver into generic stm32_hal_driver 2021-07-31 18:46:40 +02:00
Raphael Coeffic b1be0bf57d Fix X7 / XLITE(S) / X9LITE(S) targets 2021-07-31 18:46:39 +02:00
Raphael Coeffic e70b77962d Add missing include for 212x64 UI 2021-07-31 18:46:38 +02:00
Raphael Coeffic 0e4201f25d WiP 2021-07-31 18:46:38 +02:00
Raphael Coeffic cf480b03a3 [adc] Use StdPeriph lib instead of direct reg access 2021-07-31 18:46:37 +02:00
Raphael Coeffic 5a272cbf89 Update libopenui to include a fix for checkboxes
Resolves #444
2021-07-31 18:12:45 +02:00
Raphael Coeffic 07778b0d83 Update libopenui to add eshifri's "sign" key 2021-07-31 18:06:59 +02:00
Raphael Coeffic 8b480fc276 [nv14] fixed diskio 2021-07-31 17:55:01 +02:00
Raphael Coeffic b8ee83da32 [nv14] Fixed unknown type 2021-07-31 17:52:28 +02:00
Raphael Coeffic 34c588d9f6 Dramatic memory use improvement
Thx to @3djc !
2021-07-31 17:31:51 +02:00
Raphael Coeffic 4d317c5e33 One notification index per task is enough
Notification index 0 is only used by FreeRTOS when Streams or message buffers are used.
2021-07-31 17:31:51 +02:00
Raphael Coeffic 1f6b384927 internal module timer is no longer in use 2021-07-31 17:31:51 +02:00
Raphael Coeffic 507692cc77 Added some debug for DEBUG=YES 2021-07-31 17:31:51 +02:00
Raphael Coeffic 21280c4102 Some cleanup 2021-07-31 17:31:51 +02:00
Raphael Coeffic 1c8d33a7ca Use task notification for mixer scheduler: faster and less RAM 2021-07-31 17:31:51 +02:00
Raphael Coeffic 56542bf7e8 Some fixes for simu 2021-07-31 17:31:50 +02:00
Raphael Coeffic 06f898006e Added F2 support and try to save more memory 2021-07-31 17:31:50 +02:00
Raphael Coeffic b1273dce53 Save a bit more memory 2021-07-31 17:31:50 +02:00
Raphael Coeffic 12e7780fa3 Move FreeRTOS port file inclusion to MCU specific section 2021-07-31 17:31:50 +02:00
Raphael Coeffic 2a544d1b83 Disable mutexes (binary semaphores only) and software timers 2021-07-31 17:31:50 +02:00
Raphael Coeffic 421d19bc6b Fixed interrupt prio 2021-07-31 17:31:50 +02:00
Raphael Coeffic 40609f5d67 Moved drawSplash() into UI task and fixed task prios 2021-07-31 17:31:50 +02:00
Raphael Coeffic 7e4cdaeaca Patched mixer scheduler related interrupts with the correct prio 2021-07-31 17:31:49 +02:00
Raphael Coeffic d4edb7713e WiP: FreeRTOS integration 2021-07-31 17:31:49 +02:00
Raphael Coeffic 46688263ee Fix compilation on Windows (via QtBuilder / VSCode) 2021-07-28 10:51:25 +02:00
Raphael Coeffic b83fe990f9 Added NV14 to the nightly targets (+fw.json) 2021-07-27 18:54:11 +02:00
Raphael Coeffic b6420fa876 [nv14] Fixed polarity on types of external modules 2021-07-27 18:45:20 +02:00
Raphael Coeffic 61f5babd43 [nv14] fix polarity for soft serial on PPM pin 2021-07-27 17:34:23 +02:00
Raphael Coeffic 0a44682fd9 [nv14] Fix mixer scheduler timer (clock missing) 2021-07-27 12:04:28 +02:00
Raphael Coeffic 68e3dbd594 Added commit tests to NV14 2021-07-27 09:54:46 +02:00
Raphael Coeffic 4e112f6903 Fixed datacopy dependency 2021-07-27 08:37:40 +02:00
Raphael Coeffic 7700df705c Removed useless "powerupReason" 2021-07-27 08:09:04 +02:00
Raphael Coeffic 7cc958e27d Revert "Modify external RF SBUS voltage warning"
This reverts commit a093139489.
2021-07-25 17:37:22 +02:00
Raphael Coeffic 74f2445558 WiP: Simu and modules fixes 2021-07-25 08:33:57 +02:00
Raphael Coeffic 9366abab32 Removed SD card version check 2021-07-24 11:49:59 +02:00
Raphael Coeffic c832a74114 [color] fix statistics view (now displays proper numbers) 2021-07-22 09:00:26 +02:00
Raphael Coeffic ea48a9c633 Fixed bind button and do not show receiver list on D16 2021-07-21 20:27:15 +02:00
Raphael Coeffic 6bf0fe2889 Cleanup useless code 2021-07-21 16:06:16 +02:00
Raphael Coeffic 67e68bf56b Cosmetics 2021-07-20 16:44:44 +02:00
Raphael Coeffic b3747e0523 Moved telemetry check to execMixerFrequentActions() to avoid colliding with frames sent by the mixer 2021-07-20 16:44:18 +02:00
Raphael Coeffic 00e4194a70 Replace proprietary libAccess 2021-07-20 13:52:29 +02:00
Raphael Coeffic d3c16a89c4 Added "main" to the branches built automatically 2021-07-20 13:45:59 +02:00
Raphael Coeffic 648514dc50 Updated version for next release 2021-07-20 13:42:54 +02:00
Raphael CoefficandRaphael Coeffic 3eeca550da Wait 200ms after switching external module OFF on model change 2021-07-20 12:28:18 +02:00
Raphael Coeffic 8266948e09 Use static table to determine the existence of channel mapping option 2021-07-19 13:18:13 +02:00
Raphael Coeffic 36bddfb8d2 [color] MPM options: use static options rather than the dynamic ones
This is necessary until a broader solution is found to display real-time info coming from the MPM.
2021-07-19 13:10:53 +02:00
Raphael Coeffic 69283a7d5c [color] fix mix/input copy/paste 2021-07-19 12:36:11 +02:00
Raphael Coeffic 7b24018336 [color] Fix MPM option title==nullptr 2021-07-19 09:29:27 +02:00
Raphael Coeffic b553713527 Fixed german translation file (logic switches) 2021-07-18 19:49:12 +02:00
Raphael Coeffic c981f4f1db Another PR 461 cleanup 2021-07-18 12:45:14 +02:00
Raphael Coeffic 311c093133 PR 461 cleanup 2021-07-18 12:44:12 +02:00
Raphael Coeffic ed9bbc1f1f [color] fixed MPM options (esp. DSM related) 2021-07-18 09:52:48 +02:00
Raphael Coeffic 000836a018 [color] Fix vertical trims as well 2021-07-15 11:32:07 +02:00
Raphael Coeffic cdbc62c559 [color] clip trim value displayed based on range set.
Resolves #443
2021-07-15 10:46:44 +02:00
Raphael Coeffic c1486c8780 Adjust audio announcements on trim limits 2021-07-15 10:45:57 +02:00
Raphael Coeffic a268a9a1d7 [color] Fixed throttle trim switch setting 2021-07-14 19:22:56 +02:00
Raphael Coeffic ed59ce2819 [color] fixed displayed trim range 2021-07-14 14:25:12 +02:00
Raphael CoefficandRaphael Coeffic 90bd1b6329 Unify throttle source check/conversion code 2021-07-14 13:54:12 +02:00
Raphael CoefficandRaphael Coeffic 2cbc7a6209 [color] fix throttle source 2021-07-14 13:54:12 +02:00
Raphael Coeffic 6d11fa8033 [lua] Fix sensor max and min matching
Resolves #442
2021-07-14 08:45:00 +02:00
Raphael Coeffic f026670065 [ViewText] fix compiler warnings 2021-07-14 07:59:52 +02:00
Raphael Coeffic 6b7a573ec7 Compilation fix for FRSKY_RELEASE 2021-07-14 07:47:50 +02:00
Raphael Coeffic ea6b9a38dd Updated libopenui with include fix 2021-07-13 09:13:19 +02:00
Raphael Coeffic a93c543576 Display proper script status and custom name 2021-07-13 09:11:06 +02:00
Raphael Coeffic 34fa23d423 Display only unique names (regardless of extension .lua or .luac) 2021-07-13 08:44:30 +02:00
Raphael Coeffic a6674ae236 [color] mixer scripts screen
Todo:
- display only one of .lua/.luac in filechoice
- display proper script status on list page
2021-07-13 08:40:17 +02:00
Raphael Coeffic 068c1a0f11 Renamed "hiccups" to "TSI2CEvents"
And use uint32_t for counting them.
2021-07-12 08:58:54 +02:00
Raphael CoefficandRaphael Coeffic bdee14297e [color] Fix vario settings range 2021-07-12 07:30:13 +02:00
Raphael Coeffic 52acfcd20d Quick & dirty polling mode (don't care about INT line) 2021-07-11 17:43:31 +02:00
Raphael Coeffic 49ae57d370 Take account of some corner cases in I2C multi-byte read
See https://github.com/geoffreymbrown/STM32-Template/blob/master/Library/i2c.c#L39 and RM0090 p851-853.
2021-07-11 14:30:43 +02:00
Raphael CoefficandRaphael Coeffic e75bd64d54 Simplify pulses code with respect to period settings with PXX1 and PXX2
And a bit of clean-up.
2021-07-09 14:26:26 +02:00
Raphael CoefficandRaphael Coeffic 938679da2f Use longer period for PXX2 modules triggered by heartbeat signal and reset timer early
This allows to cope for the different frame rates used by ACCESS and ACCST modes. See opentx/opentx#8601 for details.
2021-07-09 14:26:26 +02:00
Raphael CoefficandRaphael Coeffic 4667b29698 [color] fix attempt for GT911 touch sensor driver
This fix contains 2 modifications:
- poll GT911_READ_XY_REG for 20ms in case not yet ready
- write 0 to GT911_READ_XY_REG in all cases

These fixes are largely inspired from the Linux GT9xx driver (see https://gitlab.com/AdyaAdya/goodix-touchscreen-linux-driver/-/blob/master/goodix.c)
2021-07-03 08:16:33 +02:00
Raphael CoefficandRaphael Coeffic 2650821475 Fix timer countdown time setting
Resolves #358
2021-06-28 14:14:57 +02:00