gd32_flash.h 279 B

12345678910
  1. #ifndef GD32_FLASH_H
  2. #define GD32_FLASH_H
  3. #define FMC_PAGE_SIZE ((uint16_t)0x1000U)
  4. #define FMC_WRITE_START_ADDR ((uint32_t)0x08038800U)
  5. #define FMC_WRITE_END_ADDR ((uint32_t)0x0803FFFFU)
  6. void gd32_flash_test();
  7. int read_data_from_flash(void *buffer);
  8. #endif