-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support to write option bytes for the STM32G0 (#778)
* poc worked, writting stm32G070 option bytes * Update README.md adjust layout * code review changes
- Loading branch information
Showing
5 changed files
with
166 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
* File: stm32.h | ||
* | ||
* STM32 specific defines | ||
*/ | ||
|
||
#ifndef STM32_H | ||
#define STM32_H | ||
|
||
// cortex core ids | ||
#define STM32VL_CORE_ID 0x1ba01477 | ||
#define STM32F7_CORE_ID 0x5ba02477 | ||
|
||
// Constant STM32 memory map figures | ||
#define STM32_FLASH_BASE ((uint32_t)0x08000000) | ||
#define STM32_SRAM_BASE ((uint32_t)0x20000000) | ||
#define STM32_G0_OPTION_BYTES_BASE ((uint32_t)0x1FFF7800) | ||
|
||
#endif /* STM32_H */ |
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