summaryrefslogtreecommitdiff
path: root/src/usbh_lld_stm32f4.c
AgeCommit message (Collapse)AuthorFilesLines
2016-09-11lld: add mask with epdirAmir Hammad1-1/+1
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-09-11lld: remove not used error_count field in channel structAmir Hammad1-2/+0
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-09-11lld: simplify stm32f4_usbh_port_channel_setupAmir Hammad1-36/+23
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-09-11lld: rework low level driver initializationAmir Hammad1-4/+4
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-09-11lld: don't enable channel on write nack, return EAGAIN insteadAmir Hammad1-3/+12
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-09-08make usbh_packet->data of union typeAmir Hammad1-4/+4
out: const void * in: void * Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-07-30lld: stm32f4: fix logsAmir Hammad1-2/+2
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-07-30add option to pass data to control writesAmir Hammad1-11/+7
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-07-08lld: stm32f4: adjust reporting of the unahandled block of codeAmir Hammad1-1/+1
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-07-08rename usbh_driver to usbh_low_level_driverAmir Hammad1-3/+3
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-07-08refactor: use enum instead of #define: USBH_ENDPOINT_TYPE and USBH_SPEEDAmir Hammad1-12/+12
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2016-06-25let the user build an array of lld driversAmir Hammad1-11/+2
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-08-26lld/stm32f4: Send correct amount of dataAmir Hammad1-2/+15
+ added logging output of data that is going to be sent. Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-08-26lld/stm32f4: fix bug, setting wrong eptyp fieldAmir Hammad1-3/+8
it was always 0 - control transfer... Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-07-13Global logging: use \n for a new line instead \r\n in LOG_PRINTFAmir Hammad1-12/+12
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-08lld: stm32f4: refactor: Remove prefixes of static functions and variablesAmir Hammad1-19/+19
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-08lld: stm32f4: Move driver definitions to the end of fileAmir Hammad1-47/+38
This way, we don't need forward declarations Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-06LLD: stm32f4: change type of i to signed integerAmir Hammad1-2/+3
this was causing infinite loop, when size of the data was not multiple of 4. Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-01lld: stm32f4: poll(): fix return valueAmir Hammad1-3/+3
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-01libusbhost: Open source USB host stack for embedded devicesAmir Hammad1-0/+1048
First public version, date: 1.4.2015 Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>