Skip to content

Commit

Permalink
[Sleepy] sleep and wakeup pin correction for the brd4186c (#112)
Browse files Browse the repository at this point in the history
sleep and wakeup pin correction for the brd4186c
  • Loading branch information
chirag-silabs committed Mar 24, 2023
1 parent 82686c8 commit 4178eee
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions matter/efr32/efr32mg24/BRD4186C/config/brd4186c.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
#ifndef _BRD4186C_H_
#define _BRD4186C_H_

#ifndef LOGGING_STATS
#define WAKE_INDICATOR_PIN PIN(D, 3)
#endif
#ifdef EXP_BOARD
#define WAKE_INDICATOR_PIN PIN(A, 5)
#else
#define WAKE_INDICATOR_PIN PIN(D, 2)
#endif /* EXP_BOARD */
#endif /* LOGGING_STATS */

#ifdef LOGGING_STATS
#define LOGGING_WAKE_INDICATOR_PIN PIN(D, 3)
#define LOGGING_STATS_PORT gpioPortD
#define LOGGING_STATS_PIN 03
#endif
#ifdef EXP_BOARD
#define LOGGING_WAKE_INDICATOR_PIN PIN(A, 5)
#define LOGGING_STATS_PORT gpioPortA
#define LOGGING_STATS_PIN 05
#else
#define LOGGING_WAKE_INDICATOR_PIN PIN(D, 2)
#define LOGGING_STATS_PORT gpioPortD
#define LOGGING_STATS_PIN 02
#endif /* EXP_BOARD */
#endif /* LOGGING_STAT */

#ifdef RS911X_WIFI
// SPI ports and pins
Expand All @@ -32,7 +43,11 @@

#define WFX_RESET_PIN PIN(A, 6)
#define WFX_INTERRUPT_PIN PIN(A, 7)
#ifdef EXP_BOARD
#define WFX_SLEEP_CONFIRM_PIN PIN(D, 2) /* Exp hdr 7 */
#else
#define WFX_SLEEP_CONFIRM_PIN PIN(A, 5) /* Exp hdr 7 */
#endif /* EXP_BOARD */
#define SL_WFX_HOST_PINOUT_SPI_IRQ 5

#else /* WF200 */
Expand Down

0 comments on commit 4178eee

Please sign in to comment.