Skip to content

Commit 12d29c4

Browse files
authored
Merge branch 'main' into update/updating_autogen_files_for_soc
2 parents 48b325f + b06bc22 commit 12d29c4

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

matter/si91x/siwx917/BRD4338A/autogen/sl_si91x_power_manager_wakeup_handler.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@
3131

3232
sl_status_t sl_si91x_power_manager_wakeup_init(void)
3333
{
34-
sl_status_t status=SL_STATUS_OK;
34+
sl_status_t status = SL_STATUS_OK;
35+
36+
status = sli_si91x_power_manager_gpio_init();
37+
if (status != SL_STATUS_OK) {
38+
return status;
39+
}
3540

3641
return status;
3742
}

matter/si91x/siwx917/BRD4338A/autogen/sl_si91x_power_manager_wakeup_handler.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/***************************************************************************//**
1+
/***************************************************************************/ /**
22
* @file sl_si91x_power_manager_wakeup_handler.h.jinja
33
* @brief Power Manager Service Wakeup Handler APIs
44
*******************************************************************************
@@ -32,13 +32,12 @@
3232

3333
#include "sl_status.h"
3434

35-
35+
#include "sl_si91x_driver_gpio.h"
3636

3737
#include "sl_si91x_power_manager_wakeup_source_config.h"
3838

39-
4039
sl_status_t sl_si91x_power_manager_wakeup_init(void);
4140

42-
41+
sl_status_t sli_si91x_power_manager_gpio_init(void);
4342

4443
#endif // SL_SI91X_POWER_MANAGER_WAKEUP_HANDLER_H

matter/si91x/siwx917/BRD4338A/config/sl_si91x_power_manager_wakeup_source_config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ extern "C" {
5959
// </e>
6060

6161
// <e>GPIO Wakeup
62-
#define SL_ENABLE_GPIO_WAKEUP_SOURCE 0
62+
#define SL_ENABLE_GPIO_WAKEUP_SOURCE 1
6363

6464
// <q ENABLE_NPSS_GPIO_0> Enable NPSS GPIO 0
6565
// <i> Default: 0
@@ -71,7 +71,7 @@ extern "C" {
7171

7272
// <q ENABLE_NPSS_GPIO_2> Enable NPSS GPIO 2
7373
// <i> Default: 0
74-
#define ENABLE_NPSS_GPIO_2 0
74+
#define ENABLE_NPSS_GPIO_2 1
7575

7676
// <q ENABLE_NPSS_GPIO_3> Enable NPSS GPIO 3
7777
// <i> Default: 0

0 commit comments

Comments
 (0)