Skip to content

Comments

sys/log: Add simple fcb log#3396

Merged
kasjer merged 1 commit intoapache:masterfrom
kasjer:kasjer/add-simple-fcb-log
Apr 7, 2025
Merged

sys/log: Add simple fcb log#3396
kasjer merged 1 commit intoapache:masterfrom
kasjer:kasjer/add-simple-fcb-log

Conversation

@kasjer
Copy link
Contributor

@kasjer kasjer commented Mar 25, 2025

Package adds functionality to register FCB or FCB2 based log for given flash area.

Package by default adds one instance of a log, parametrized in syscfg.
User code can disable default instance and create several logs for different purposes with simple_fcb_log_registers() function.

Basic usage of this package is to provide flash area id i.e.:

syscfg.vals:
   SIMPLE_FCB_LOG_0_FLASH_AREA: FLASH_AREA_NFFS

For log based on FCB heap is used for storing sector descriptors for FCB2 this is
not necessary.

@kasjer kasjer requested a review from sjanc March 25, 2025 11:45
Package adds functionality to register FCB or FCB2 based log
for given flash area.

Package by default adds one instance of a log, parametrized in
syscfg.
User code can disable default instance and create several
logs for different purposes with simple_fcb_log_registers()
function.

Basic usage of this package is to provide flash area id i.e.:

syscfg.vals:
   SIMPLE_FCB_LOG_0_FLASH_AREA: FLASH_AREA_NFFS

Signed-off-by: Jerzy Kasenberg <[email protected]>
@kasjer kasjer force-pushed the kasjer/add-simple-fcb-log branch from 7eef956 to 066c3ae Compare April 4, 2025 12:22
@kasjer kasjer merged commit 7278095 into apache:master Apr 7, 2025
20 checks passed
@kasjer kasjer deleted the kasjer/add-simple-fcb-log branch April 7, 2025 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants