feat: added PicoW_Sensor code template

Credits to @ext-erich.styger that provided the template
This commit is contained in:
SylvanArnold
2025-04-22 11:30:45 +02:00
committed by Sylvan Arnold
parent b2e9eab44e
commit 6cd510e749
985 changed files with 606823 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
/**
* \file
* \brief Configuration header file for FAT_FileSystem
* Copyright (c) 2020, Erich Styger
* SPDX-License-Identifier: BSD-3-Clause
*
* This header file is used to configure settings of the FAT File System module.
*/
#ifndef __McuFatFS_CONFIG_H
#define __McuFatFS_CONFIG_H
#ifndef McuFatFS_CONFIG_CARD_INSERT_DELAY_TIME_MS
#define McuFatFS_CONFIG_CARD_INSERT_DELAY_TIME_MS (100)
/*!< Delay time in milliseconds after insertion of the card detected */
#endif
#ifndef McuFatFS_CONFIG_SHELL_ENABLED
#define McuFatFS_CONFIG_SHELL_ENABLED (1)
/*!< 1: Shell support is enabled; 0: no shell support enabled */
#endif
#ifndef McuFatFS_CONFIG_IS_DISK_PRESENT_CALLBACK
#define McuFatFS_CONFIG_IS_DISK_PRESENT_CALLBACK McuFatFS_CardPinDiskPresent
/*!< 1: callback name to be used to decide if a device is present or not */
#endif
#ifndef McuFatFS_CONFIG_IS_WRITE_PROTECTED_CALLBACK
#define McuFatFS_CONFIG_IS_WRITE_PROTECTED_CALLBACK McuFatFS_CardPinWriteProtected
/*!< 1: callback name to be used to decide if a device is present or not */
#endif
#ifndef McuFatFS_CONFIG_DEFAULT_DRIVE_STRING
#define McuFatFS_CONFIG_DEFAULT_DRIVE_STRING "0:/"
/*!< default drive used for commands. The first letter defines the drive */
#endif
#endif /* __McuFatFS_CONFIG_H */