only:making TM_ID_GetFlashSize more available
This commit is contained in:
parent
324933e524
commit
e72be7feae
|
@ -80,8 +80,6 @@ static void sayHello() {
|
|||
efiPrintf("isStm32F42x %s", boolToString(isStm32F42x()));
|
||||
#endif // STM32F4
|
||||
|
||||
#define TM_ID_GetFlashSize() (*(__IO uint16_t *) (FLASHSIZE_BASE))
|
||||
|
||||
#ifndef MIN_FLASH_SIZE
|
||||
#define MIN_FLASH_SIZE 1024
|
||||
#endif // MIN_FLASH_SIZE
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
#include "stm32h7xx_hal_flash_ex.h"
|
||||
#endif
|
||||
|
||||
#define TM_ID_GetFlashSize() (*(__IO uint16_t *) (FLASHSIZE_BASE))
|
||||
|
||||
#ifdef AT32F4XX
|
||||
/* TODO: Artery */
|
||||
typedef enum {
|
||||
|
|
Loading…
Reference in New Issue