aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | 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.
* | | | boards: Update board BARTHESS to newer APIRomain Reignier2018-03-121-18/+171
| | | |
* | | | 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-0810-1701/+1226
|\ \ \ | | | | | | | | 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 hal_i2c_lld.cmarcoveeneman2017-11-241-4/+5
| | | |
* | | | 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-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
| | | |
* | | | 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 unit serial number inquiryKimmo Lindholm2017-10-122-2/+23
| | | |
* | | | Aligned the Tiva port to the SPI driver improvements.marcoveeneman2017-09-102-8/+34
| | | |
* | | | Merge branch 'master' into usbh_develFabien Poussin2017-08-086-1/+593
|\ \ \ \
| * \ \ \ Merge pull request #120 from marcoveeneman/tiva_add_adcmarcoveeneman2017-08-086-1/+593
| |\ \ \ \ | | | | | | | | | | | | 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
| | | | | |
| | * | | | Improved ADC driver and ADC testhal application.marcoveeneman2017-07-031-34/+33
| | | | | |
| | * | | | Initial ADC driver and testhal application for TM4C123x.marcoveeneman2017-07-035-1/+585
| | | |/ / | | |/| |
* | | | | USBH: FTDI: correct bugsDiego Ismirlian2017-08-071-3/+3
| | | | |
* | | | | USBH: simplify/cleanup main driverDiego Ismirlian2017-08-071-44/+10
| | | | |
* | | | | USBH: STM32 LLD: break LS activity detect loop if port is disabledDiego Ismirlian2017-08-071-11/+18
|/ / / /
* | | | USBH: STM32 LLD: various improvementsDiego Ismirlian2017-07-312-112/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
* | | | USBH: improved debug outputDiego Ismirlian2017-07-313-26/+56
| | | |
* | | | USBH: improved main driverDiego Ismirlian2017-07-311-47/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - improved connection/disconnection handling - corrected bug on aborting non-pending URB - corrected bug on disconnecting multiple hubs - improved debug messages
* | | | USBH: replaced some ch* functions with OSAL equivalentsDiego Ismirlian2017-07-162-48/+48
| | | |
* | | | USBH: remove unnecessary reschedules and add necessary onesDiego Ismirlian2017-07-169-38/+35
| | | |
* | | | USBH: Use infinite timeout for control request, when timeouts are not specifiedDiego Ismirlian2017-07-161-1/+1
| | | |
* | | | USBH: HID: Implement synchronizationDiego Ismirlian2017-07-163-14/+34
| | | |
* | | | USBH: HUB: don't clear status flags on NAKDiego Ismirlian2017-07-161-4/+2
| | | |