File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
modules/hal_silabs/wiseconnect
soc/silabs/silabs_siwx91x/siwg917 Expand file tree Collapse file tree 2 files changed +10
-11
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/wireless/ahb_interface/inc
51
52
${WISECONNECT_DIR} /components/device/silabs/si91x/wireless/firmware_upgrade
52
53
)
53
54
@@ -165,7 +166,6 @@ if(CONFIG_WISECONNECT_NETWORK_STACK)
165
166
${WISECONNECT_DIR} /components/device/silabs/si91x/wireless/sl_net/inc
166
167
${WISECONNECT_DIR} /components/device/silabs/si91x/wireless/socket/inc
167
168
${WISECONNECT_DIR} /components/device/silabs/si91x/wireless/asynchronous_socket/inc
168
- ${WISECONNECT_DIR} /components/device/silabs/si91x/wireless/ahb_interface/inc
169
169
${WISECONNECT_DIR} /components/device/silabs/si91x/mcu/core/chip/config
170
170
${WISECONNECT_DIR} /components/protocol/wifi/inc
171
171
${WISECONNECT_DIR} /components/service/network_manager/inc
Original file line number Diff line number Diff line change 10
10
#include <zephyr/sw_isr_table.h>
11
11
12
12
#include "em_device.h"
13
- #ifdef CONFIG_WISECONNECT_NETWORK_STACK
14
13
#include "sli_siwx917_soc.h"
15
- #endif
16
14
#include "sl_si91x_power_manager.h"
17
15
18
16
void soc_early_init_hook (void )
@@ -23,15 +21,16 @@ void soc_early_init_hook(void)
23
21
.m4ss_ram_size_kb = (DT_REG_SIZE (DT_NODELABEL (sram0 )) / 1024 ),
24
22
.ulpss_ram_size_kb = 4 ,
25
23
};
24
+
26
25
SystemInit ();
27
- # if IS_ENABLED (CONFIG_SOC_SIWX91X_PM_BACKEND_PMGR )
28
- sli_si91x_platform_init ();
29
- sl_si91x_power_manager_init ();
30
- sl_si91x_power_manager_remove_peripheral_requirement (& peripheral_config );
31
- sl_si91x_power_manager_configure_ram_retention (& ram_configuration );
32
- sl_si91x_power_manager_add_ps_requirement (SL_SI91X_POWER_MANAGER_PS4 );
33
- sl_si91x_power_manager_set_clock_scaling (SL_SI91X_POWER_MANAGER_PERFORMANCE );
34
- #endif
26
+ if ( IS_ENABLED (CONFIG_SOC_SIWX91X_PM_BACKEND_PMGR )) {
27
+ sli_si91x_platform_init ();
28
+ sl_si91x_power_manager_init ();
29
+ sl_si91x_power_manager_remove_peripheral_requirement (& peripheral_config );
30
+ sl_si91x_power_manager_configure_ram_retention (& ram_configuration );
31
+ sl_si91x_power_manager_add_ps_requirement (SL_SI91X_POWER_MANAGER_PS4 );
32
+ sl_si91x_power_manager_set_clock_scaling (SL_SI91X_POWER_MANAGER_PERFORMANCE );
33
+ }
35
34
}
36
35
37
36
/* SiWx917's bootloader requires IRQn 32 to hold payload's entry point address. */
You can’t perform that action at this time.
0 commit comments