1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/flashdb/patches/0001-remove-example-fdb_cfg.h.patch
Oleg Hahm 0e8b1c0dce pkg/flashdb: bump to 2.1.0 + patches
There are two more commits upstream after the 2.1.0 release which are
required to compile this package without warnings.
2023-12-08 21:36:07 +01:00

70 lines
1.8 KiB
Diff

From 438a6533a8364812fcb8baa7c96417129eac13cd Mon Sep 17 00:00:00 2001
From: Benjamin Valentin <benjamin.valentin@ml-pa.com>
Date: Tue, 1 Feb 2022 22:28:32 +0100
Subject: [PATCH] remove example fdb_cfg.h
---
inc/fdb_cfg.h | 50 --------------------------------------------------
1 file changed, 50 deletions(-)
delete mode 100644 inc/fdb_cfg.h
diff --git a/inc/fdb_cfg.h b/inc/fdb_cfg.h
deleted file mode 100644
index e8748ab..0000000
--- a/inc/fdb_cfg.h
+++ /dev/null
@@ -1,50 +0,0 @@
-/*
- * Copyright (c) 2020, Armink, <armink.ztl@gmail.com>
- *
- * SPDX-License-Identifier: Apache-2.0
- */
-
-/**
- * @file
- * @brief configuration file
- */
-
-#ifndef _FDB_CFG_H_
-#define _FDB_CFG_H_
-
-/* using KVDB feature */
-#define FDB_USING_KVDB
-
-#ifdef FDB_USING_KVDB
-/* Auto update KV to latest default when current KVDB version number is changed. @see fdb_kvdb.ver_num */
-/* #define FDB_KV_AUTO_UPDATE */
-#endif
-
-/* using TSDB (Time series database) feature */
-#define FDB_USING_TSDB
-
-/* Using FAL storage mode */
-#define FDB_USING_FAL_MODE
-
-#ifdef FDB_USING_FAL_MODE
-/* the flash write granularity, unit: bit
- * only support 1(nor flash)/ 8(stm32f2/f4)/ 32(stm32f1)/ 64(stm32f7)/ 128(stm32h5) */
-#define FDB_WRITE_GRAN /* @note you must define it for a value */
-#endif
-
-/* Using file storage mode by LIBC file API, like fopen/fread/fwrte/fclose */
-/* #define FDB_USING_FILE_LIBC_MODE */
-
-/* Using file storage mode by POSIX file API, like open/read/write/close */
-/* #define FDB_USING_FILE_POSIX_MODE */
-
-/* MCU Endian Configuration, default is Little Endian Order. */
-/* #define FDB_BIG_ENDIAN */
-
-/* log print macro. default EF_PRINT macro is printf() */
-/* #define FDB_PRINT(...) my_printf(__VA_ARGS__) */
-
-/* print debug information */
-#define FDB_DEBUG_ENABLE
-
-#endif /* _FDB_CFG_H_ */
--
2.43.0