Skip to content

Commit 7033090

Browse files
Move to snippet
1 parent fc5014b commit 7033090

5 files changed

Lines changed: 15 additions & 8 deletions

File tree

soc/nordic/nrf54l/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ zephyr_library_sources(
77
)
88
zephyr_include_directories(.)
99

10+
set(SNIPPET_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")
11+
12+
13+
# set(SNIPPET monitor-vinternal)
14+
1015
if(CONFIG_SOC_HEALTH_MONITORING)
1116
zephyr_include_directories(
1217
health_monitoring

soc/nordic/nrf54l/health_monitoring/CMakeLists.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ cmake_minimum_required(VERSION 3.20.0)
66
zephyr_library_sources(health_monitoring.c)
77
zephyr_include_directories(.)
88

9-
# if(CONFIG_VBAT_MONITOR_ENABLE)
10-
set(EXTRA_DTC_OVERLAY_FILE "vbatt_monitor.overlay")
11-
# endif()
12-
13-
if(CONFIG_VINTERNAL_MONITOR_ENABLE)
14-
set(EXTRA_DTC_OVERLAY_FILE "v_internal_monitor.overlay")
15-
endif()
9+
# # if(CONFIG_VBAT_MONITOR_ENABLE)
10+
# set(EXTRA_DTC_OVERLAY_FILE "vbatt_monitor.overlay")
11+
# # endif()
1612

17-
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
13+
# if(CONFIG_VINTERNAL_MONITOR_ENABLE)
14+
# set(EXTRA_DTC_OVERLAY_FILE "v_internal_monitor.overlay")
15+
# endif()

soc/nordic/nrf54l/health_monitoring/v_internal_monitor.overlay renamed to soc/nordic/nrf54l/snippets/monitor-vinternal/monitor-vinternal.overlay

File renamed without changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: monitor-vinternal
2+
append:
3+
EXTRA_DTC_OVERLAY_FILE: v_internal_monitor.overlay
4+
EXTRA_DTC_OVERLAY_FILE: vbatt_monitor.overlay
File renamed without changes.

0 commit comments

Comments
 (0)