Commit Graph
1948 Commits
Author SHA1 Message Date
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 3a754126ca Try to fix external module. 2021-07-22 12:46:11 +08:00
Richard Li 31b819c83b Try to fix external module. 2021-07-22 12:44:26 +08:00
Richard Li 383985f73c Try to fix internal module. 2021-07-22 12:43:57 +08:00
Richard Li e54f2f4c0a Fixed build problems after merging from 2.4 2021-07-14 15:14:29 +08:00
richardclliandGitHub 85723fac20 Merge pull request #447 from EdgeTX/2.4
Merge from 2.4 branch
2021-07-14 10:41:13 +08:00
Raphael Coeffic 068c1a0f11 Renamed "hiccups" to "TSI2CEvents"
And use uint32_t for counting them.
2021-07-12 08:58:54 +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
rotormanandRaphael Coeffic 8c7f3cecec * removed red LED
* added GT911 fw version and hiccup cound output to analogs page
* changed I2C to 400 kHz
* changed X Y threshold to 1
* added trace output
* fixed bool / uint8_t errors
2021-07-11 13:04:13 +02:00
rotormanandRaphael Coeffic 2c65b21355 Based on PR #408 ff34616 that according to @rcvideoreviews on Discord works.
Added:
* @olliw42 PR #415 STOP condition fix.
* @raphaelcoeffic EXTI_Trigger_Rising
* fixed some uint8_t bool confusions
* added volatile to touchEventOccured that is set from ISR and accessed from main code
* changed to upload GT911 config also if config version is the same
2021-07-11 13:04:13 +02:00
olliw42andRaphael Coeffic 2eef807fba avoid compile warning 2021-07-10 07:06:57 +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
RistoandGitHub 7f472ff5e8 Merge pull request #396 from rotorman/X12S_RTC
Enable VBat bridge to enable RTC coin cell sampling on X12S
2021-07-07 10:36:28 +02:00
Richard Li 17ed43d0d0 Fixed flysky hall stick mod problem in T16. 2021-07-07 13:48:32 +08:00
Richard Li e2842550eb Finalized boot loader for NV14. 2021-07-07 13:25:00 +08:00
Richard Li e9bb2122ad Fixed lcd driver. 2021-07-07 12:47:38 +08:00
Richard Li 6df1f8bdbe Fixed bootloader. 2021-07-07 12:14:21 +08: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
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 3a9571eeb8 Fixed SWB/SWD problem. 2021-07-05 16:55:34 +08:00
Richard Li e029160eb5 Merge branch 'nv14-build' of https://github.com/EdgeTX/edgetx into nv14-build 2021-07-05 11:42:50 +08:00
richardclliandGitHub 6eae66b352 Merge pull request #407 from EdgeTX/2.4
Merge 2.4 changes
2021-07-05 11:42:14 +08:00
RistoandGitHub f604fed503 Try fix X12S RTC battery sampling 2021-07-03 13:48:02 +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
Richard Li 88cbc53786 Stick loop should be called per 1ms. 2021-06-30 17:18:14 +08:00
richardclliandGitHub 2222ee75e8 Merge pull request #373 from EdgeTX/2.4
Merge from 2.4
2021-06-30 15:14:08 +08:00
Richard Li fe532f32fe Some more fixes. 2021-06-30 15:10:45 +08:00
Richard Li fac4009621 Audio driver fix. 2021-06-30 15:07:15 +08:00
Raphael Coeffic 6126241f0b Revert "Further protection"
This reverts commit 751bb6127d.
2021-06-23 12:45:13 +02:00
Raphael CoefficandGitHub 582f399a2f Merge pull request #309 from EdgeTX/fix-isrm-pulses
Fix isrm pulses
2021-06-23 07:01:57 +02:00
Raphael Coeffic f3a01d7ee7 Fixed missing sliders on main screen and calibration 2021-06-23 06:43:26 +02:00
3djcandRaphael Coeffic 751bb6127d Further protection 2021-06-23 06:28:17 +02:00
Raphael Coeffic 53261ad067 Removed waiting for serial queue
triggers emergency mode in case serial port has not been enabled.
2021-06-22 20:36:50 +02:00
RistoandGitHub 4bfcbf7a05 Adds support for correct Alps EC10E roller hookup (#261)
Enhanced roller update (thx to Mike Blandford https://www.rcgroups.com/forums/showpost.php?p=46929617&postcount=9974 )

* TX12 should also have ROTARY_ENCODER_GRANULARITY 2
2021-06-21 18:43:40 +02:00
richardclliandGitHub 2f54a629a2 Merge pull request #289 from EdgeTX/2.4
Merge from 2.4 bug fixes
2021-06-21 15:45:44 +08:00
Raphael Coeffic 0011eebffa Fix attempt for locked touch
Thx Jakub!
2021-06-20 19:00:48 +02:00
qba667 865a8204b6 Fixed transistion form TE_SLIDE_END to TE_DOWN 2021-06-20 09:49:26 +02:00
qba667 0b365adaf9 Fixed LCD display for NV14 2021-06-20 09:48:04 +02:00
qba667 b621c90640 Removed not existing debug define 2021-06-20 09:46:57 +02:00
norulersandRaphael Coeffic 5e03b762ea Update gt911 config version 2021-06-15 09:53:13 +02:00
norulersandRaphael Coeffic f4b50cee9d Update T18 gt911 configuration 2021-06-15 09:53:12 +02:00
Raphael Coeffic 4dd8692191 Added GT911 config as provided by Jumper (not yet correct ATM) 2021-06-14 19:57:35 +02:00
Raphael Coeffic 7789f5547c Added touch support for T18
Resolves #138
2021-06-14 19:57:35 +02:00
Raphael CoefficandGitHub 802127852e Merge pull request #193 from EdgeTX/theme-facelift
Default Theme facelift
2021-06-14 19:50:09 +02:00
Raphael Coeffic f3fbed5a1b Fixed AUX serial definition in auxSerialSetup() 2021-06-14 17:45:43 +02:00
Raphael Coeffic 13de840ee0 Last round fixes 2021-06-14 13:48:48 +02:00