Skip to content

Commit b606d35

Browse files
committed
boards: shields: introduce SparkFun u-blox SARA-R4 shield
SparkFun offers an Arduino-R3 compatible shield using the SARA-R410M-02B LTE Cat M1/NB-IoT modem. Now, that the basic SARA-R4 modem driver is implemented, let's enable the shield for several MCUs supporting Arduino-R3 compatible headers. Product Link: https://www.sparkfun.com/products/14997 Signed-off-by: Michael Scott <[email protected]>
1 parent ffbeaee commit b606d35

File tree

6 files changed

+44
-0
lines changed

6 files changed

+44
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_UART_4=y
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CONFIG_UART_MCUX_3=y
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_GPIO_NRF_P1=y
2+
CONFIG_UART_1_NRF_UARTE=y
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* Copyright (c) 2019 Foundries.io
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&arduino_serial {
8+
tx-pin = <34>;
9+
rx-pin = <33>;
10+
};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Enable u-blox SARA-R4 modem
2+
CONFIG_MODEM=y
3+
CONFIG_MODEM_SHELL=y
4+
CONFIG_MODEM_UBLOX_SARA_R4=y
5+
CONFIG_UART_INTERRUPT_DRIVEN=y
6+
7+
# extend retry timing to 20 seconds for LTE/LTE-M
8+
CONFIG_COAP_INIT_ACK_TIMEOUT_MS=20000
9+
10+
# Hack: disable IPv6 for now
11+
# CONFIG_NET_IPV6 is not set
12+
# CONFIG_NET_CONFIG_NEED_IPV6 is not set
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/*
2+
* Copyright (c) 2019 Foundries.io
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&arduino_serial {
8+
current-speed = <115200>;
9+
status = "ok";
10+
11+
sara_r4 {
12+
compatible = "ublox,sara-r4";
13+
label = "ublox-sara-r4";
14+
mdm-power-gpios = <&arduino_header 11 0>; /* D5 */
15+
mdm-reset-gpios = <&arduino_header 12 0>; /* D6 */
16+
status = "ok";
17+
};
18+
};

0 commit comments

Comments
 (0)