Files
MSE-SoftwEng/TSM_PicoW_Sensor/McuLib/littleFS/McuLittleFSBlockDeviceconfig.h
SylvanArnold 6cd510e749 feat: added PicoW_Sensor code template
Credits to @ext-erich.styger that provided the template
2025-05-06 13:07:01 +00:00

22 lines
795 B
C

/*
* Copyright (c) 2022, Erich Styger
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef LITTLEFS_MCULITTLEFSBLOCKDEVICECONFIG_H_
#define LITTLEFS_MCULITTLEFSBLOCKDEVICECONFIG_H_
/* supported block device types */
#define McuLittleFSBlockDevice_CONFIG_MEMORY_TYPE_GENERIC 0 /* dummy, generic implementation */
#define McuLittleFSBlockDevice_CONFIG_MEMORY_TYPE_WINBOND_W25Q128 1 /* using WinBond W25Q128 external SPI FLASH */
#define McuLittleFSBlockDevice_CONFIG_MEMORY_TYPE_MCU_FLASH 2 /* using McuFlash blocks */
#ifndef McuLittleFSBlockDevice_CONFIG_MEMORY_TYPE
#define McuLittleFSBlockDevice_CONFIG_MEMORY_TYPE McuLittleFSBlockDevice_CONFIG_MEMORY_TYPE_GENERIC
/*<! sets used block device */
#endif
#endif /* LITTLEFS_MCULITTLEFSBLOCKDEVICECONFIG_H_ */