Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | KINETIS platform update for ChibiOS 18.2.x. | Konstantin Oblaukhov | 2018-11-20 | 27 | -3684/+2383 |
| | |||||
* | Reorganize KINETIS driver files | Konstantin Oblaukhov | 2018-11-20 | 18 | -21/+21 |
| | |||||
* | Adding missing interrupt vector for SDHC on MK66F18 MCU | Michael Walker | 2018-05-08 | 1 | -0/+4 |
| | |||||
* | Merge pull request #158 from walkerstop/mike | Fabien Poussin | 2018-05-07 | 13 | -3/+2618 |
|\ | | | | | Kinetis MK66F18 and PJRC Teensy 3.6 support | ||||
| * | Fix MK66F18 compilation for the following HALs: Serial, I2C, EXT, ADC, GPT, ↵ | Michael Walker | 2018-05-07 | 5 | -4/+27 |
| | | | | | | | | PWM, SPI | ||||
| * | Correct register definitions for MK66F18 for LPTMR and FlexRAM | Michael Walker | 2018-05-03 | 1 | -0/+3 |
| | | |||||
| * | Always use IRC48M clock for USB on MK66F18 | Michael Walker | 2018-05-02 | 1 | -0/+3 |
| | | |||||
| * | Always use IRC48M clock for USB on MK66F18 | Michael Walker | 2018-05-02 | 1 | -5/+6 |
| | | |||||
| * | Disable MPU by default | Michael Walker | 2018-05-02 | 1 | -0/+5 |
| | | |||||
| * | Merge branch 'master' into mike | Michael Walker | 2018-05-02 | 1 | -5/+0 |
| |\ | |||||
| | * | Remove duplicate code already in upstream master and add include dir | Michael Walker | 2018-05-02 | 1 | -5/+0 |
| | | | |||||
| * | | Merge branch 'master' into mike | Michael Walker | 2018-05-02 | 7 | -110/+1414 |
| |\| | |||||
| | * | Remove duplication | Michael Walker | 2018-05-02 | 1 | -19/+0 |
| | | | |||||
| | * | Merge remote-tracking branch 'upstream/master' | Michael Walker | 2018-05-02 | 8 | -92/+1494 |
| | |\ | |||||
| * | | | disable voltage inrush regulator | Michael Walker | 2018-05-01 | 1 | -0/+6 |
| | | | | |||||
| * | | | iasdfa | Michael Walker | 2018-05-01 | 1 | -0/+3 |
| | | | | |||||
| * | | | support Teensy 3.6 | Michael Walker | 2018-05-01 | 1 | -1/+7 |
| | | | | |||||
| * | | | Merge branch 'master' into mike | Michael Walker | 2018-05-01 | 2 | -0/+28 |
| |\| | | |||||
| | * | | Enable Kinesis on newer ChibiOS | Michael Walker | 2018-05-01 | 2 | -0/+28 |
| | | | | |||||
| * | | | Attempt at Teensy 3.6 support | Michael Walker | 2018-04-30 | 11 | -1/+2645 |
| |/ / | |||||
* | | | Merge pull request #156 from wiml/k64_support | Fabien Poussin | 2018-05-05 | 4 | -0/+756 |
|\ \ \ | |_|/ |/| | | Kinetis K64 and PJRC Teensy3.5 support | ||||
| * | | Basic support for the (Motorola/Freescale/NXP) Kinetis MK64FX512 chip, | Wim Lewis | 2018-01-06 | 4 | -0/+756 |
| | | | | | | | | | | | | partially copied from the existing K20 support. | ||||
* | | | Fixed most testhal examples for STM32, updated configs using script. Fixed ↵ | Fabien Poussin | 2018-03-14 | 1 | -1/+1 |
| | | | | | | | | | | | | deprecated MS2ST calls. | ||||
* | | | Merge pull request #139 from wiml/kinetis_sdhc | Fabien Poussin | 2018-03-08 | 2 | -0/+1179 |
|\ \ \ | | | | | | | | | Add support for the Kinetis SDHC peripheral | ||||
| * | | | Use an interrupt instead of polling for simple commands. | Wim Lewis | 2018-01-18 | 1 | -21/+15 |
| | | | | | | | | | | | | | | | | Updated some comments and some trace statements. | ||||
| * | | | Improved error handling: check the card's state before trying to abort | Wim Lewis | 2018-01-18 | 1 | -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 MK64FX512 | Wim Lewis | 2018-01-06 | 2 | -0/+1107 |
| |/ / | | | | | | | | | | and other members of the Kinetis family. | ||||
* | | | Merge pull request #136 from wiml/k64_uarts | Fabien Poussin | 2018-03-08 | 2 | -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 Lewis | 2017-12-08 | 2 | -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_sync | Fabien Poussin | 2018-03-08 | 1 | -16/+41 |
|\ \ \ | | | | | | | | | Fix Kinetis usb databank synchronization problems | ||||
| * | | | Fix data usb data toggle sync problem | Fred Sundvik | 2018-02-08 | 1 | -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 Kinetis | Fred Sundvik | 2018-02-03 | 1 | -0/+23 |
| |/ |/| | |||||
* | | Merge pull request #133 from belak/k20x-mcg-c2 | Fabio Utzig | 2017-11-04 | 1 | -3/+2 |
|\ \ | | | | | | | Fix for K20x startup | ||||
| * | | Fix for K20x startup | Kaleb Elwert | 2017-11-04 | 1 | -3/+2 |
| | | | |||||
* | | | [KINETIS] Add saved_state to USB driver. | flabbergast | 2016-07-17 | 1 | -0/+4 |
| |/ |/| | |||||
* | | [KINETIS] Fixes for kernel-less builds. | flabbergast | 2016-05-20 | 3 | -7/+3 |
|/ | |||||
* | [KINETIS] PAL driver: implement PAL_LINE. | flabbergast | 2016-05-08 | 1 | -0/+37 |
| | |||||
* | Merge pull request #62 from flabbergast/i2c | Fabio Utzig | 2016-04-27 | 2 | -58/+242 |
|\ | | | | | [KINETIS] I2C update (timeouts, KL27Z) | ||||
| * | [KINETIS] Add I2C workaround for KL27Z. | flabbergast | 2016-04-25 | 2 | -3/+74 |
| | | |||||
| * | [KINETIS] Fix I2C clock divisor computation. | flabbergast | 2016-04-25 | 1 | -2/+2 |
| | | |||||
| * | [KINETIS] I2C driver: implement timeout. | flabbergast | 2016-04-25 | 2 | -6/+32 |
| | | |||||
| * | [KINETIS] Slightly rewrite and comment i2c driver. | flabbergast | 2016-04-25 | 1 | -56/+143 |
| | | |||||
* | | [KINETIS] fix ADC LLD bug, grpp access after clear | bunnie | 2016-04-24 | 1 | -2/+3 |
|/ | |||||
* | [KINETIS] Fix I2C TX to not wait for RX if requested rxbytes is 0 | Jonathan Struebel | 2016-04-08 | 1 | -1/+1 |
| | |||||
* | [KINETIS] Rename header guards in HAL. | flabbergast | 2016-04-04 | 15 | -45/+45 |
| | |||||
* | [KINETIS] Rename HAL LLD files. | flabbergast | 2016-04-04 | 24 | -19/+19 |
| | |||||
* | [KINETIS] HAL cleanup/update. | flabbergast | 2016-03-22 | 37 | -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 contrib | Fabio Utzig | 2016-03-08 | 2 | -21/+21 |
| | |||||
* | [KINETIS] Move from main repo to contrib | Fabio Utzig | 2016-03-07 | 36 | -0/+11690 |