Commit Graph

655 Commits

Author SHA1 Message Date
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 bdcee91586 Missing op amp file for non smart build 2019-01-25 13:29:47 +01:00
Fabien Poussin 49a3d9b0f7 Adding median library 2019-01-10 11:17:36 +01:00
Fabien Poussin e19ff53f02
Merge pull request #178 from AndruPol/master
added NRF52 pwm, icu, i2c, radio esb drivers
2019-01-09 02:51:33 +01:00
Fabien Poussin 91e635b08a Adding rudimentary OPAMP Driver 2019-01-08 20:02:45 +01:00
andru 2168085ac7 added NRF52 pwm, icu, i2c, radio esb drivers 2019-01-08 11:22:01 +03:00
Konstantin Oblaukhov 33375fb281 Fix USB HID driver. 2018-11-20 09:53:46 +07:00
Konstantin Oblaukhov a6bb21d05b KINETIS tests and demos updated to ChibiOS 18.2.x. 2018-11-20 09:53:38 +07:00
Konstantin Oblaukhov d921781a45 KINETIS platform update for ChibiOS 18.2.x. 2018-11-20 09:53:30 +07:00
Konstantin Oblaukhov d200007a29 Reorganize KINETIS driver files 2018-11-20 09:53:22 +07:00
Konstantin Oblaukhov 0e6f501f80 Update all NRF5x makefiles and chconf.h.
Add missing halconf_community.h
2018-11-20 09:52:42 +07:00
Konstantin Oblaukhov f4d6d90989 NRF5x platform - new Makefiles. 2018-11-20 09:52:26 +07:00
Konstantin K. Oblaukhov ca35947f81 Reorganize NRF5x driver files. 2018-11-20 09:52:01 +07: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 2db0e3fd78 New style makefiles for demos and tests. 2018-09-24 20:31:28 +07:00
Konstantin Oblaukhov 7ab18994e7 Adopt sources to new HAL. 2018-09-24 20:29:02 +07:00
Konstantin Oblaukhov ccfc910829 Update STM32 platform makefiles, add per-driver makefiles. 2018-09-24 20:25:22 +07:00
Konstantin Oblaukhov 2c72509900 Smart build for HAL. 2018-09-24 20:22:33 +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
Vitaly Repetenko 5a19c14600 Issue #162: QEI driver macros not defined error fixed 2018-06-19 23:43:34 +03:00
Michael Walker 8f974a83a5 Adding missing interrupt vector for SDHC on MK66F18 MCU 2018-05-08 07:39:53 -07:00
Fabien Poussin 6cc0927c06
Merge pull request #158 from walkerstop/mike
Kinetis MK66F18 and PJRC Teensy 3.6 support
2018-05-07 16:58:30 +02:00
Michael Walker 619d45c0ff Fix MK66F18 compilation for the following HALs: Serial, I2C, EXT, ADC, GPT, PWM, SPI 2018-05-07 07:45:08 -07:00
Fabien Poussin 43fb76203d
Merge pull request #157 from walkerstop/master
Kinetis compilation errors with latest code from ChibiOS master branch
2018-05-05 19:24:18 +02:00
Fabien Poussin dfd4708dbc
Merge pull request #156 from wiml/k64_support
Kinetis K64 and PJRC Teensy3.5 support
2018-05-05 19:23:19 +02:00
Michael Walker f4b640014d Correct register definitions for MK66F18 for LPTMR and FlexRAM 2018-05-03 15:17:52 -07:00
Michael Walker 8f7e1d18b9 Always use IRC48M clock for USB on MK66F18 2018-05-02 07:53:01 -07:00
Michael Walker 5bec0d7abc Always use IRC48M clock for USB on MK66F18 2018-05-02 06:49:29 -07:00
Michael Walker 0f3af19758 Disable MPU by default 2018-05-02 05:15:22 -07:00
Michael Walker 72b22c7f67 Merge branch 'master' into mike 2018-05-02 03:48:09 -07:00
Michael Walker 1fefdf78fe Remove duplicate code already in upstream master and add include dir 2018-05-02 03:47:26 -07:00
Michael Walker cd7559268d Merge branch 'master' into mike 2018-05-02 03:37:31 -07:00
Michael Walker 457afa6202 Remove duplication 2018-05-02 03:36:12 -07:00
Michael Walker 6d879f58f5 Merge remote-tracking branch 'upstream/master' 2018-05-02 03:33:23 -07:00
Michael Walker 4d7ccdd1fc More corrections 2018-05-01 14:46:56 -07:00
Michael Walker 0fbddccd80 disable voltage inrush regulator 2018-05-01 03:26:28 -07:00
Michael Walker 46233064c5 iasdfa 2018-05-01 01:07:46 -07:00
Michael Walker 7506c2a2c1 support Teensy 3.6 2018-05-01 00:46:42 -07:00
Michael Walker 547c570af0 Update 2018-05-01 00:42:01 -07:00
Michael Walker c7e0258666 Merge branch 'master' into mike 2018-05-01 00:37:57 -07:00
Michael Walker 4e9f077fb1 Enable Kinesis on newer ChibiOS 2018-05-01 00:26:06 -07:00
Michael Walker b0a7581067 Attempt at Teensy 3.6 support 2018-04-30 16:34:26 -07:00
Fabien Poussin 71fe8e7ced Renaming PID struct typedef to avoid conflicts 2018-03-25 04:21:11 +02:00
Fabien Poussin 9e5aba8bd9 Adding basic PID demo. 2018-03-22 18:16:20 +01:00