diff --git a/flash.h b/flash.h --- a/flash.h +++ b/flash.h @@ -2,6 +2,7 @@ #define FLASH_H #include "states.h" +#include "stm32f0xx_hal_flash.h" #define PAGE_SIZE ((uint16_t)0x400) #define END_ADDR 0x08007FFF