only:making TM_ID_GetFlashSize more available

This commit is contained in:
rusefi 2024-04-18 19:28:59 -04:00
parent 324933e524
commit e72be7feae
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 {