Skip to content

Commit

Permalink
pal: use old mfg_storage if psa_key_storage not in use
Browse files Browse the repository at this point in the history
make new mfg_storage implementation optional

Signed-off-by: Robert Gałat <[email protected]>
  • Loading branch information
RobertGalatNordic committed Aug 23, 2024
1 parent 4db7728 commit 009b009
Show file tree
Hide file tree
Showing 15 changed files with 1,200 additions and 250 deletions.
3 changes: 3 additions & 0 deletions subsys/sal/sid_pal/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ zephyr_library_sources_ifdef(CONFIG_SIDEWALK_LOGGING_SERVICE sid_ble_log_service
zephyr_library_sources_ifdef(CONFIG_SIDEWALK_CRYPTO sid_crypto.c)
zephyr_library_sources_ifdef(CONFIG_SIDEWALK_CRYPTO_PSA_KEY_STORAGE sid_crypto_keys.c)

if(CONFIG_SIDEWALK_MFG_STORAGE AND NOT(CONFIG_SIDEWALK_CRYPTO_PSA_KEY_STORAGE))
zephyr_library_sources_ifdef(CONFIG_SIDEWALK_MFG_STORAGE sid_mfg_storage.c)
endif()
zephyr_library_sources_ifdef(CONFIG_SIDEWALK_CRYPTO_PSA_KEY_STORAGE sid_mfg_storage_v2.c)

zephyr_library_sources_ifdef(CONFIG_SIDEWALK_STORAGE sid_storage.c)

Expand Down
Loading

0 comments on commit 009b009

Please sign in to comment.