File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
modules/hal_silabs/wiseconnect
soc/silabs/silabs_siwx91x/siwg917 Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ zephyr_include_directories(
48
48
${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/drivers/cmsis_driver/config
49
49
${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/drivers/cmsis_driver
50
50
${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/drivers/cmsis_driver/CMSIS/Driver/Include
51
+ ${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/hal/inc
51
52
${WISECONNECT_DIR} /components/device/silabs/si91x/wireless/ahb_interface/inc
52
53
${WISECONNECT_DIR} /components/device/silabs/si91x/wireless/firmware_upgrade
53
54
)
@@ -73,6 +74,7 @@ zephyr_library_sources(
73
74
${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/drivers/unified_api/src/sl_si91x_driver_gpio.c
74
75
${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/drivers/unified_api/src/sl_si91x_pwm.c
75
76
${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/drivers/unified_peripheral_drivers/src/sl_si91x_peripheral_gpio.c
77
+ ${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/hal/src/sl_si91x_hal_soc_soft_reset.c
76
78
${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/core/chip/src/iPMU_prog/iPMU_dotc/ipmu_apis.c
77
79
${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/core/chip/src/iPMU_prog/iPMU_dotc/rsi_system_config_917.c
78
80
)
Original file line number Diff line number Diff line change 12
12
#include "em_device.h"
13
13
#include "sli_siwx917_soc.h"
14
14
#include "sl_si91x_power_manager.h"
15
+ #include "sl_si91x_hal_soc_soft_reset.h"
15
16
16
17
void soc_early_init_hook (void )
17
18
{
@@ -33,6 +34,13 @@ void soc_early_init_hook(void)
33
34
}
34
35
}
35
36
37
+ void sys_arch_reboot (int type )
38
+ {
39
+ ARG_UNUSED (type );
40
+
41
+ sl_si91x_soc_nvic_reset ();
42
+ }
43
+
36
44
/* SiWx917's bootloader requires IRQn 32 to hold payload's entry point address. */
37
45
extern void z_arm_reset (void );
38
46
Z_ISR_DECLARE_DIRECT (32 , 0 , z_arm_reset );
You can’t perform that action at this time.
0 commit comments