Skip to content

Merging major persistence refactoring.#42

Merged
attermann merged 19 commits intomasterfrom
persistence
Mar 24, 2026
Merged

Merging major persistence refactoring.#42
attermann merged 19 commits intomasterfrom
persistence

Conversation

@attermann
Copy link
Owner

No description provided.

Removed unwanted vscode files.
Completely refactored path storage from heap storage in DRAM to flash
storage in a tailor-made log-append database (microStore).

https://github.com/attermann/microStore
constexpr added to pool_info constructor
constexpr pool_info(uint8_t t, size_t s) : type(t), buffer_size(s) {}
Since both arguments (RNS_HEAP_POOL_ALLOCATOR=1 and RNS_HEAP_POOL_BUFFER_SIZE=16384) are compile-time integer constants, this promotes heap_pool_info to constant initialization — buffer_size = 16384 is guaranteed to be set before any code runs, including global constructors from the Adafruit framework that trigger the premature pool_init.
- passing path_table_maxsize through to new path_store
- reverted nrf52 bulds to use heap pool for all allocations
- serializing time offset more frequently
- providing time offet to microStore for accurate timestamps
- setting path table TTL appropriately depending on the originating
  interface
@attermann attermann merged commit 5c0fda9 into master Mar 24, 2026
8 checks passed
@attermann attermann deleted the persistence branch March 24, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant