dont need to init clock at first in bootloader
This commit is contained in:
parent
e3971a5e0f
commit
f470e9a9cd
@ -24,6 +24,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "stm32l4xx_ll_rcc.h"
|
#include "stm32l4xx_ll_rcc.h"
|
||||||
|
#include "stm32l4xx_ll_gpio.h"
|
||||||
#include "stm32l4xx.h"
|
#include "stm32l4xx.h"
|
||||||
|
|
||||||
#include "cbor.h"
|
#include "cbor.h"
|
||||||
@ -85,8 +86,9 @@ int main(int argc, char * argv[])
|
|||||||
);
|
);
|
||||||
|
|
||||||
// device_init();
|
// device_init();
|
||||||
SystemClock_Config_LF();
|
|
||||||
init_gpio();
|
init_gpio();
|
||||||
|
|
||||||
init_millisecond_timer(1);
|
init_millisecond_timer(1);
|
||||||
|
|
||||||
#if DEBUG_LEVEL > 0
|
#if DEBUG_LEVEL > 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user