File tree 1 file changed +8
-5
lines changed
examples/platform/silabs/efr32/rs911x/hal
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -28,19 +28,22 @@ typedef struct
28
28
(sl_pin_t) { .port = gpioPort##port_id, .pin = pin_id }
29
29
30
30
#define PACKET_PENDING_INT_PRI 3
31
-
32
- #if defined(EFR32MG24_BRD4186C ) || defined(BRD4186C )
31
+ #if defined(EFR32MG12_BRD4161A ) || defined(BRD4161A ) || defined(EFR32MG12_BRD4162A ) || defined(BRD4162A ) || \
32
+ defined(EFR32MG12_BRD4163A ) || defined(BRD4163A ) || defined(EFR32MG12_BRD4164A ) || defined(BRD4164A ) || \
33
+ defined(EFR32MG12_BRD4170A ) || defined(BRD4170A )
34
+ // BRD4161-63-64 are pin to pin compatible for SPI
35
+ #include "brd4161a.h"
36
+ #elif defined(EFR32MG24_BRD4186C ) || defined(BRD4186C )
33
37
#include "brd4186c.h"
34
38
#elif defined(EFR32MG24_BRD4187C ) || defined(BRD4187C )
35
39
#include "brd4187c.h"
36
40
#else
37
41
#error "Need SPI Pins"
38
- #endif /* EFR32MG12_BRD4161A */
39
- #if EXP_BOARD && (defined( EFR32MG24_BRD4187C ) || defined( BRD4187C ) || defined( EFR32MG24_BRD4186C ) || defined( BRD4186C ))
42
+ #endif
43
+ #if EXP_BOARD
40
44
#define RESET_PIN PIN(A, 6)
41
45
#define INTERRUPT_PIN PIN(A, 7)
42
46
#define SLEEP_CONFIRM_PIN PIN(A, 5) /* Exp hdr 7 */
43
- #define SL_WFX_HOST_PINOUT_SPI_IRQ 5
44
47
#endif
45
48
46
49
#define NETWORK_INTERFACE_VALID (x ) (x == SL_NET_DEFAULT_WIFI_CLIENT_INTERFACE) || (x == SL_NET_DEFAULT_WIFI_AP_INTERFACE)
You can’t perform that action at this time.
0 commit comments