Commit Graph

172 Commits (e7cd6ae2a98d7b24cf30072eef07b66740aa85bc)

Author SHA1 Message Date
Jimmy Brisson 1dfc2296a7 Merge pull request #4400 from jeromecoutant/PR_USB_REORG
STM32 USBDevice files
2017-06-26 10:21:19 -05:00
bcostm 43646330e9 DISCO_F413ZH: Add this board in mbedOS2 CAN tests 2017-06-22 09:23:06 +02:00
arostm 5e3350ce38 DISCO_F413ZH: Modification needed to build 2017-06-22 09:07:00 +02:00
bcostm cc47104059 DISCO_L072CZ_LRWAN1: Remove unused code 2017-06-20 16:12:32 +02:00
bcostm 24d94c8425 DISCO_L072CZ_LRWAN1: Add USB device configuration files 2017-06-20 16:07:07 +02:00
bcostm f6a48838ad DISCO_L475VG_IOT01A: Move USB device config files 2017-06-12 17:03:12 +02:00
bcostm 6c585e6e05 DISCO_L475VG_IOT01A: add this target in i2c master/slave tests 2017-06-12 17:03:12 +02:00
bcostm 8c7000cce4 Add "01A" suffix in target name 2017-06-12 17:03:12 +02:00
bcostm 9ced451307 Add target in unsupported main.cpp test files 2017-06-12 17:03:12 +02:00
Mahadevan Mahesh 30ef311933 Issue#4250: Fix USB driver for Kinetis devices
Move memory allocation to be done at a different location. Currently allocated
in a function that is called from the interrupt handler.

Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-06-02 16:36:23 -05:00
jeromecoutant 2c610b392e Move STM32 USB device cpp file with other cpp files 2017-05-29 12:08:51 +02:00
jeromecoutant ba073da70a STM32 USBDevice : simplify include files
NB: there is now a default configuration
2017-05-29 12:08:48 +02:00
Sam Grove 3122abee84 Merge pull request #4230 from jamike/USBHostMSD_BockDevice
Usb host msd block device
2017-05-26 17:19:07 -05:00
Sam Grove d11289b576 Merge pull request #4165 from adustm/can_init
fix #3863 Add an mbed API that allows the init of the CAN at the bus frequency
2017-05-26 10:45:19 -05:00
Michel Jaouen 6401d48c17 USBHost : modify USB_10 since USBHostMSD inherits BlockDevice class 2017-05-17 09:04:39 +02:00
Michel Jaouen edbba13640 USBHostMSD : fix possible race condition during connection 2017-05-17 08:58:34 +02:00
Michel Jaouen d30a9a63d8 USHostMSD: rely on BlockDevice 2017-05-17 08:58:33 +02:00
Martin Kojtal c732739897 Merge pull request #4291 from jamike/USBHost_fix_target_stm_build
USBHost : fix build for TARGET_STM
2017-05-15 16:18:36 +01:00
Martin Kojtal d98da4089a Merge pull request #4231 from jamike/USBH0ST_TARGET_STM_HUB_SUPPORT
USBHOST hub support for TARGET_STM
2017-05-15 16:01:34 +01:00
adustm cd15589c45 Add header to the test main.cpp 2017-05-15 14:27:22 +02:00
jeromecoutant f027cf429b Add new CAN API test MBED_A30 2017-05-15 14:27:22 +02:00
Martin Kojtal 1c2ebf83f5 unsupported/net: removal of net libraries
Remove all unsupported net libraries from features/unsupported. There's already lwip for mbed OS that we support, and cellular will come soon to the codebase reworked.

Plus remove unsupported/tests for these libraries.
2017-05-11 17:32:44 -05:00
Michel Jaouen f27f3bbfee USBHOST: fix build for TARGET_STM 2017-05-10 09:33:29 +02:00
Michel Jaouen c4a049750b USBHOST : TARGET_STM small speed device not supported on hub
add warn small speed device are connected on hub
2017-05-09 16:18:34 +02:00
Michel Jaouen fdde91037f USBHOST : mouse fix for high speed mouse 2017-05-09 16:18:33 +02:00
Michel Jaouen fdec62002e USBHOST: TARGET_STM add more hub to support larger hub 2017-05-09 16:18:32 +02:00
Michel Jaouen f3c6f95b0a USBHOST: USBHOST_OTHER Add timeout on TD (indentation) 2017-05-09 16:18:32 +02:00
Michel Jaouen 309b9aef62 USBHOST TARGET_STM : changes for hub support 2017-05-09 16:18:31 +02:00
Michel Jaouen c860377464 USBHOST : USBHOST_OTHER add control disable counter 2017-05-09 16:18:30 +02:00
Michel Jaouen 73d8e5e9ef USBHOST: USBHOST_OTHER fix in endpoint
- set_state specific
- speed init
2017-05-09 16:18:29 +02:00
Michel Jaouen ccce1c5273 USBHOST : change interrupt endpoint behaviour
In case interrupt reports error,
call back  can send interrupt request again.
2017-05-09 16:18:29 +02:00
Michel Jaouen fa2abd22c7 USBHost : USBHostHID , USBHostHub fix indentation. 2017-05-09 16:18:28 +02:00
Michel Jaouen bae762eb24 USBHOST: put deviceInited to false when device disconnected 2017-05-09 16:18:27 +02:00
Michel Jaouen bf2fc0a2cf USBHOST : as DISCONNECTED_EVENT from root hub is sent in irq handler
and connection from hub are  sent from usb task.
A connection on an hub port can be sent ,
after irq disconnection from root hub.
2017-05-09 16:18:26 +02:00
Michel Jaouen 41f12260b1 USBHost : fix indentation USBHost.cpp 2017-05-09 16:18:25 +02:00
Michel Jaouen 27877bd4e8 USBHOST : fix disconnection during device registering 2017-05-09 16:18:24 +02:00
Mihail Stoyanov 301ce550c9 Fixed STM32 USB Device support by migrating all specific target headers to unsupported features where they belong until USB support is officially introduced in mbed OS 5 2017-04-28 17:23:07 +01:00
Jimmy Brisson 143e3462a3 Merge pull request #4210 from adbridge/usb_logo
USB: Added support for the logo key to the keyboard
2017-04-24 10:56:29 -05:00
adbridge d23520ebb2 Maxim USB library update
Adding support for new platforms into official USB library
2017-04-21 17:06:46 +01:00
adbridge 906286f446 Added support for the logo key to the keyboard
Minor change - List of key modifiers updated to include the
logo/GUI/windows key. Also added the options to specify the right hand
versions of the keys rather than just the left if for some reason
someone wants to do this.

Changes are limited to the keyboard header file and are backwards
compatible.

The new modifier values are in line with the table given on page 56 of
this document http://www.usb.org/developers/hidpage/HID1_11.pdf
2017-04-21 16:56:56 +01:00
Anna Bridge 2e2fe377b3 bus reset for KL25Z fix, USBSerial update
1. added call to busReset() to KL25Z HAL; now the USB stack survives if you disconnect the cable, similar to LPC40 2. busReset callback to update terminal_connected in USBCDC 3. new bool USBSerial::connected() to read protected terminal_connected property, useful when you want to check if the terminal is ready from main app
2017-04-19 15:38:51 +01:00
bcostm bca2617662 STM32L0: add family in USBEndpoints.h 2017-03-30 14:50:13 +02:00
Sam Grove 067fe9b0e5 Merge pull request #3848 from jamike/USBAUDIO_JITTER
USBAudio: writesync with 1 sample jitter capability.
2017-03-30 00:01:07 +01:00
Michel Jaouen f6f73938eb USBHOST : fix device disconnection from hub during hub port reset 2017-03-28 11:32:43 +02:00
Michel Jaouen 5913cf309e USBAudio: writesync with 1 sample jitter capability. 2017-03-28 10:22:20 +02:00
Sam Grove 18dee8f2f2 Merge pull request #3953 from jeromecoutant/PR_LOOP_TESTS
OS2 tests minor updates for STM32
2017-03-22 12:07:21 +00:00
jeromecoutant 23de782868 OS2 tests minor updates for STM32
Some pin configuration are now aligned with ci-shield
2017-03-16 17:48:45 +01:00
Michel Jaouen 873cacfc73 Revert "Revert "Target stm usb config""
This reverts commit ec329be6f2.
2017-03-14 15:57:28 +01:00
Christopher Haster 51b58b1ad4 Filesystem: Restored LocalFileSystem tests for mbed 2 2017-03-10 11:04:05 -06:00
Simon Hughes 8d084de412 STORAGE: removal of unsupported tests having ported to https://github.com/ARMmbed/sd-driver basic.cpp test. 2017-02-27 17:37:30 +00:00
Simon Hughes 3fd14f2f0b Re-instating the FAT32/SDCard support with POSIX File API for mbed-client team. 2017-02-23 16:30:05 +00:00
Christopher Haster aff49d8d1e Renamed files in platform to match source names
critical.h     -> mbed_critical.h
sleep.h        -> mbed_sleep.h
toolchain.h    -> mbed_toolchain.h
rtc_time.h     -> mbed_rtc_time.h
semihost_api.h -> mbed_semihost_api.h
wait_api.h     -> mbed_wait_api.h
2017-02-22 18:17:54 -06:00
Sam Grove 094fab43e7 Merge pull request #3760 from adustm/usb_txsize_fix
Fix #3756 for 64 bytes transfers
2017-02-21 10:47:44 -06:00
Indrek Ardel 29d5ebbb61 Improve readability of USBHID related descriptors 2017-02-14 14:56:51 +02:00
adustm 67a2f4b276 Bug fix to fullfill 64bytes transfer in HID 2017-02-13 17:10:19 +01:00
Sam Grove ec329be6f2 Revert "Target stm usb config" 2017-02-09 15:37:19 -06:00
Sam Grove 29cfee4ae7 Merge pull request #3708 from OpenNuvoton/nuvoton_usb
[NUC472/M453] Fix USB EP setting error in USBAudio
2017-02-09 10:05:54 -06:00
ccli8 f96b1c0ad7 [NUC472/M453] Fix USB EP setting error in USBAudio
NUC472/M453 USB doesn't support configuration of the same EP number for IN/OUT simultaneously.
2017-02-07 16:57:04 +08:00
Michel Jaouen 4d59c8857d TARGET_STM :move usb config file to target dir 2017-02-03 10:32:19 +01:00
bcostm e609796406 Enable USB Host 2017-01-27 17:22:07 +01:00
bcostm 592a25aa3c Add F412ZG in USBHAL files 2017-01-27 17:22:07 +01:00
Martin Kojtal e592c8a8b2 Merge pull request #3571 from jeromecoutant/PR_DISCO_F769NI
DISCO_F769NI introduction
2017-01-16 16:38:20 +00:00
jeromecoutant 66c3f8ed44 DISCO_F769NI: Add analog loop test support 2017-01-12 15:38:05 +01:00
jeromecoutant b65b2bd395 DISCO_F769NI: Add USB support 2017-01-12 15:37:37 +01:00
bcostm 25e885eafc Add NUCLEO_F412ZG in main.cpp files used for the tests 2017-01-10 11:07:45 +01:00
Sam Grove 110deed4ae Merge pull request #3514 from OpenNuvoton/nuvoton_usb
[NUC472/M453] Remove Tab in USB HAL
2017-01-09 10:20:50 -06:00
Sam Grove ddcd3ad711 Merge pull request #3488 from LMESTM/dev_stm_i2c_v2_unitary_functions
Dev stm i2c v2 unitary functions
2017-01-09 10:15:55 -06:00
ccli8 614a451970 [NUC472/M453] Remove Tab in USB HAL 2017-01-03 13:23:30 +08:00
Michel Jaouen 25c0d9034f USBHOST STM : add more board
NUCLEO : F411RE, L476VG, F746ZG
DISCO : L476VG
2017-01-02 09:51:48 +01:00
Michel Jaouen 815194a98b USBHOST : add mouse test 2017-01-02 09:48:17 +01:00
Michel Jaouen 72dae26774 USBHOST : test mass storage 2017-01-02 09:48:16 +01:00
Michel Jaouen 14153dcbc3 USBHOST STM support :
NUCLEO : F429ZI, F446ZE, F207ZG, F767ZI, F401RE,
DISCO : F429ZI
2017-01-02 09:48:16 +01:00
Michel Jaouen 54db0a4143 USBHOST : introduce USBHOST_OTHER (USBHost on USB IP not OHCI). 2017-01-02 09:48:14 +01:00
Michel Jaouen 48434cfd64 USBHOST: fix call back 2017-01-02 09:48:14 +01:00
Michel Jaouen 1577037b4b USBHOST : add return value to queue transfer
modify add transfer to support return value.
2017-01-02 09:48:13 +01:00
Martin Kojtal e7361ebc44 Merge pull request #3365 from OpenNuvoton/nuvoton_usb
[NUC472/M453] Support USB device
2016-12-30 12:43:53 +01:00
Martin Kojtal 08509e75df Merge pull request #3339 from jamike/USBAudio_CB_RX_TX
USB audio callback  rx and tx
2016-12-21 14:58:52 +00:00
Laurent MEUNIER 517d0d910a I2C test: add L073RZ 2016-12-21 09:28:56 +01:00
Laurent MEUNIER bcf82b0901 I2C test: master should send stop
it's master not slave that shall send STOP at the end of I2C transfer
2016-12-21 09:28:52 +01:00
Laurent MEUNIER d67b431f17 I2C test: let slave time to get notified
depending on timing and HW, there might be some delay before the master
request gets notified, so better loop in while than a single call
to slave.receive()
2016-12-21 09:28:45 +01:00
Laurent MEUNIER 70667349ee I2C test: change slave address
This avoids conflicts with slave on ci-test-shield
2016-12-21 09:28:39 +01:00
Anna Bridge e182ff48b6 Merge pull request #3428 from LMESTM/fix_i2c_asynch_test_slave_addr
Change slave address in I2C master slave asynch test
2016-12-19 17:41:38 +00:00
Michel Jaouen 71f570fbc7 USB_8 : audio loopback test at 16khz stereo 16bits
- Callback TX and RX interface is used.
2016-12-16 15:16:56 +01:00
Michel Jaouen 3a6a5ab858 USBAudio: tx/rx iso call back. 2016-12-16 15:16:55 +01:00
ccli8 5fe22742f1 [NUC472/M453] Add target SPI pins into SPI SD test samples with Travis CI 2016-12-16 09:42:24 +08:00
Laurent MEUNIER 63cd036d5b Change slave address in I2C master slave asynch test
Change test slave address to 0x80 because 0x90 is used by a real slave
(temperature sensor) on few boards like the CI shield.
2016-12-12 14:54:36 +01:00
Jared Szechy f5f3dc8143 Enable CAN on DISCO_F303VC 2016-12-11 22:03:29 -05:00
ccli8 fc16917d37 [NUC472/M453] Add license header for USBEndpoints_NUC472/M453.h 2016-12-12 09:19:08 +08:00
ccli8 8c0948d605 [NUC472/M453] Integrate with Travis CI
1. Add targets into build_travis.py and tests.py.
2. Add target SPI pins into SPI SD test samples.
3. Rename target TOOLCHAIN_GCC_ARM/retarget.c to avoid name collision of compiled retarget.o with platform/retargets.cpp.
2016-12-09 13:46:38 +08:00
ccli8 7f4881fbb2 [NUC472/M453] Support USB device 2016-12-05 15:12:15 +08:00
Laurent MEUNIER 014a48d402 Add more supported boards to I2C master slave asynch test 2016-11-30 08:23:13 +01:00
Martin Kojtal 93c08f340a Merge pull request #3062 from jamike/TARGET_STM_USBDEVICE_FS
TARGET_STM :USB device FS
2016-11-29 18:07:11 +01:00
Michel Jaouen bc17759226 USBHAL.h : fix indentation 2016-11-22 10:52:10 +01:00
Michel Jaouen ad09abb71f USBAudio , USBSerial :fix call back 2016-11-22 10:52:03 +01:00
Martin Kojtal 5750f31d6d Merge pull request #3238 from LMESTM/dev_i2c_stm32f4hal
Dev i2c stm32f4hal
2016-11-16 17:42:12 +00:00
Laurent MEUNIER 458752262e test i2c slave: use standard Arduino pins for NUCLEO_F411RE 2016-11-10 15:25:46 +01:00
Laurent MEUNIER 4c36b9cb77 test i2c asynch : test transfer return value 2016-11-09 18:03:09 +01:00
Laurent MEUNIER 3897d93b71 test i2c asynch: Remove printf usage from interrupt context
The cbmaster_done function is a callback which will be called from
the asynch I2C interrupt handler. Calling to printf from this context
sometimes lead to missing interrupts on the slave side. This was at least
encountered on STM32F3 MCUs.
2016-11-09 18:03:07 +01:00
Michel Jaouen 26bd467995 TARGET_STM : USB FS device support on ST HAL 2016-11-09 12:08:50 +01:00
Sam Grove 6712ed1b71 Merge pull request #3099 from maximmbed/max32625
MAX32625
2016-11-03 02:15:43 -05:00