Skip to content

Commit a50d127

Browse files
committed
suit: Add missing conditions
The soc_flash_nrf.h is reqiured and defined only if compiling for nRF devices. Ref: NCSDK-32779 Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent bfadf4b commit a50d127

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/flash/flash_ipuc/flash_ipuc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
#ifdef CONFIG_FLASH_SIMULATOR
1717
#include <zephyr/drivers/flash/flash_simulator.h>
1818
#endif /* CONFIG_FLASH_SIMULATOR */
19+
#ifdef CONFIG_SOC_FLASH_NRF_RADIO_SYNC_RPC_HOST
1920
#include "soc_flash_nrf.h"
21+
#endif /* CONFIG_SOC_FLASH_NRF_RADIO_SYNC_RPC_HOST */
2022

2123
/* __ALIGNED macro is not defined on NATIVE POSIX. This platform uses __aligned macro. */
2224
#ifndef __ALIGNED

0 commit comments

Comments
 (0)