Joe Turner
0438e70bd9
Revert accidental deletion
2013-12-03 16:02:29 +00:00
Joe Turner
4a66961d79
Merge branch 'master' into USBDevice-STM32F4
2013-12-03 15:58:11 +00:00
Joe Turner
f56a13410b
Remove magic number.
2013-12-03 15:44:35 +00:00
Joe Turner
8d36ce12cb
Clean up STM32 USB HAL
2013-12-03 14:25:33 +00:00
Joe Turner
1ad15e4ef7
More changes to bring STM32 USB HAL to a pretty much working state.
2013-12-03 12:52:08 +00:00
Joe Turner
089c1bb549
Add start to STM32 USB device driver.
2013-11-28 11:19:12 +00:00
Yihui Xiong
d3ca818905
add readable(), writeable() and settings changed callback to USBSerial
2013-11-01 12:38:27 +08:00
Erik Olieman
c255ca2959
USBDevice memory leaks fixes
...
Fixes memory leaks in USBMSD, USBSerial (CircBuffer) and the KL25Z USB
HAL.
Original author: Erik Olieman, a few changes by Bogdan Marinescu.
2013-09-12 16:35:52 +03:00
Bogdan Marinescu
e03e337af6
Fix USBDevice compilation on LPC11U24_301 and LPC11U35_401
...
Reported by Frank Buss <fb@frank-buss.de>
2013-09-06 12:21:38 +03:00
Adam Green
76b7bb4209
USBDevice: Silence GCC warning
...
The following line in USBHAL_KL25Z.cpp would generate a warning in GCC
because of a potential operator precendence issue:
return((USB0->FRMNUML | (USB0->FRMNUMH << 8) & 0x07FF));
This would have been interpreted as:
return((USB0->FRMNUML | ((USB0->FRMNUMH << 8) & 0x07FF)));
since & has higher precedence than |
I switched it to be:
return((USB0->FRMNUML | (USB0->FRMNUMH << 8)) & 0x07FF);
Since it makes more sense to & with 0x7FF after having merged the lower
and upper bytes together rather than just the upper byte. It should
have resulted in the same value either way.
2013-08-21 22:23:35 -07:00
Andreas Rebert
75dba19438
Updated pin mapping and CAN HAL for LPC4088 target
2013-08-08 13:57:02 +02:00
samuel.mokrani@arm.com
4bbd13b957
[LPC1347]: first implementation of USB device (not tested)
2013-07-17 15:23:54 +03:00
Emilio Monti
f3acb6c8fd
cleanup
2013-05-30 10:56:18 +01:00
Andreas Rebert
2662e105c4
Add support for NXP LPC4088
2013-05-16 08:53:02 +02:00
pbrier
4440251d78
Added __packed macro to be compatible with GCC compiler, in order to build USB libs with GCC_ARM
2013-04-06 15:50:57 +02:00
Emilio Monti
80518c489c
Add LPC812 target. Update tests. Remove obsolete documentation. Move shared code among targets to target independent layer.
2013-03-14 11:52:38 +00:00
Emilio Monti
faa724220f
Add KL25Z tests and USBDevice implementation
2013-02-26 15:37:59 +00:00
Emilio Monti
a5e0438a97
Add Freescale KL25Z
2013-02-26 14:57:42 +00:00
Emilio Monti
5c20760685
Initial commit of the mbed libraries and tools
2013-02-18 15:32:11 +00:00