Skip to content
Permalink
Browse files

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 <mike@foundries.io>
  • Loading branch information...
mike-scott authored and nashif committed May 17, 2019
1 parent 35590c6 commit 4c490759c9dec01e60bad9bcd8792bdcd3fe440e
@@ -0,0 +1 @@
CONFIG_UART_4=y
@@ -0,0 +1 @@
CONFIG_UART_MCUX_3=y
@@ -0,0 +1,2 @@
CONFIG_GPIO_NRF_P1=y
CONFIG_UART_1_NRF_UARTE=y
@@ -0,0 +1,10 @@
/*
* Copyright (c) 2019 Foundries.io
*
* SPDX-License-Identifier: Apache-2.0
*/

&arduino_serial {
tx-pin = <34>;
rx-pin = <33>;
};
@@ -0,0 +1,12 @@
# Enable u-blox SARA-R4 modem
CONFIG_MODEM=y
CONFIG_MODEM_SHELL=y
CONFIG_MODEM_UBLOX_SARA_R4=y
CONFIG_UART_INTERRUPT_DRIVEN=y

# extend retry timing to 20 seconds for LTE/LTE-M
CONFIG_COAP_INIT_ACK_TIMEOUT_MS=20000

# Hack: disable IPv6 for now
# CONFIG_NET_IPV6 is not set
# CONFIG_NET_CONFIG_NEED_IPV6 is not set
@@ -0,0 +1,18 @@
/*
* Copyright (c) 2019 Foundries.io
*
* SPDX-License-Identifier: Apache-2.0
*/

&arduino_serial {
current-speed = <115200>;
status = "ok";

sara_r4 {
compatible = "ublox,sara-r4";
label = "ublox-sara-r4";
mdm-power-gpios = <&arduino_header 11 0>; /* D5 */
mdm-reset-gpios = <&arduino_header 12 0>; /* D6 */
status = "ok";
};
};

0 comments on commit 4c49075

Please sign in to comment.
You can’t perform that action at this time.