-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32L1: enable USBDEVICE #14479
STM32L1: enable USBDEVICE #14479
Conversation
@chrJost, thank you for your changes. |
So far this is just a test pull request, as I don't have a STM32L1 test board. I am waiting for a response from the forum before moving forward: |
Tested on NUCLEO_L152RE, seems everything works OK, |
There might be some issues with the XDOT_L151CC board, and maybe some other boards, depending on the generator for the main clock. Unfortunately I don't have these boards for testing. I therefore excluded at least the XDOT board from using the USBDEVICE. |
targets/targets.json
Outdated
@@ -3401,7 +3401,8 @@ | |||
"ANALOGOUT", | |||
"SERIAL_ASYNCH", | |||
"FLASH", | |||
"MPU" | |||
"MPU", | |||
"USBDEVICE" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am sorry, but we can't add "USBDEVICE" in the default STM32L1 configuration.
In ARM MBED, "USBDEVICE" doesn't mean that USB device feature is supported,
but means targets has a user USB connector...
You have to add this in you local custom_board.json or mbed_app.json file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I was not aware the board does not have a USB port.
CI started |
Jenkins CI Test : ❌ FAILEDBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
@0xc0170 need to restart ? |
Restarted |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 2 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Summary of changes
Enables the USBDEVICE for STM32L1 devices.
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers