File tree Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ function(sdp_apply_snippets snippet)
88 sysbuild_cache_set(VAR sdp_SNIPPET APPEND REMOVE_DUPLICATES ${snippet} )
99endfunction ()
1010
11+ function (sdp_apply_flpr_fault_timer_params timeout )
12+ set_config_bool(sdp CONFIG_SDP_MSPI_FAULT_TIMER y)
13+ set_config_bool(${DEFAULT_IMAGE} CONFIG_MSPI_NRFE_FAULT_TIMER y)
14+ set_config_int(${DEFAULT_IMAGE} CONFIG_MSPI_NRFE_FAULT_TIMEOUT ${timeout} )
15+ endfunction ()
16+
1117if (SB_CONFIG_SDP)
1218 if (SB_CONFIG_SDP_GPIO)
1319 if (SB_CONFIG_SDP_GPIO_BACKEND_MBOX)
@@ -20,6 +26,9 @@ if(SB_CONFIG_SDP)
2026 endif ()
2127 if (SB_CONFIG_SDP_MSPI)
2228 set (snippet_name "sdp-mspi" )
29+ if (SB_CONFIG_SDP_FLPR_APP_FAULT_TIMER)
30+ sdp_apply_flpr_fault_timer_params(${SB_CONFIG_SDP_FLPR_APP_FAULT_TIMEOUT} )
31+ endif ()
2332 endif ()
2433
2534 sdp_apply_snippets(${snippet_name} )
Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ config SDP_GPIO
1515config SDP_MSPI
1616 bool "SDP MSPI application"
1717
18+ config SDP_IMAGE_PATH
19+ string
20+ default "${ZEPHYR_NRF_MODULE_DIR}/applications/sdp/gpio" if SDP_GPIO
21+ default "${ZEPHYR_NRF_MODULE_DIR}/applications/sdp/mspi" if SDP_MSPI
22+ help
23+ Source directory of SDP image.
24+
1825if SDP_GPIO
1926
2027choice SDP_GPIO_BACKEND
@@ -39,12 +46,25 @@ endchoice
3946
4047endif # SDP_GPIO
4148
42- config SDP_IMAGE_PATH
43- string
44- default "${ZEPHYR_NRF_MODULE_DIR}/applications/sdp/gpio" if SDP_GPIO
45- default "${ZEPHYR_NRF_MODULE_DIR}/applications/sdp/mspi" if SDP_MSPI
49+ if SDP_MSPI
50+
51+ config SDP_FLPR_APP_FAULT_TIMER
52+ bool "SDP FLPR application fault timer"
53+ default y
4654 help
47- Source directory of SDP image.
55+ Enable SDP FLPR application fault timer.
56+
57+ if SDP_FLPR_APP_FAULT_TIMER
58+
59+ config SDP_FLPR_APP_FAULT_TIMEOUT
60+ int "SDP FLPR application fault timeout"
61+ default 1000000
62+ help
63+ Fault timeout in microseconds.
64+
65+ endif # SDP_FLPR_APP_FAULT_TIMER
66+
67+ endif # SDP_MSPI
4868
4969endif # SDP
5070
You can’t perform that action at this time.
0 commit comments