mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Enable SRAM1/2/3 early in startup code.
This commit is contained in:
parent
83cab47b27
commit
7cc601e7d2
@ -78,9 +78,9 @@ defined in linker script */
|
||||
.type Reset_Handler, %function
|
||||
Reset_Handler:
|
||||
/* Enable ccm clock */
|
||||
ldr r0,=0x40023830
|
||||
ldr r0,=0x580244dc
|
||||
ldr r3,[r0]
|
||||
orr r3, r3, #1048576 /* 0x100000 */
|
||||
orr r3, r3, #3758096384 /* 0xE0000000 */
|
||||
str r3,[r0]
|
||||
|
||||
ldr sp, =_estack /* set stack pointer */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user