only:only BOR needs flash_ex?
This commit is contained in:
parent
2d96b69e38
commit
a103960186
|
@ -32,6 +32,7 @@ typedef enum {
|
|||
BOR_Level_3 = PWR_CR_PLS_LEV7 // 0x00 Supply voltage ranges from 2.70 to 3.60 V
|
||||
} BOR_Level_t;
|
||||
#else
|
||||
#include "stm32f4xx_hal_flash_ex.h"
|
||||
typedef enum {
|
||||
BOR_Level_None = OB_BOR_OFF, // 0x0C=12 Supply voltage ranges from 1.62 to 2.10 V
|
||||
BOR_Level_1 = OB_BOR_LEVEL1, // 0x08 Supply voltage ranges from 2.10 to 2.40 V
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "stm32f4xx_hal_flash_ex.h"
|
||||
|
||||
#define MCU_SERIAL_NUMBER_LOCATION (uint8_t*)(0x1FFF7A10)
|
||||
|
||||
#define SPI_CR1_8BIT_MODE 0
|
||||
|
|
Loading…
Reference in New Issue