Commit Graph

220 Commits

Author SHA1 Message Date
weiguang-fan 9817307026
fix: write fail as re-program flag at same address (#203) 2023-04-07 19:12:15 +08:00
shihang-zhang 39e81fa9b2
Fix memory overridden (#209)
* fix: memory was written out of its boundary.



Co-authored-by: 朱天龙 (Armink) <armink.ztl@gmail.com>
Co-authored-by: shihang.zhang <shihang.zhang.ext@siemens.com>
2023-04-06 23:18:02 +08:00
朱天龙 (Armink) 519a06f65a [fdb] fixed gcc warning. 2023-03-27 22:20:28 +08:00
朱天龙 (Armink) 6630bbf23e [fdb] Fix assert log not output problem when FDB_DEBUG_ENABLE is disable. 2023-03-27 22:13:33 +08:00
朱天龙 (Armink) d1c5243873 [fdb] add block size check. MUST to be the Nth power of 2. 2023-03-14 23:29:22 +08:00
朱天龙 (Armink) b34e6b52d1 [kvdb] Use partial GC function to reduce GC time. 2023-03-14 22:02:11 +08:00
朱天龙 (Armink) 043af70d5b
Merge pull request #200 from eternal-echo/tc397
支持tc397擦除后为0的flash
2023-02-17 14:38:18 +08:00
yuanyu 18bfd7b4ca Flash with 0 after erasure is supported 2023-02-16 17:36:09 +08:00
朱天龙 (Armink) f21e80fbc4
Merge pull request #191 from shihang-zhang/b_fix_grain_64_issue
fix: use aligned macro to replace unaligned sizeof structure.
2023-02-01 16:31:12 +08:00
shihang.zhang 46099d7082 fix: use aligned macro to replace unaligned sizeof structure. Please review the change and fix other similar issues if there any. 2023-01-04 10:25:48 -06:00
Denis Shreiber a39f4e2ed6
[fal] Execute HAL_FLASH_Lock() in case of error wile writing and erasing (#183)
* Execute HAL_FLASH_Lock() in case of error wile writing and erasing

* Also fix fal_flash_stm32f2_port.c

* Replace tabs to spaces
2022-10-02 22:08:57 +08:00
Denis Shreiber d914eb068c
Remove warning on build when FDB_KV_AUTO_UPDATE is defined (#181) 2022-10-02 22:07:21 +08:00
Denis Shreiber cd789e69eb
Fix a typo in the FAL_PART_MAGIC_WORD definition (#182) 2022-10-02 22:06:48 +08:00
Asurada b9b6fd00cd
timestap --> timestamp (#179) 2022-09-30 12:48:57 +08:00
朱天龙 (Armink) eb975b3598 [tsdb] improve the testcase for database bound. 2022-08-27 15:13:24 +08:00
朱天龙 (Armink) ee634fec10 [tsdb] add the locker in iterator. 2022-08-27 13:49:08 +08:00
朱天龙 (Armink) 33385f4051 [tsdb] improve the testcase coverage. 2022-08-27 13:42:40 +08:00
朱天龙 (Armink) 2b3b12ceb4 [tsdb] Fix the bug that data cannot be queried under some conditions. 2022-08-27 13:31:43 +08:00
朱天龙 (Armink) 79ac8f1746 [kvdb] update the comments. 2022-08-27 13:29:21 +08:00
朱天龙 (Armink) 5e5067d2e3 [kvdb] update the testcase 2022-08-27 13:26:37 +08:00
朱天龙 (Armink) a5aa4026fd [fdb] format the code. 2022-08-27 13:24:56 +08:00
朱天龙 (Armink) 1ebcefec45 [doc] update the doc 2022-08-27 13:24:09 +08:00
Spider 8554116d6d
Fix/gran 64 (#173)
Fix GRAN 64bit
2022-08-24 15:54:12 +08:00
朱天龙 (Armink) 0bc7b01834
Merge pull request #172 from Spider84/feature/stm32l4
Add STM32L4 fal_flash port
2022-08-24 15:52:49 +08:00
Spider 45a146a527
Remove warnings on GCC build (#174)
* Remove warnings on GCC build
2022-08-23 15:15:45 +08:00
Alexey Belyaev 93eaf6a522 Add STM32L4 fal_flash port 2022-08-19 16:35:03 +06:00
朱天龙 (Armink) 6204074c9d [doc] update doc 2022-08-10 10:08:00 +08:00
朱天龙 (Armink) cf00f736bf
Merge pull request #163 from armink/revert-158-master
Revert "Abandon the verification of the data whose status is deleted"
2022-07-02 21:08:00 +08:00
朱天龙 (Armink) 9c53806e9e
Revert "Abandon the verification of the data whose status is deleted" 2022-07-02 21:07:41 +08:00
朱天龙 (Armink) 1914fd2511
Merge pull request #158 from chwncy/master
Abandon the verification of the data whose status is deleted
2022-06-15 23:43:19 +08:00
chwncy 6a95ac8c8a Abandon the verification of the data whose status is deleted 2022-06-15 21:41:20 +08:00
朱天龙 (Armink) 92052b70bc [tsdb] fix ci build error. 2022-06-12 15:52:05 +08:00
朱天龙 (Armink) 393773aa8a [doc] update the doc for reverse iterator. 2022-06-11 14:47:12 +08:00
朱天龙 (Armink) 4e393e1326 [tsdb] format the code style. 2022-06-11 14:39:13 +08:00
armink 8392c48459
!4 【新增】按照时间逆序迭代
Merge pull request !4 from Mr.Tang/tzy_dev
2022-06-11 06:29:40 +00:00
tangzhenye e94569b2b2 【修改】合并重读代码 2022-06-11 14:26:17 +08:00
TangZhenye cc4f53d82d 【删除】多余空格 2022-06-10 17:56:29 +08:00
tangzhenye ceb75d203a 【新增】tsdb支持按时间逆序迭代
【修改】全部逆序迭代时的多余操作
2022-06-10 17:47:27 +08:00
朱天龙 (Armink) 03500fa925 update the version number. 2022-05-18 20:27:46 +08:00
朱天龙 (Armink) 536c1f3a6f [tsdb] remove #pragma pack and rename fdb_tsl_iter_reverse. 2022-05-18 20:27:07 +08:00
朱天龙 (Armink) e3b1beed2b
Merge pull request #145 from MikeTuev/MikeTuev-patch-reverse_iterator
Mike tuev patch reverse iterator
2022-05-18 20:16:37 +08:00
朱天龙 (Armink) c175635358
Merge pull request #147 from T721/master
adding ifdef guards to update method. should only be called if cache is used
2022-04-25 15:30:01 +08:00
朱天龙 (Armink) 76fff09a0a
[doc] update demos readme 2022-04-25 14:18:34 +08:00
朱天龙 (Armink) a7b33d810a
Merge pull request #146 from kaans/feature/esp32_spi_flash_demo
Add demo project for esp32
2022-04-25 14:17:04 +08:00
Jens Saalmüller b5bc536a96 fix: set printf format depending on size of time 2022-04-25 07:38:38 +02:00
Tobias Wiens 0b5ac0039b adding ifdef guards to update method. should only be called if cache is used. 2022-04-24 23:18:12 +02:00
Jens Saalmüller f5491f3e35 feat: add demo project for esp32 2022-04-24 11:03:01 +02:00
MikeTuev 85d136e58a
reverse iterator 2022-04-24 01:28:42 +05:00
MikeTuev 9b021c3056
reverse iterator 2022-04-24 01:25:50 +05:00
MikeTuev a65a323508
struct packing 2022-04-24 01:23:13 +05:00