Skip to content

Commit 94e53c6

Browse files
bjdarlubos
authored andcommitted
samples: nrf9160: gps: Add COEX0 configuration
Adds support for a COEX0 configuration, to support the newer nRF9160 DK. The MAGPIO method is preseved for compatibility with the older DK. Signed-off-by: Bernt Johan Damslora <[email protected]>
1 parent 8d18c11 commit 94e53c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/nrf9160/gps/src/main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@
1414

1515
#ifdef CONFIG_BOARD_NRF9160_PCA10090NS
1616
#define AT_MAGPIO "AT\%XMAGPIO=1,0,0,1,1,1574,1577"
17+
#define AT_COEX0 "AT\%XCOEX0=1,1,1570,1580"
1718
#endif
1819

1920
static const char update_indicator[] = {'\\', '|', '/', '-'};
2021
static const char at_commands[][31] = {
2122
AT_XSYSTEMMODE,
2223
#ifdef CONFIG_BOARD_NRF9160_PCA10090NS
2324
AT_MAGPIO,
25+
AT_COEX0,
2426
#endif
2527
AT_CFUN
2628
};

0 commit comments

Comments
 (0)