//
// Created by lydxh on 24-11-27.
//

#ifndef HW_LIB_FLASH_CFG_H
#define HW_LIB_FLASH_CFG_H

#ifdef __cplusplus
extern "C" {
#endif

#define FLASH_DEBUG_MODE

#define FLASH_USING_SFDP

// #define FLASH_USING_FAST_READ

#define FLASH_USING_FLASH_INFO_TABLE

enum {
    FLASH_XXXX_DEVICE_INDEX = 0,
};

#define FLASH_FLASH_DEVICE_TABLE                                                \
{                                                                              \
    [FLASH_XXXX_DEVICE_INDEX] = {.name = "XXXX", .spi={.name = "SPIX"}, },           \
}

#define FLASH_USING_QSPI

#ifdef __cplusplus
}
#endif
#endif //HW_LIB_FLASH_CFG_H
