Commit Graph

119 Commits

Author SHA1 Message Date
Fabien Poussin f9f0c2d10c Fixed DMA for 19.1.x 2019-10-01 19:50:42 +02:00
Fabien Poussin 6736a9099b Fixes for STM32L4, Comp and eeprom. 2019-09-18 11:49:12 +02:00
Fabien Poussin a8bd0ca9da Fixed COMP1 peripheral name 2019-09-17 14:57:16 +02:00
Fabien Poussin 9483bacf88 Adding devices for STM32L4 2019-09-17 13:51:40 +02:00
markuspetermann 5ea770676f
Added hal lld's to platform.mk of STM32F7xx 2019-08-07 00:36:02 +02:00
José Simões f014b8da68 Fixes for USB MSD
- Fix return value on succesfull scsi_requestsense.
- Fix calls to LL SMT32 API for OTG2.
- Port changes from ChibiOS fatfs_diskio.
- Rework checks to allow simultaneous use of SD Card and USB MSD.

Signed-off-by: José Simões <jose.simoes@eclo.solutions>
2019-02-27 15:00:50 +00:00
Fabien Poussin 6076bdf27d Updating OpAmp code with calibration functions, cleaning. 2019-01-31 17:52:13 +01:00
Fabien Poussin 91e635b08a Adding rudimentary OPAMP Driver 2019-01-08 20:02:45 +01:00
Fabien Poussin 1391af251d
Merge pull request #170 from kajusK/qei
Added setting qei to value for stm32
2018-11-01 14:37:02 +01:00
Dave Flogeras 28a4beafd1 Fix for rccEnableCRC macro parameter.
This was removed in commit
ae7a4d40b84d8afc999691577210696f16e682f6#diff-7ddaa5ecc31109f41b7801dea2660b47

But I think is still necessary as the underlying rccEnableAHB macros
take parameter 'lp'.  It seems to work for the F0xx series, because its
rccEnableAHB ignores the 'lp'.  It is required when I tried to use the
CRC driver on a family that does require the 'lp' parameter in the lower
level macros.
2018-11-01 09:34:19 -03:00
Jakub Kaderka c4519da48a Added setting qei to value for stm32 2018-10-16 20:25:29 +02:00
Austin Morton 40769f9bd3 avoid using list_for_each_entry_safe when closing endpoints to prevent potential infinite loop
list_for_each_entry_safe is only safe when the current entry is being removed.
If other entries in the list could potentially be removed it can result in an infinite loop.

Because usbh_lld_ep_close blocks on each urb during iteration, it may give up its lock on
the system and allow an interrupt to remove a different urb from the list,
resulting in an infinite loop when the thread resumes.
2018-10-01 17:57:11 -04:00
Austin Morton ca79ff2e87 fix some compiler warnings around USBH_DEBUG_ENABLE conditions 2018-10-01 17:55:08 -04:00
Austin Morton 36ccd9f43a implement _ptxfe_int to support ISO and INT out transfers 2018-10-01 17:53:07 -04:00
Konstantin Oblaukhov ccfc910829 Update STM32 platform makefiles, add per-driver makefiles. 2018-09-24 20:25:22 +07:00
Unknown 6ac9e40dfa Fix STM32 LLD CRCv1 large data bug in DMA mode
* STM32 DMA can only handle 65535 bytes per transfer so larger data sets
   have to split up to be correctly handled when using DMA
2018-07-12 15:01:44 +02:00
Fabien Poussin 3add406135
Merge branch 'master' into update_tests 2018-03-15 12:51:14 +01:00
Fabien Poussin dabdfca04e
Merge pull request #148 from romainreignier/add_stm32L4
platform: add support for STM32L4 family
2018-03-15 12:07:33 +01:00
Fabien Poussin 424c7a2717 Fixed most testhal examples for STM32, updated configs using script. Fixed deprecated MS2ST calls. 2018-03-14 20:15:13 +01:00
Romain Reignier 6513490986 platform: add support for STM32L4 family 2018-03-12 21:33:11 +01:00
Romain Reignier e1e6f87481 hal_usbh: update to new Time macros 2018-03-12 21:20:32 +01:00
Romain Reignier 26a11251bf hal_fsmc: update to new RCC API 2018-03-12 21:20:32 +01:00
Romain Reignier 918149d48d hal: stm32: Keep track of latest STM32 RCC API
RCC API changed in 01/2018 so apply the changes.

Note that ae7a4d40b8 partially fixed the changes in QEI module but some were missing.
So update the other modules too.
2018-03-12 21:20:07 +01:00
Romain Reignier b143e38a66 Keep track of STM32 RCC API
RCC API changed in 01/2018 so apply the changes.

Note that ae7a4d40b8 partially fixed the changes in QEI module but some were missing.
So update the other modules too.
2018-03-11 22:13:06 +01:00
Fabien Poussin ae7a4d40b8 Fixes for STM32F0 testhal 2018-03-08 20:14:13 +01:00
Adrian 90b7d6bbd0 Added support for STM32F7
Tested only for STM32F746, other chipsets have to be checked.
2018-01-31 09:55:38 +01:00
Dave Flogeras 5cc37ffd32 Add STM32F769 to FSMCv1 sdram driver 2017-12-14 16:25:15 -04:00
Diego Ismirlian 6a9d91cb1a USBH: STM32 LLD: break LS activity detect loop if port is disabled 2017-08-07 17:47:52 -03:00
Diego Ismirlian 02585210d1 USBH: STM32 LLD: various improvements
- general cleanup
- implemented workaround to undocumented erratum (the OTG core may
report successful enabling of port when connecting a low-speed device,
but really it generates no traffic and remains in a "dumb" state)
- improved handling of disconnection of devices (avoid submitting URBs
if the port is disabled)
2017-07-31 18:48:23 -03:00
Diego Ismirlian dee22cee18 USBH: remove unnecessary reschedules and add necessary ones 2017-07-16 20:01:50 -03:00
Diego Ismirlian 4026bc900d USBH: Correct bug in LLD 2017-07-16 18:19:06 -03:00
Diego Ismirlian c938866844 USBH: moved definition of driver to LLD 2017-07-09 18:29:44 -03:00
Diego Ismirlian d2c155b4cf USBH: moved declaration of driver to LLD 2017-06-09 11:07:20 -03:00
Diego Ismirlian 78da479955 USBH: STM32 lld, activate correction of unexpected length 2017-06-08 12:37:24 -03:00
Diego Ismirlian 61c3a28398 Mass license dates update 2017-06-05 11:04:30 -03:00
Diego Ismirlian a77ab485fb Remove redundant hal_stm32_otg.h file
The correct version is already present in ChibiOS
2017-06-05 10:27:20 -03:00
Diego Ismirlian 5ecaf7722b USB Host fixes
- Cleaned up alignment macros for GCC & IAR
- Corrected EP halt and Clear halt behaviours
- Initialization of class drivers by USB Host main driver
- Minor cosmetic fixes
- Updated USB_HOST testhal app
2017-06-05 10:18:45 -03:00
Andres Vahter c5be9cd85b Add checks to QEI if STM32 TIM is already used 2017-06-05 09:25:37 +03:00
Romain Reignier 15517ffbd0 [DMA2D, LTDC] Removing ch.h dependencies. Fix #111. 2017-02-28 22:59:28 +01:00
Fabien Poussin 4ffde4b17e [Comp] Adding interrupt functions, updating example. 2017-02-09 12:30:21 +01:00
Fabien Poussin fd89254b0d [Comp] Adding support for STM32F0. 2017-02-07 16:08:08 +01:00
Fabien Poussin 8b7e318d78 [Comp] Adding more defines 2017-02-07 15:46:43 +01:00
Fabien Poussin 1d10f06ab4 [Comp] Adding init, helper defines. 2017-02-07 15:37:20 +01:00
Fabien Poussin f4687bd298 [Comp] Cleaning example, removing dependencies and adding checks. 2017-02-07 15:20:28 +01:00
Fabien Poussin 7059c87ab4 [COMP] Fixing headers, missing includes. 2017-02-07 10:58:11 +01:00
Fabien Poussin 86428716d5 Adding COMP Driver. 2017-02-06 20:09:28 +01:00
Fabien Poussin 11e949d81b [Timcap/Eeprom] Removing ch.h dependencies. 2017-02-06 13:32:36 +01:00
barthess c09968f967 [STM32, NAND] Fixed #elif without expression 2017-01-24 12:15:04 +03:00
barthess 88c55f1aaa FSMC NAND improvements.
1) Implemented 16 bit bus width support
2) Added workaround errata in STM32
2017-01-17 21:10:54 +03:00
barthess 3e8fdd762a Merge branch 'master' of github.com:ChibiOS/ChibiOS-Contrib 2017-01-06 11:06:52 +03:00