Skip to content
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

STM32L151 portable driver adaptations #1004

Merged
merged 1 commit into from
Aug 9, 2021
Merged

Conversation

ctag-fh-kiel
Copy link
Contributor

Driver support for STM32L151, changes made:

  • Enable USB D+ PU
  • Add en/disable low priority USB IRQ
  • PMA_LENGTH 512 + stm32l1xxx driver includes

Tested with midi example.

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Superb!! Thank you very much of the PR and figuring this out. STM USB IP is implemented a bit different across mcu. This will help lots of other L1 user.

@@ -113,7 +113,8 @@
(CFG_TUSB_MCU == OPT_MCU_STM32F0 ) || \
(CFG_TUSB_MCU == OPT_MCU_STM32F1 && defined(STM32F1_FSDEV)) || \
(CFG_TUSB_MCU == OPT_MCU_STM32F3 ) || \
(CFG_TUSB_MCU == OPT_MCU_STM32L0 ) \
(CFG_TUSB_MCU == OPT_MCU_STM32L0 ) || \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indent is off but this is so minor, I will fix this later on when having chance.

@hathach hathach merged commit d2257db into hathach:master Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants