feat(spi_flash): Add feature to support flash address and memory address no align writing

This commit is contained in:
Dong Heng
2018-07-10 19:51:12 +08:00
parent cb0c5ee5fc
commit f8c69be477
2 changed files with 99 additions and 50 deletions

View File

@ -30,6 +30,8 @@ extern "C" {
#define SPI_FLASH_SEC_SIZE 4096 /**< SPI Flash sector size */
#define SPI_READ_BUF_MAX 64
#ifdef CONFIG_ENABLE_FLASH_MMAP
/**
* @brief Enumeration which specifies memory space requested in an mmap call