Commit Graph

244 Commits

Author SHA1 Message Date
朱天龙 (Armink) b01af3a368
Merge pull request #19 from eggcar/master
Fix typo in kvdb iterator. Update format strings for compatibility
2020-07-08 09:15:57 +08:00
eggcar deaee8792f [Compatibility] Update format string restrict to specified types 2020-07-07 11:29:46 +08:00
朱天龙 (Armink) 9cf9b3a032
Merge pull request #17 from EtcFly/master
Optimize code execution efficiency
2020-07-07 09:31:21 +08:00
EtcFly 0cb76747c0 Optimize code execution efficiency 2020-07-07 09:25:24 +08:00
armink f031d1574b [demo] read the last saved time for simulated timestamp 2020-07-06 22:52:03 +08:00
armink 8fb75abea0 [tsdb] fix the fdb_tsl_iter_by_time query issue. 2020-07-06 22:47:51 +08:00
eggcar de909e7178 Fix: Typo in fdb_kv_iterate() 'kv->addr.start == 0' -> 'kv->addr.start = 0' 2020-07-06 10:48:34 +08:00
armink 65a4b8968a [tsdb] add get last save time control command. 2020-07-05 23:59:50 +08:00
armink 165d37d531 [tsdb] update the fdb_tsl_iter_by_time testcase. 2020-07-05 17:01:21 +08:00
armink f8a3ec152e [tsdb] fix the fdb_tsl_iter_by_time query issue. 2020-07-05 17:00:23 +08:00
朱天龙 (Armink) bc49f77a32
Merge pull request #13 from eggcar/master
Fix: kv iterator now returns valid kv obj only.
2020-07-05 11:04:49 +08:00
eggcar e411c5c29a Format: wrong indentation of last commit 2020-07-05 02:13:02 +08:00
eggcar a02558252f Fix : wront description of fdb_kv_iterate() return value 2020-07-05 02:04:00 +08:00
eggcar a2a2f53d8a Fix: fdb_kv_iterate() now return and stats only active kvs (kv->status are FDB_KV_WRITE) 2020-07-05 01:58:35 +08:00
朱天龙 (Armink) f4bbeedac7
Merge pull request #12 from eggcar/master
Add public KVDB iterator
2020-07-03 17:51:47 +08:00
eggcar 44e6f02082 Add public KVDB iterator api 2020-07-03 17:26:36 +08:00
eggcar 9d00e177a6 in fdb_kv_to_blob(): kv->addr.start should be assigned to blob->saved.meta_addr ? 2020-07-03 14:56:42 +08:00
朱天龙 (Armink) d5da533607
Merge pull request #6 from DavidLin1577/patch-2
Update README.md
2020-06-28 19:49:29 +08:00
朱天龙 (Armink) 600a710e11
[kvdb][test] update code description
Update fdb_kvdb_tc.c
2020-06-28 19:48:57 +08:00
David Lin 24f5c8b562
Update fdb_kvdb_tc.c
修改函数名称及注释,提高代码可读性
test_easyflash_init -> test_fdb_kvdb_init
FDB_USING_TSDB -> FDB_USING_KVDB
2020-06-28 18:23:31 +08:00
David Lin 15b39b6868
Update README.md
修复404链接错误
2020-06-28 17:13:07 +08:00
朱天龙 (Armink) aca0c8d0a8
[fdb] fix description
Update fdb_def.h
2020-06-28 12:55:53 +08:00
David Lin 884aec814a
Update fdb_def.h
get -> set
2020-06-28 11:18:24 +08:00
armink 074bdee64f [tsdb&kvdb] improve the control function. 2020-06-28 00:20:18 +08:00
armink 145991e6eb [fdb] remove unused function. 2020-06-28 00:19:42 +08:00
armink 9ea4a0e729 [tsdb&kvdb] improve the database control function. 2020-06-28 00:03:31 +08:00
armink 2673a71ca8 [tsdb] add rollover control feature. 2020-06-27 23:28:50 +08:00
armink cbad6efc67 [demo] Add README.md 2020-06-26 23:35:23 +08:00
armink 6c26c22070 [demo][stm32f405rg_spi_flash] Add SPI Flash demo. 2020-06-26 23:33:59 +08:00
armink 16b0af5482 [demo][stm32f405rg] add readme. 2020-06-26 23:01:12 +08:00
armink af6a660f36 [demo][stm32f405rg] update uart driver. 2020-06-26 22:59:44 +08:00
armink e2e373028b [kvdb] fix the issue when get next kv may be out of bound
Merge pull request !1 from timchen/N/A
2020-06-20 15:12:01 +08:00
timchen 3bd9e35c36 update src/fdb_kvdb.c.
Fix address access out of bounds
2020-06-18 09:00:34 +08:00
armink 40ce133fbc [sample] Update kvdb basic sample description. 2020-05-31 23:46:44 +08:00
armink ce218827bf [tsdb] Fix armcc build warning. 2020-05-31 23:41:49 +08:00
armink d98a1b1681 Add stm32f405rg demo. 2020-05-31 23:37:58 +08:00
armink 5a1068bfd4 Add KV basic sample. 2020-05-31 19:03:23 +08:00
armink b13d68d9c6 Update the fal porting code. 2020-05-31 19:03:01 +08:00
armink 0aea1ddff4 Update the samples. 2020-05-31 19:02:13 +08:00
armink dc7fd4f641 Update the fdb initialization 2020-05-31 19:01:32 +08:00
armink 85c7539833 Modify the directory structure. 2020-05-31 13:58:08 +08:00
armink c488f24663 Update fdb_cfg.h 2020-05-24 22:18:08 +08:00
armink 17d7b660fc Update readme.
Signed-off-by: armink <armink.ztl@gmail.com>
2020-05-24 18:52:23 +08:00
armink cc40a2187b Add first version. 2020-05-24 18:39:09 +08:00