mirror of https://github.com/FOME-Tech/fome-fw.git
18 lines
336 B
C
18 lines
336 B
C
|
/*
|
||
|
* dfu_init.h
|
||
|
*
|
||
|
* @date Aug 3, 2019
|
||
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
||
|
*/
|
||
|
|
||
|
#ifndef HW_LAYER_PORTS_STM32_STM32F7_DFU_INIT_H_
|
||
|
#define HW_LAYER_PORTS_STM32_STM32F7_DFU_INIT_H_
|
||
|
|
||
|
LDR R1, =0xE000ED00
|
||
|
LDR R0, =0x1FF00000
|
||
|
STR R0, [R1, #8]
|
||
|
LDR SP, [R0, #0]
|
||
|
LDR R0, [R0, #4]
|
||
|
|
||
|
#endif /* HW_LAYER_PORTS_STM32_STM32F7_DFU_INIT_H_ */
|