Commit Graph

84 Commits (014c5f46f52588f5b8b1b0de1eb73e12406c0b51)

Author SHA1 Message Date
julbouln 7bb1ea30fe add suspend callback to STM32F4 USBDevice HAL 2015-04-25 17:40:31 +02:00
Martin Kojtal 7c4831f300 Merge pull request #1044 from porkybrain/master
Changed CircBuffer to take its size as a template parameters for efficientcy.
2015-04-23 08:44:13 +01:00
Toyomasa Watarai 5b74eed7da [USBMIDI] Fix compile error
* Member variables in USBMIDIMessage and USBMIDI class wrongly
initialized in class declaration
* Add member initialization in constructor
2015-04-20 14:34:47 +09:00
porkybrain 75732d75fa Merge branch 'master' of https://github.com/porkybrain/mbed 2015-04-17 01:59:18 +02:00
porkybrain 0209929dc4 Merge branch 'master' of https://github.com/mbedmicro/mbed 2015-04-17 01:57:49 +02:00
porkybrain 478aa7ef33 free memory afer disabling the usb ISR solves race condition which could corrupt the heap. (issue #1049) 2015-04-17 01:56:35 +02:00
Odin Holmes c48e5ea445 Update CircBuffer.h 2015-04-16 17:39:18 +02:00
porkybrain cad87d11d4 moved initialization into constructor for compatibility with c++03 2015-04-16 15:57:30 +02:00
Martin Kojtal b675c99d9c Merge pull request #1037 from jeremybrodt/max32600mbed
MAX32600MBED - Adding MAX32600MBED platform.
2015-04-16 11:35:28 +01:00
porkybrain 250ce08712 Changed CircBuffer to take its size as a template parameters. This results in smaller code size and less ram usage because the optimizer knows the size at compile time and it does not need to be stored in ram. It should also be faster because there is no indirection to the heap.
I have not tested this code!
2015-04-15 17:07:40 +02:00
julbouln 8dab8c4751 Added USBMIDI tests + bugfix MIDI OUT 2015-04-14 20:57:56 +02:00
Jeremy Brodt 5ada69b73d [MAX32600MBED] Adding MAX32600MBED platform. 2015-04-14 10:00:23 -05:00
julbouln 20759f0ff9 USBMIDI: SysEx message create helper 2015-04-11 11:22:29 +02:00
julbouln 1793b6a80a USBMIDI: Add SysEx support 2015-04-11 11:17:40 +02:00
Martin Kojtal 158cbeb292 Merge pull request #979 from jeremybrodt/usbcallbacks
USB - Add macros to alias the endpoint callback functions to support configurability
2015-04-08 08:38:31 +02:00
Bogdan Marinescu 251f3f8b55 Merge pull request #991 from masaohamanaka/master
[RZ/A1H]Add some function(USB 2port, NVIC wrapper) and modify some settings(OS, Terminal).
2015-03-31 18:10:46 +03:00
Clement Leger 8d8b485ce7 USBDevice: fix missing defined check for TARGET_F411RE 2015-03-24 10:29:32 +01:00
Masao Hamanaka 281ba38624 Add 2Port function to USBDevice(usb1). 2015-03-23 20:16:41 +09:00
Masao Hamanaka 6c78c36541 Add 2Port function to USBDevice(usb0). 2015-03-23 20:15:42 +09:00
Masao Hamanaka 5b179989c3 Delete some needless USBDevice files to add 2Port function. 2015-03-23 20:07:59 +09:00
Jeremy Brodt bbe2e0caed Using "Data Terminal Ready" signal to determine when the host is connected. 2015-03-17 14:18:56 -05:00
Jeremy Brodt 1bbb0ee109 Added macros to alias the endpoint callback functions to support configurability. 2015-03-17 13:41:40 -05:00
Paul Staron fda34ea4c2 Update USBDevice.cpp
Added Teensy3.1 support
2015-03-07 18:28:13 +00:00
Paul Staron ea867c7cf7 Update USBEndpoints.h
Added Teensy3.1 support
2015-03-07 18:26:12 +00:00
Paul Staron 4cfd93b5af Update USBHAL_KL25Z.cpp
Added Teensy3.1 support
2015-03-07 18:23:25 +00:00
Masao Hamanaka aba8a90630 Modify to support GCC. (USB) 2015-02-26 16:30:17 +09:00
Anders Lindvall dcc53f4bda Fixed target issues for TARGET_LPC4088_DM
- Removed target alias from the EXPORT_MAP in targets.py as it didn't work
- Added copies of the LPC4088 target exporters
- Fixed flag issue in the gcc toolchain
- Changed defines in eth USBDevice, rpt and rtos to handle
  TARGET_LPC4088_DM
2015-02-08 11:56:39 +01:00
Masao Hamanaka 7726496957 Implement some USB functions to RZ-A1H
Implemented functions as below.
- USB Host
- USB Device(Full speed)
2015-01-15 14:00:42 +09:00
Martin Olejar bb969921ec Fixed baudrate calculation issue in serial_api.c, arduino compatible pins name and USB device for Freescale KL43Z Target 2014-12-18 22:37:11 +01:00
0xc0170 2fbe5fa4b0 Merge branch 'ksdk' of github.com:Sissors/mbed into Sissors-ksdk
Conflicts:
	libraries/USBDevice/USBDevice/USBEndpoints.h
	libraries/USBDevice/USBDevice/USBHAL_KL25Z.cpp
2014-11-28 08:03:42 +01:00
Sissors 10156c5006 [USBDevice] Fix for https://github.com/mbedmicro/mbed/issues/690
In the old K64F register .h file (same for K22F),
SIM_SOPT2_PLLFLLSEL_MASK was incorrectly set as a 1-bit field, like it
was in the KLXX devices, while it now is a 2-bit field. This has been
fixed in the current register maps, however the USB clock was set by
taking the entire mask, while only the first bit needs to be set.

This is now fixed by using the SHIFT definition, and should work also on
other Freescale targets (verified on K64, K22 and KL25)
2014-11-27 23:08:23 +01:00
0xc0170 be10b27013 Merge branch 'ksdk' of github.com:Sissors/mbed into Sissors-ksdk
Conflicts:
	libraries/USBDevice/USBDevice/USBEndpoints.h
	libraries/USBDevice/USBDevice/USBHAL_KL25Z.cpp
2014-11-19 08:45:48 +00:00
Sissors 4a7fde6fa0 [USBDevice] Fix K20D50M name
Since it was initially K20D5M the name is still wrong in USBDevice. This
should fix it.
2014-11-17 18:08:37 +01:00
Bogdan Marinescu 142ad22a2f [RZ_A1H] Remove target-specific check from build system 2014-11-06 13:47:43 +00:00
AMANUMA Kazuhisa b5103bd7b6 [RZ/A1H] (a measure devised to deal with a review.) * Some variables in USBHAL.h moved into USBHAL_RZ_A1H.cpp. * Some functions writing by c++ changed to macro function. 2014-11-06 14:44:38 +09:00
AMANUMA Kazuhisa 319724621d [RZ/A1H] Deletes the tab codes 2014-11-05 15:13:38 +09:00
AMANUMA Kazuhisa d517c2863b [RZ/A1H] * Some fields for RZ/A1H changed as "private". * Some function moved into USBHAL_RZA1H.cpp. * Interrupts registration routine returned to the original sample code. 2014-11-05 14:25:11 +09:00
AMANUMA Kazuhisa e8b0bd2a2e [RZ/A1H] Deletes debugging prints. Expands the stacks and heap. Deletes the illegal memory access 2014-10-29 15:52:30 +09:00
AMANUMA Kazuhisa 3f32994343 Revert "Deleted the debug print and the illegal memory access."
This reverts commit 6aaae4a8af.
2014-10-29 15:09:33 +09:00
AMANUMA Kazuhisa 6aaae4a8af Deleted the debug print and the illegal memory access. 2014-10-29 14:38:13 +09:00
AMANUMA Kazuhisa a52058eb75 [RZ/A1H] Revert a macro line 2014-10-29 10:38:49 +09:00
AMANUMA Kazuhisa 462a657337 [RZ/A1H] Supports the CDC of USB Function 2014-10-24 18:07:52 +09:00
AMANUMA Kazuhisa 8087cf1600 Revert "Supports the CDC of USB function"
This reverts commit c713db88e8.
2014-10-24 17:51:38 +09:00
AMANUMA Kazuhisa c713db88e8 Supports the CDC of USB function 2014-10-24 17:20:55 +09:00
Martin Kojtal 6ff7dfe464 Merge pull request #589 from molejar/dev-freescale-kl43z
Target: Freescale FRDM-KL43Z addition
2014-10-23 09:37:40 +01:00
bagbag d15d6b33e5 added USBDevice support for STM32F401RE 2014-10-19 14:34:50 +02:00
Martin Olejar 185ce5bfe4 Fixed LPUART and USB device initialization issue. Added _kill, _exit and _getpid functions required by gcc-arm-none-eabi-4.8 toolchain. 2014-10-17 22:20:12 +02:00
Martin Olejar 98faa3f908 Added USB Device support for KL43Z 2014-10-15 01:34:00 +02:00
Paul Brook 5518e335bb Fix usb serial RX bug
USBCDC::readEP already already called readStart, so we should not call
it here.

Signed-off-by: Paul Brook <paul@nowt.org>
2014-09-25 14:49:26 +01:00
Bogdan Marinescu bbc120c478 Merge pull request #460 from xiongyihui/stm32f407
DISCO_F407VG - add USBDevice support and a variant - ARCH_MAX
2014-08-21 14:57:36 +01:00