aboutsummaryrefslogtreecommitdiffstats
path: root/os
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Merge pull request #148 from romainreignier/add_stm32L4Fabien Poussin2018-03-151-0/+21
| |\ \ \ | | | | | | | | | | platform: add support for STM32L4 family
| | * | | platform: add support for STM32L4 familyRomain Reignier2018-03-121-0/+21
| | | | |
| * | | | Merge pull request #149 from marcoveeneman/improve_tiva_makefilesFabien Poussin2018-03-159-18/+44
| |\ \ \ \ | | | | | | | | | | | | Improve tiva makefiles
| | * | | | Fixed warnings triggered by -Wundef compile optionmarcoveeneman2018-03-123-18/+18
| | | | | |
| | * | | | Fixed wrong variable name for ASM filesmarcoveeneman2018-03-102-6/+6
| | | | | |
| | * | | | Added shared variables to startup, board and platform makefilesmarcoveeneman2018-03-106-0/+26
| | | | | |
| * | | | | Fixed most testhal examples for STM32, updated configs using script. Fixed ↵Fabien Poussin2018-03-1411-21/+21
| | |/ / / | |/| | | | | | | | | | | | | deprecated MS2ST calls.
| * | | | Keep track of STM32 RCC APIRomain Reignier2018-03-113-25/+25
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | RCC API changed in 01/2018 so apply the changes. Note that ae7a4d40b84d8afc999691577210696f16e682f6 partially fixed the changes in QEI module but some were missing. So update the other modules too.
* | | | lib_sci: FIX 'for' loop initial declarations are only allowed in C99 or C11 modeRomain Reignier2018-03-121-1/+2
| | | |
* | | | boards: Update board BARTHESS to newer APIRomain Reignier2018-03-121-18/+171
| | | |
* | | | fatfs: update to latest ChibiOS changesRomain Reignier2018-03-122-11/+11
| | | |
* | | | hal_usbh: update to new Time macrosRomain Reignier2018-03-124-14/+14
| | | |
* | | | hal_fsmc: update to new RCC APIRomain Reignier2018-03-121-1/+1
| | | |
* | | | hal: stm32: Keep track of latest STM32 RCC APIRomain Reignier2018-03-123-25/+25
|/ / / | | | | | | | | | | | | | | | | | | RCC API changed in 01/2018 so apply the changes. Note that ae7a4d40b84d8afc999691577210696f16e682f6 partially fixed the changes in QEI module but some were missing. So update the other modules too.
* | | Merge pull request #145 from marcoveeneman/tiva_improvementsFabien Poussin2018-03-0812-1711/+1238
|\ \ \ | | | | | | | | Various Tiva improvements
| * | | Renamed GPIO IRQ priority definitions for the PAL drivermarcoveeneman2018-03-072-128/+128
| | | |
| * | | Removed EXT driver filesmarcoveeneman2018-03-023-1508/+0
| | | |
| * | | Implemented events to PAL driver for Tiva devices.marcoveeneman2018-03-022-3/+1223
| | | | | | | | | | | | | | | | Most code from the EXT driver could be reused.
| * | | Added number of GPIO pins to TM4C129x registry.marcoveeneman2018-03-021-0/+2
| | | |
| * | | Fixed hal_st_lld still using old register access.marcoveeneman2018-03-021-22/+22
| | | | | | | | | | | | | | | | Registers are now accessed using the HWREG() macro.
| * | | Updated platform.mk files to handle halconf.h files located in CONFDIRmarcoveeneman2018-03-022-2/+16
| | | |
| * | | Fixed bug in pal_lld_writepad implementationmarcoveeneman2018-03-011-1/+1
| | | |
| * | | Changed PAL driver so that TM4C123x devices GPIO blocks always use AHB.marcoveeneman2018-02-282-210/+6
| | | |
| * | | Fixed startup makefilesmarcoveeneman2018-02-272-8/+10
| | | | | | | | | | | | | | | | vectors.c was replaced by vectors.S
| * | | Fixed hal_i2c_lld.cmarcoveeneman2017-11-241-4/+5
| | | |
| * | | Updated startup makefiles with new path to CMSIS Core headersmarcoveeneman2017-11-232-2/+2
| | | |
* | | | Fixes for STM32F0 testhalFabien Poussin2018-03-083-23/+167
| | | |
* | | | 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-082-17/+42
|\ \ \ \ | | | | | | | | | | 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.
| * | | | Fix typo in k20xx.hFred Sundvik2018-02-081-1/+1
| | |_|/ | |/| |
* | | | Add usb_lld_wakeup_host for KinetisFred Sundvik2018-02-031-0/+23
| | | |
* | | | Added support for STM32F7Adrian2018-01-315-5/+20
| |_|/ |/| | | | | | | | Tested only for STM32F746, other chipsets have to be checked.
* | | Add STM32F769 to FSMCv1 sdram driverDave Flogeras2017-12-143-3/+5
| |/ |/|
* | Merge pull request #125 from marcoveeneman/tiva_add_uartmarcoveeneman2017-11-233-0/+1301
|\ \ | | | | | | Add Tiva UART driver.
| * | Initial version of the Tiva UART driver.marcoveeneman2017-09-103-0/+1301
| | |
* | | 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
| | | |
* | | | SCSI: Respond to TEST UNIT READY command, Fix REQUEST SENSE replyingKimmo Lindholm2017-10-211-18/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When host sends TEST UNIT READY command, set sense 'all ok' if block device reports that medium is inserted, or set sense 'medium not present' if medium is not inserted. Do not override sense by default with 'all ok', allow REQUEST SENSE command to be responded with correct sense data which was set on last failure. Check just DESC bit when responding to REQUEST SENSE command.
* | | | SCSI: Respond to unit serial number inquiryKimmo Lindholm2017-10-124-3/+44
| | | |
* | | | Aligned the Tiva port to the SPI driver improvements.marcoveeneman2017-09-102-8/+34
| | | |
* | | | Merge branch 'master' into usbh_develFabien Poussin2017-08-088-1/+595
|\ \ \ \
| * \ \ \ Merge pull request #120 from marcoveeneman/tiva_add_adcmarcoveeneman2017-08-088-1/+595
| |\ \ \ \ | | | | | | | | | | | | Tiva add ADC driver
| | * | | | Fixed ADC driver.mkmarcoveeneman2017-07-031-2/+2
| | | | | |
| | * | | | Added missing driver.mk file for the ADC driver.marcoveeneman2017-07-031-0/+9
| | | | | |