summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-07-13hub: Do not allow unitialized driver to be loadedAmir Hammad1-1/+8
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 Hammad7-66/+66
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-07-13usbh_hubbed: When in unknown state, print ErrorAmir Hammad1-0/+4
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-07-13usbh_hubbed: cleaning newlines after break; in switchAmir Hammad1-0/+2
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-07-13hub: Fix forgotten breakAmir Hammad1-0/+5
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-15demo: timer: BUGFIX: TIM6 prescalerAmir Hammad1-1/+1
TIM6 has clock running at 84MHz instead of 168MHz, so set the prescaler accordingly. Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-08Device drivers: Refactor: Remove prefixes of static functions and variablesAmir Hammad3-31/+31
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-08Device drivers: Refactor: Move driver declaration to the end of fileAmir Hammad3-72/+57
forward declarations are not needed 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-07usbh_hubbed: device_register: Don't check for USB_DT_DEVICE twiceAmir Hammad1-9/+0
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-06Refactor device drivers: don't use automatic castsAmir Hammad3-16/+16
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-05usbh_hubbed: reorder items in _usbh_dev_driver structAmir Hammad1-1/+1
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-05use stdbool.h to define bool typeAmir Hammad1-7/+1
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-05Device driver/hid_mouse: Bugfix enum STATESAmir Hammad1-2/+2
fixing after enum STATES refactor. Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-01demo: More precise timing, using TIM6Amir Hammad1-6/+38
Overflows in 6.5536 seconds Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-01poll(): refactor every poll argument t_us and tflp -> time_curr_usAmir Hammad6-20/+30
added comment to usbh_hubbed.h 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-01demo: rcc_peripheral_enable_clock->rcc_periph_clock_enableAmir Hammad1-7/+7
Instead of 2 argument call, use function with one argument. It is more clear, and safer for inexperienced users with libopencm3. Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
2015-04-01libusbhost: Open source USB host stack for embedded devicesAmir Hammad29-0/+5592
First public version, date: 1.4.2015 Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>