You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
219 B

  1. #pragma once
  2. #include "main.h"
  3. #define FLASH_START_ADDRESS 0x08078000
  4. HAL_StatusTypeDef FlashErase(void);
  5. HAL_StatusTypeDef FlashWrite(uint32_t StartAddress, uint32_t data);
  6. uint32_t FlashRead(uint32_t StartAddress);