-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main_f7: use opencm3_stm32f7 library for stm32f7 targets
Upstream libopencm3 has added the support to pwr, rcc, and usart driver for stm32f7 targets, however the USB driver is still missing. This patch enables the use of opencm3_stm32f7 library for stm32f7 targets and with trick in Makefile to use usb driver from stm32f4, changes include: * Align RCC definition with master * Align PWR definition with master * Align rcc_clock_scale definition with master and enable overdrive to get a maximum CPU frequency at 216MHz * Refine rules in the Makefile to support compile and link the USB driver in stm32f4, and others in stm32f7, stm32f3
- Loading branch information
1 parent
167ef23
commit 131dfba
Showing
6 changed files
with
49 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters