Sign in

xiemeng / Optek_sdk_131 · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Network
  • Optek_sdk_131
  • source
  • common
  • FlashDev.c
  • Initial code
    7e937523
    luozhesi authored
    2021-05-12 09:32:43 +0800  
    Browse Files »
FlashDev.c 345 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#include "c_def.h"
#include "debug.h"
#include "oem.h"


#if 1//def FLASH_PROGRAM_ENABLE

#include "regmap.h"

#include "FlashDev.h"

#define SPI_FLASH_WINBOND

#if defined(SPI_FLASH_WINBOND)
#include "SpiFlash_W25QXX.h"
FLASH_DEVICE FlashDev = {SFLASH_DEV_W25QXX};
#else
#error "Must Define Flash Deviec."
#endif

#endif //FLASH_PROGRAM_ENABLE