Commit Graph
2895 Commits
Author SHA1 Message Date
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
rotormanandRaphael Coeffic 897d2f3025 Adheres to the STM32F429 reference manual (RM0090) Section 10.3.17 DMA stream configuration procedure.
Before write access is permitted to numerous DMA registers, need to make sure that DMA is disabled for the stream. Disabling the stream is not instantaneous, and needs to be waited for (previous transmissions need to be finished first).

Added return values to numerous functions to signal a failure.
2021-07-31 18:46:40 +02:00
rotormanandRaphael Coeffic ec630671ad Small bugfix and added some comments. 2021-07-31 18:46:39 +02:00
Raphael Coeffic b1be0bf57d Fix X7 / XLITE(S) / X9LITE(S) targets 2021-07-31 18:46:39 +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 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 1f6b384927 internal module timer is no longer in use 2021-07-31 17:31:51 +02:00
rotormanandRaphael Coeffic 3ac70da582 Changed I2C timing to FreeRTOS ticks and added HAL_I2C_Mem_Write_DMA() and HAL_I2C_Mem_Read_DMA() from STM32F4 HAL in preparation of changing to DMA based I2C. 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 06f898006e Added F2 support and try to save 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 421d19bc6b Fixed interrupt prio 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 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
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
Raphael CoefficandGitHub 6e9b09b548 Merge pull request #494 from EdgeTX/nv14-build
NV14 Support and Build
2021-07-27 09:39:03 +02:00
Richard Li afe6245ae8 Updated extmodule change to only specific to NV14 and will not affect other radios. 2021-07-27 15:25:53 +08:00
Richard Li a752651cda Revert common adc driver changes for NV14. 2021-07-27 15:15:46 +08: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
Richard Li aede763f4c Merged remove useless powerup reason. 2021-07-27 14:38:54 +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
Raphael Coeffic 7700df705c Removed useless "powerupReason" 2021-07-27 08:09:04 +02:00
Raphael CoefficandGitHub 1dcb66d83a Merge pull request #477 from EdgeTX/403-access-denied
Enable ISRM internal module for non-FrSky hardware (T16 / TX16S / etc...)
2021-07-27 06:02:45 +02:00
Richard Li 15e19a52c4 Updated new definitions about RAM BACKUP. 2021-07-27 08:29:25 +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 0dc0d07b27 Fixed simu build problem. 2021-07-26 22:28:57 +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
richardclliandGitHub d9d4591008 Merge pull request #495 from EdgeTX/main
Merge from main
2021-07-24 00:23:37 +08: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
3djcandRaphael Coeffic fd94ffeb86 Fix colorlcd FRM302 (#8624) 2021-07-22 20:57:15 +02: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
Raphael Coeffic 6bf0fe2889 Cleanup useless code 2021-07-21 16:06:16 +02:00
Raphael Coeffic 00e4194a70 Replace proprietary libAccess 2021-07-20 13:52:29 +02:00
rotorman ef08fc019f Incremented GT911 configuration with +1 and stopped writing it to GT911 on init/start if the same version has already been flashed to GT911 (as previously). 2021-07-18 11:32:14 +02:00
RistoandGitHub 0423b8d286 Stop disabling interrupts while clearing ADDR bit 2021-07-17 14:40:28 +02:00
rotorman 5f0bac3dc9 Rewrore STM32F4 HAL_I2C_MspDeInit to not call HAL_GPIO_DeInit(), but only disable I2C GPIO with GPIO_Init(). 2021-07-16 18:40:52 +02:00
rotorman a886c72a55 Cosmetics 2021-07-15 23:09:33 +02:00