Skip to content

Commit 634df1e

Browse files
iiakartben
authored andcommitted
boards: seeed: Adding initial board support
Initial board support for Wio-WM1110 Dev Kit. Signed-off-by: Ishraq Ibne Ashraf <[email protected]>
1 parent 38e1054 commit 634df1e

File tree

9 files changed

+357
-0
lines changed

9 files changed

+357
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Copyright (c) 2025 Ishraq Ibne Ashraf <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
config BOARD_WIO_WM1110_DEV_KIT
6+
select SOC_NRF52840_QIAA
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Copyright (c) 2025 Ishraq Ibne Ashraf <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
board_runner_args(pyocd "--target=nrf52840" "--frequency=4000000")
6+
7+
set(OPENOCD_NRF5_SUBFAMILY "nrf52")
8+
set(OPENOCD_NRF5_INTERFACE "cmsis-dap")
9+
10+
include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)
11+
include(${ZEPHYR_BASE}/boards/common/openocd-nrf5.board.cmake)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Copyright (c) 2025 Ishraq Ibne Ashraf <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
board:
6+
name: wio_wm1110_dev_kit
7+
full_name: Wio-WM1110 Dev Kit
8+
vendor: seeed
9+
socs:
10+
- name: nrf52840
Binary file not shown.
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
.. zephyr:board:: wio_wm1110_dev_kit
2+
3+
Overview
4+
********
5+
6+
The Wio-WM1110 Dev Kit is based on the Wio-WM1110 Wireless Module. This module
7+
integrates a LoRa® transceiver and a multi-purpose radio front-end for geolocation.
8+
The LoRa® transceiver provides low-power network coverage, while GNSS (GPS/Beidou)
9+
and Wi-Fi scanning offer location coverage while also providing connectivity options
10+
for a variety of peripherals.
11+
12+
Hardware
13+
********
14+
15+
Wio-WM1110 Dev Kit featuring:
16+
17+
- Accelerometer, LIS3DHTR
18+
- Temperature and humidity sensor, SHT41
19+
- Two user LEDs (green and red)
20+
- Three buttons (two user and one reset)
21+
- Three Grove connectors
22+
- USB Type-C connector
23+
- GNSS antenna connector
24+
- LoRa antenna connector
25+
- NFC antenna IPEX connector
26+
- Support for solar and battery power
27+
28+
For more information about Wio-WM1110 Dev Kit: `Wio-WM1110 Dev Kit Product Page`_.
29+
30+
The Wio-WM1110 Wireless Module is embedded with Nordic Semiconductor nRF52840
31+
and Semtech LR1110. In this module the nRF52840 is intended to be used as an
32+
application processor and the LR1110 interfaces with it via SPI. Most of the
33+
interfaces and pins exposed in this board are on nRF52840.
34+
35+
For more information about Wio-WM1110 Wireless Module: `Wio-WM1110 Wireless Module Product Page`_.
36+
37+
Nordic Semiconductor nRF52840 featuring:
38+
39+
- ARM® Cortex®-M4 32-bit processor with FPU, 64 MHz
40+
- Bluetooth®5, IEEE 802.15.4-2006, 2.4 GHz transceiver
41+
- 1 MB flash and 256 kB RAM
42+
- ARM® TrustZone® Cryptocell 310 security subsystem
43+
- Secure boot
44+
45+
For more information about Nordic Semiconductor nRF52840: `Nordic Semiconductor nRF52840 Product Page`_.
46+
47+
Semtech LR1110 featuring:
48+
49+
- Worldwide ISM frequency bands support in the range 150 - 960MHz
50+
- GNSS (GPS/ BeiDou) low-power scanning
51+
- 802.11b/g/n Wi-Fi ultra-low-power passive scanning
52+
- 150 - 2700MHz continuous frequency synthesizer range
53+
- Hardware support for AES-128 encryption/decryption based algorithms
54+
55+
For more information about Semtech LR1110: `Semtech LR1110 Product Page`_.
56+
57+
Supported Features
58+
==================
59+
60+
.. zephyr:board-supported-hw::
61+
62+
Connections and IOs
63+
===================
64+
65+
+-------+----------+----------------------+
66+
| Name | Function | Usage |
67+
+=======+==========+======================+
68+
| P0.13 | GPIO | Green LED |
69+
+-------+----------+----------------------+
70+
| P0.14 | GPIO | Red LED |
71+
+-------+----------+----------------------+
72+
| P0.23 | GPIO | User Button 1 (BTN1) |
73+
+-------+----------+----------------------+
74+
| P0.25 | GPIO | User Button 2 (BTN2) |
75+
+-------+----------+----------------------+
76+
| P0.18 | GPIO | Reset Button (RST) |
77+
+-------+----------+----------------------+
78+
| P0.22 | UART0_RX | Debug Console |
79+
+-------+----------+----------------------+
80+
| P0.24 | UART0_TX | Debug Console |
81+
+-------+----------+----------------------+
82+
83+
Programming and Debugging
84+
*************************
85+
86+
.. zephyr:board-supported-runners::
87+
88+
.. note::
89+
The Wio-WM1110 Dev Kit does not include an on-board debug probe. But it can be
90+
flashed and debugged by connecting an external SWD debugger to the SWD header.
91+
92+
Flashing
93+
========
94+
95+
You can build and flash an application in the usual way.
96+
97+
Here is an example for the :zephyr:code-sample:`blinky` application.
98+
99+
.. zephyr-app-commands::
100+
:zephyr-app: samples/basic/blinky
101+
:board: wio_wm1110_dev_kit
102+
:goals: build flash
103+
104+
Debugging
105+
=========
106+
107+
You can debug an application in the usual way.
108+
109+
Here is an example for the :zephyr:code-sample:`blinky` application.
110+
111+
.. zephyr-app-commands::
112+
:zephyr-app: samples/basic/blinky
113+
:board: wio_wm1110_dev_kit
114+
:maybe-skip-config:
115+
:goals: debug
116+
117+
.. _Nordic Semiconductor nRF52840 Product Page:
118+
https://www.nordicsemi.com/Products/nRF52840
119+
120+
.. _Wio-WM1110 Dev Kit Product Page:
121+
https://www.seeedstudio.com/Wio-WM1110-Dev-Kit-p-5677.html
122+
123+
.. _Semtech LR1110 Product Page:
124+
https://www.semtech.com/products/wireless-rf/lora-edge/lr1110
125+
126+
.. _Wio-WM1110 Wireless Module Product Page:
127+
https://www.seeedstudio.com/Wio-WM1110-Module-LR1110-and-nRF52840-p-5676.html
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
/*
2+
* Copyright (c) 2025 Ishraq Ibne Ashraf <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&pinctrl {
8+
uart0_default: uart0_default {
9+
group0 {
10+
psels =
11+
<NRF_PSEL(UART_RX, 0, 22)>,
12+
<NRF_PSEL(UART_TX, 0, 24)>;
13+
};
14+
};
15+
16+
uart0_sleep: uart0_sleep {
17+
group0 {
18+
psels =
19+
<NRF_PSEL(UART_RX, 0, 22)>,
20+
<NRF_PSEL(UART_TX, 0, 24)>;
21+
22+
low-power-enable;
23+
};
24+
};
25+
26+
uart1_default: uart1_default {
27+
group0 {
28+
psels =
29+
<NRF_PSEL(UART_RX, 0, 6)>,
30+
<NRF_PSEL(UART_TX, 0, 8)>;
31+
};
32+
};
33+
34+
uart1_sleep: uart1_sleep {
35+
group0 {
36+
psels =
37+
<NRF_PSEL(UART_RX, 0, 6)>,
38+
<NRF_PSEL(UART_TX, 0, 8)>;
39+
40+
low-power-enable;
41+
};
42+
};
43+
44+
i2c0_default: i2c0_default {
45+
group0 {
46+
psels =
47+
<NRF_PSEL(TWIM_SCL, 0, 26)>,
48+
<NRF_PSEL(TWIM_SDA, 0, 27)>;
49+
};
50+
};
51+
52+
i2c0_sleep: i2c0_sleep {
53+
group0 {
54+
psels =
55+
<NRF_PSEL(TWIM_SCL, 0, 26)>,
56+
<NRF_PSEL(TWIM_SDA, 0, 27)>;
57+
58+
low-power-enable;
59+
};
60+
};
61+
};
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
/*
2+
* Copyright (c) 2025 Ishraq Ibne Ashraf <[email protected]>
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/dts-v1/;
8+
#include <nordic/nrf52840_qiaa.dtsi>
9+
#include <nordic/nrf52840_partition.dtsi>
10+
#include "wio_wm1110_dev_kit-pinctrl.dtsi"
11+
12+
/ {
13+
model = "Wio-WM1110 Dev Kit";
14+
compatible = "seeed,wio-wm1110-dev-kit";
15+
16+
aliases {
17+
led0 = &led0;
18+
led1 = &led1;
19+
sw0 = &button0;
20+
sw1 = &button1;
21+
magn0 = &lis3dh;
22+
accel0 = &lis3dh;
23+
ambient-temp0 = &sht4x;
24+
};
25+
26+
chosen {
27+
zephyr,console = &uart0;
28+
zephyr,shell-uart = &uart0;
29+
};
30+
31+
leds {
32+
compatible = "gpio-leds";
33+
34+
led0: led_0 {
35+
label = "Green LED";
36+
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
37+
};
38+
39+
led1: led_1 {
40+
label = "Red LED";
41+
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
42+
};
43+
};
44+
45+
buttons {
46+
compatible = "gpio-keys";
47+
48+
button0: button_0 {
49+
label = "Button 1";
50+
gpios = <&gpio0 23 GPIO_PULL_UP>;
51+
zephyr,code = <INPUT_KEY_0>;
52+
};
53+
54+
button1: button_1 {
55+
label = "Button 2";
56+
gpios = <&gpio0 25 GPIO_PULL_UP>;
57+
zephyr,code = <INPUT_KEY_1>;
58+
};
59+
};
60+
};
61+
62+
&gpiote {
63+
status = "okay";
64+
};
65+
66+
&gpio0 {
67+
status = "okay";
68+
69+
i2c_power {
70+
gpio-hog;
71+
output-high;
72+
gpios = <7 GPIO_ACTIVE_HIGH>;
73+
};
74+
};
75+
76+
&gpio1 {
77+
status = "okay";
78+
};
79+
80+
&uart0 {
81+
compatible = "nordic,nrf-uarte";
82+
status = "okay";
83+
current-speed = <115200>;
84+
pinctrl-0 = <&uart0_default>;
85+
pinctrl-1 = <&uart0_sleep>;
86+
pinctrl-names = "default", "sleep";
87+
};
88+
89+
&i2c0 {
90+
compatible = "nordic,nrf-twim";
91+
status = "okay";
92+
clock-frequency = <I2C_BITRATE_STANDARD>;
93+
pinctrl-0 = <&i2c0_default>;
94+
pinctrl-1 = <&i2c0_sleep>;
95+
pinctrl-names = "default", "sleep";
96+
97+
lis3dh: lis3dh@19 {
98+
compatible = "st,lis3dh", "st,lis2dh";
99+
reg = <0x19>;
100+
irq-gpios =
101+
<&gpio0 11 GPIO_ACTIVE_HIGH>,
102+
<&gpio0 12 GPIO_ACTIVE_HIGH>;
103+
};
104+
105+
sht4x: sht4x@44 {
106+
compatible = "sensirion,sht4x";
107+
reg = <0x44>;
108+
repeatability = <2>;
109+
};
110+
};
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright (c) 2025 Ishraq Ibne Ashraf <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
identifier: wio_wm1110_dev_kit
6+
name: Wio-WM1110 Dev Kit
7+
type: mcu
8+
arch: arm
9+
ram: 256
10+
flash: 1024
11+
toolchain:
12+
- zephyr
13+
- gnuarmemb
14+
supported:
15+
- i2c
16+
- led
17+
- gpio
18+
- sram
19+
- flash
20+
- uarte
21+
- button
22+
- pinctrl
23+
vendor: seeed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Copyright (c) 2025 Ishraq Ibne Ashraf <[email protected]>
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
CONFIG_GPIO=y
6+
CONFIG_SERIAL=y
7+
CONFIG_ARM_MPU=y
8+
CONFIG_CONSOLE=y
9+
CONFIG_UART_CONSOLE=y

0 commit comments

Comments
 (0)