Skip to content
Commit 05a5db48 authored by Christian Taedcke's avatar Christian Taedcke Committed by Carles Cufí
Browse files

fs: littlefs: Use flash map macro in automount



To identify the flash partition id, the macro DT_FIXED_PARTITION_ID()
was used previously.

Now the macro FLASH_AREA_ID() is used. This also supports the usecase
when a different flash map implementation is used that redefines the
macros in include/storage/flash_map.h, e.g. the nordic partition
manager.

Signed-off-by: default avatarChristian Taedcke <christian.taedcke@lemonbeat.com>
parent 0faa4d04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment