Krishna Mohan Dani
3e83108f1c
Driver: USB: STM32L1: Managing internal pullups for usb enumeration
...
This commit adds internal pullup on DP line for usb enumeration
in nucleo_l152re platform. This platform as such does not have
usb connector (device).
This has been tested with example in https://github.com/ARMmbed/
mbed-os/blob/master/drivers/usb/include/usb/USBMouse.h#L58-L76
and mbed_app.json file
"target_overrides": {
"*": {
"platform.stdio-baud-rate": 115200,
"platform.all-stats-enabled": true,
"mbed-trace.enable": "0"
},
"NUCLEO_L152RE": {
"target.device_has_add": ["USBDEVICE"]
}
}
}
Signed-off-by: Krishna Mohan Dani <krishnamohan.d@hcl.com>
2021-08-10 17:49:36 +05:30
Mohammed Mubeen
b429aeb5f7
Added PCD Start so that connection is established when a host is
...
connected in non blocking mode (cinnect_blocking = false)
2021-07-30 10:52:00 +05:30
jeromecoutant
94794f9228
STM32 USB: update init
...
Add explicit calt to __HAL_PCD_ENABLE()
2021-06-04 17:01:14 +02:00
jeromecoutant
c02cb71b35
STM32 common filess astyle
2021-05-25 14:45:30 +02:00
Martin Kojtal
b7c639580f
Merge pull request #14066 from jeromecoutant/DEV_F2
...
STM32F2 update drivers version to CUBE V1.9.2
2021-01-11 11:27:09 +00:00
jeromecoutant
c4ccccedf5
STM32F2: ST CUBE drivers update V1.6.0 => V1.9.2
2020-12-15 18:06:21 +01:00
Martino Facchin
f2a01f2ba0
STM32: USBPhy: enable HS clock sleep
2020-12-11 10:11:51 +01:00
Martin Kojtal
c9ff692858
Merge pull request #13780 from JojoS62/PR-fix-H7-USB
...
STM32 H7: fix USB in sleep mode
2020-11-26 13:19:35 +00:00
Martino Facchin
f1ea281613
STM32: USB: allow more endpoints for OTG_HS ports
2020-11-10 17:22:29 +01:00
Martino Facchin
db7954bc9b
STM32: allow high speed USB endpoints
2020-11-10 17:22:28 +01:00
Martin Kojtal
097adb57a2
STM32 usb: fixing missing header file
...
Fixes #13838
2020-11-04 08:49:04 +00:00
JojoS62
38f4507ff0
fix USB in sleep mode
...
in sleep mode, USB interrupts were disabled
and USB Device was not working. Sleep mode is default in Mbed-os
e.g. in a call to sleep_for()
2020-10-17 00:50:40 +02:00
Harrison Mutai
4fad1112e5
Add SPDX license identifier to Arm files
...
Add license identifier to files which Arm owns the copyright to,
and contain either BSD-3 or Apache-2.0 licenses. This is to address
license errors raised by scancode analysis.
2020-10-15 10:47:27 +01:00
jeromecoutant
ac9c4b7b66
STM32 USB connect procedure update
...
Pull up on USB DP to manage (external for STM32F1)
2020-09-01 17:32:20 +02:00
jeromecoutant
53008d9447
STM32 USB: use SNG_BUF
...
To avoid RAM location issue
2020-08-31 17:30:52 +02:00
jeromecoutant
551f8b4231
NUCLEO_WB55RG: enable USBDEVICE
2020-06-08 13:17:23 +02:00
jeromecoutant
33fc5000a9
STM32F4 V1.19.0 -> V1.25.0 : adaptation
2020-03-30 16:04:02 +02:00
jeromecoutant
c5ffd40aa6
STM3 USB : Add __HAL_RCC_PWR_CLK_ENABLE
2019-11-27 16:25:10 +01:00
Martino Facchin
8daa2d72ba
[USB][STM32] Don't wrap direct function calls in MBED_ASSERT
...
dab09f3138
added checks on some functions in the form of MBED_ASSERT on the result.
Compiling with -NDEBUG elides the call, thus breaking the functionality
This patch restores it, while leaving the return check if compiled with standard profile.
2019-11-06 15:01:48 +01:00
jeromecoutant
dab09f3138
STM32 USB redesign step 1
...
No more need to explicitly configure each targets.
Pins are now defined in the PeripheralPin.c file which is build by a script.
2019-10-21 17:12:03 +02:00
Rohan Fletcher
02df759c37
OLIMEX_STM32E407_F407ZG: Added new target platform
...
Added Olimex STM32-E407 (STM32F407ZG) evaluation board.
USB, UART, External HS XTAL and Ethernet are all working correctly.
2019-10-10 09:20:28 +13:00
jeromecoutant
55d60f3c25
Add USB support for DISCO_L4R9I
2019-09-03 16:43:05 +02:00
jeromecoutant
425d63856c
STM32L4 USB: remove EndpointAbort support
2019-09-03 14:23:05 +02:00
Hugues Kamba
5cbc3e0497
Relocate USB target specific code to root `targets` directory
...
All target specific source and header files should be in the `targets`
directory located at the root of the Mbed OS repository.
2019-08-16 15:42:43 +01:00