aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/KINETIS
Commit message (Collapse)AuthorAgeFilesLines
* KINETIS platform update for ChibiOS 18.2.x.Konstantin Oblaukhov2018-11-2027-3684/+2383
|
* Reorganize KINETIS driver filesKonstantin Oblaukhov2018-11-2018-21/+21
|
* Adding missing interrupt vector for SDHC on MK66F18 MCUMichael Walker2018-05-081-0/+4
|
* Merge pull request #158 from walkerstop/mikeFabien Poussin2018-05-0713-3/+2618
|\ | | | | Kinetis MK66F18 and PJRC Teensy 3.6 support
| * Fix MK66F18 compilation for the following HALs: Serial, I2C, EXT, ADC, GPT, ↵Michael Walker2018-05-075-4/+27
| | | | | | | | PWM, SPI
| * Correct register definitions for MK66F18 for LPTMR and FlexRAMMichael Walker2018-05-031-0/+3
| |
| * Always use IRC48M clock for USB on MK66F18Michael Walker2018-05-021-0/+3
| |
| * Always use IRC48M clock for USB on MK66F18Michael Walker2018-05-021-5/+6
| |
| * Disable MPU by defaultMichael Walker2018-05-021-0/+5
| |
| * Merge branch 'master' into mikeMichael Walker2018-05-021-5/+0
| |\
| | * Remove duplicate code already in upstream master and add include dirMichael Walker2018-05-021-5/+0
| | |
| * | Merge branch 'master' into mikeMichael Walker2018-05-027-110/+1414
| |\|
| | * Remove duplicationMichael Walker2018-05-021-19/+0
| | |
| | * Merge remote-tracking branch 'upstream/master'Michael Walker2018-05-028-92/+1494
| | |\
| * | | disable voltage inrush regulatorMichael Walker2018-05-011-0/+6
| | | |
| * | | iasdfaMichael Walker2018-05-011-0/+3
| | | |
| * | | support Teensy 3.6Michael Walker2018-05-011-1/+7
| | | |
| * | | Merge branch 'master' into mikeMichael Walker2018-05-012-0/+28
| |\| |
| | * | Enable Kinesis on newer ChibiOSMichael Walker2018-05-012-0/+28
| | | |
| * | | Attempt at Teensy 3.6 supportMichael Walker2018-04-3011-1/+2645
| |/ /
* | | Merge pull request #156 from wiml/k64_supportFabien Poussin2018-05-054-0/+756
|\ \ \ | |_|/ |/| | Kinetis K64 and PJRC Teensy3.5 support
| * | Basic support for the (Motorola/Freescale/NXP) Kinetis MK64FX512 chip,Wim Lewis2018-01-064-0/+756
| | | | | | | | | | | | partially copied from the existing K20 support.
* | | Fixed most testhal examples for STM32, updated configs using script. Fixed ↵Fabien Poussin2018-03-141-1/+1
| | | | | | | | | | | | deprecated MS2ST calls.
* | | Merge pull request #139 from wiml/kinetis_sdhcFabien Poussin2018-03-082-0/+1179
|\ \ \ | | | | | | | | Add support for the Kinetis SDHC peripheral
| * | | Use an interrupt instead of polling for simple commands.Wim Lewis2018-01-181-21/+15
| | | | | | | | | | | | | | | | Updated some comments and some trace statements.
| * | | Improved error handling: check the card's state before trying to abortWim Lewis2018-01-181-10/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | a failed data transfer; translate card status bits into HLD error bits. Set BLKATTR_BLKCNT even when it's not being used, which seems to avoid errors when alternating between multi-block and single-block transfers. Some comments.
| * | | Low-level driver for the Kinetis SDHC peripheral as found on the MK64FX512Wim Lewis2018-01-062-0/+1107
| |/ / | | | | | | | | | and other members of the Kinetis family.
* | | Merge pull request #136 from wiml/k64_uartsFabien Poussin2018-03-082-72/+248
|\ \ \ | | | | | | | | Added support for additional UARTs (up to six on the K64F).
| * | | Added support for additional UARTs (up to six on the K64F).Wim Lewis2017-12-082-72/+248
| |/ / | | | | | | | | | | | | Also moved some code that is duplicated per-UART into local functions to reduce the amount of duplication.
* | | Merge pull request #143 from qmk/fix_kinesis_usb_data_syncFabien Poussin2018-03-081-16/+41
|\ \ \ | | | | | | | | Fix Kinetis usb databank synchronization problems
| * | | Fix data usb data toggle sync problemFred Sundvik2018-02-081-16/+41
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB control transfers are structured as the following. For incoming transfers Setup (Data0 out) Data (Data1/Data0 in) - starting with data 1 Status (Data1 out) For outgoing transfers Setup (Data0 out) Data (Data1/Data0 out) - starting with data 1 Status (Data1 in) The in buffers (device to host) are always correctly synchronized, since they can always be reset to Data1 each setup packet without any synchronization problems. The problem occured for outgoing transfers (host to device). For incoming transfers the data banks always alternates, and will automatically stay in sync. Outgoing transfers also stays in sync when there's an odd number of data packets. However when the number is even, including zero, then the last packet received by the device will be data0 and the next setup packet also has to be data0, so there's a synchronization problem. This itself is not a problem since data toggle synchronization(DTS) is ignored for setup packets, however if the follwoing packet after that is also an out packet, then the data bank will be wrong and the packet dropped. In this case the USB spec don't allow sending a nack, so it will only recover after a timeout, when the host tries to send a new setup packet. The old code tried to take care of this situation by reinitializing both data banks when a setup packet is received. The problem is that the next packet might already have been received or is in progress of being received at this point, so the fixup comes to late. The new code does the fixup when a status packet is about to be sent from the device to avoid this problem.
* | | Add usb_lld_wakeup_host for KinetisFred Sundvik2018-02-031-0/+23
| |/ |/|
* | Merge pull request #133 from belak/k20x-mcg-c2Fabio Utzig2017-11-041-3/+2
|\ \ | | | | | | Fix for K20x startup
| * | Fix for K20x startupKaleb Elwert2017-11-041-3/+2
| | |
* | | [KINETIS] Add saved_state to USB driver.flabbergast2016-07-171-0/+4
| |/ |/|
* | [KINETIS] Fixes for kernel-less builds.flabbergast2016-05-203-7/+3
|/
* [KINETIS] PAL driver: implement PAL_LINE.flabbergast2016-05-081-0/+37
|
* Merge pull request #62 from flabbergast/i2cFabio Utzig2016-04-272-58/+242
|\ | | | | [KINETIS] I2C update (timeouts, KL27Z)
| * [KINETIS] Add I2C workaround for KL27Z.flabbergast2016-04-252-3/+74
| |
| * [KINETIS] Fix I2C clock divisor computation.flabbergast2016-04-251-2/+2
| |
| * [KINETIS] I2C driver: implement timeout.flabbergast2016-04-252-6/+32
| |
| * [KINETIS] Slightly rewrite and comment i2c driver.flabbergast2016-04-251-56/+143
| |
* | [KINETIS] fix ADC LLD bug, grpp access after clearbunnie2016-04-241-2/+3
|/
* [KINETIS] Fix I2C TX to not wait for RX if requested rxbytes is 0Jonathan Struebel2016-04-081-1/+1
|
* [KINETIS] Rename header guards in HAL.flabbergast2016-04-0415-45/+45
|
* [KINETIS] Rename HAL LLD files.flabbergast2016-04-0424-19/+19
|
* [KINETIS] HAL cleanup/update.flabbergast2016-03-2237-5615/+3880
| | | | | | | New entries in kinetis_registry.h to support new MCUs. Moved registers to ext/CMSIS, like it is done for STM32. Move the same drivers to LLD. Add USB driver.
* [KINETIS] Fix platform driver references to contribFabio Utzig2016-03-082-21/+21
|
* [KINETIS] Move from main repo to contribFabio Utzig2016-03-0736-0/+11690