Update flash routines
Support setting HSI to multiple speeds, but do it in a way that doesn't waste bytes. Remove dead code.
This commit is contained in:
@@ -9,9 +9,13 @@
|
||||
|
||||
|
||||
|
||||
void flash_optr_checkfix();
|
||||
#define FLASH_HSI_4MHz (uint32_t *)0x1FFF0F1C
|
||||
#define FLASH_HSI_8MHz (uint32_t *)0x1FFF0F30
|
||||
#define FLASH_HSI_16MHz (uint32_t *)0x1FFF0F44
|
||||
#define FLASH_HSI_22_12MHz (uint32_t *)0x1FFF0F58
|
||||
#define FLASH_HSI_24MHz (uint32_t *)0x1FFF0F6C
|
||||
|
||||
|
||||
void flash_optr_set();
|
||||
|
||||
void flash_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user