-
Notifications
You must be signed in to change notification settings - Fork 146
Implement clock and uart configuration macros for the stm32f4 #572
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f9fd9fe
Add config options for stm32f4 boards
AlexLanzano 10faed0
Update stm32f4 hal to use config options to setup clock and uart
AlexLanzano af09857
Replace example stm32f4 config
AlexLanzano 72baf96
Rename CPU_FREQ macro to CLOCK_SPEED. Remove CPU_FREQ from system.h
AlexLanzano 248fd98
Update stm32f4 test-app to use config options to setup clock and uart
AlexLanzano 5b36a6d
Fix build and test issues with stm32f4 targets
AlexLanzano 1b37378
Fix shift overflow issue in stm32 uart driver
AlexLanzano File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| ARCH?=ARM | ||
| TARGET?=stm32f4 | ||
| SIGN?=ED25519 | ||
| HASH?=SHA256 | ||
| VTOR?=1 | ||
| SPMATH?=1 | ||
| WOLFBOOT_ORIGIN?=0x08000000 | ||
| WOLFBOOT_PARTITION_SIZE?=0x20000 | ||
| WOLFBOOT_SECTOR_SIZE?=0x20000 | ||
| WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x08020000 | ||
| WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x08040000 | ||
| WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x08060000 | ||
| CLOCK_SPEED?=84000000 | ||
| STM32_PLLM?=25 | ||
| STM32_PLLN?=336 | ||
| STM32_PLLP?=4 | ||
| STM32_PLLQ?=7 | ||
| USE_UART1?=1 | ||
| UART_FLASH?=1 | ||
| DEBUG?=1 | ||
| STM32?=1 |
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.