Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

west: percepio: update module #68490

Merged
merged 1 commit into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions modules/percepio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@ if(CONFIG_PERCEPIO_DFM)

set(DFM_DIR ${ZEPHYR_CURRENT_MODULE_DIR}/DFM)

zephyr_library_sources_ifdef(
CONFIG_PERCEPIO_DFM
zephyr_library_sources(
${DFM_DIR}/dfm.c
${DFM_DIR}/dfmAlert.c
${DFM_DIR}/dfmCloud.c
${DFM_DIR}/dfmEntry.c
${DFM_DIR}/dfmSession.c
${DFM_DIR}/dfmStorage.c
${DFM_DIR}/dfmRetainedMemory.c
${DFM_DIR}/kernelports/Zephyr/dfmKernelPort.c
)

Expand All @@ -133,6 +133,16 @@ if(CONFIG_PERCEPIO_DFM)
)
endif()

if(CONFIG_PERCEPIO_DFM_CFG_STORAGEPORT_FILESYSTEM)
zephyr_library_sources(
${DFM_DIR}/kernelports/Zephyr/storageports/Filesystem/dfmStoragePort.c
)

zephyr_include_directories(
${DFM_DIR}/kernelports/Zephyr/storageports/Filesystem/include/
)
endif()

if(CONFIG_PERCEPIO_DFM_CFG_CLOUDPORT_NONE)
zephyr_library_sources(
${DFM_DIR}/cloudports/Dummy/dfmCloudPort.c
Expand All @@ -154,6 +164,12 @@ if(CONFIG_PERCEPIO_DFM)
)
endif()

if(CONFIG_PERCEPIO_DFM_CFG_RETAINED_MEMORY)
zephyr_library_sources(
${DFM_DIR}/kernelports/Zephyr/dfmRetainedMemoryPort.c
)
endif()

zephyr_include_directories(
${DFM_DIR}/kernelports/Zephyr/config
${DFM_DIR}/kernelports/Zephyr/include
Expand Down
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ manifest:
path: modules/lib/openthread
- name: percepio
path: modules/debug/percepio
revision: 0fbc5b72aeab8a6434523a3a7bc8111c17f0bc73
revision: 7f6fb3f12ea1493a2f8ab6a876fb255a39db47c8
groups:
- debug
- name: picolibc
Expand Down
Loading