Skip to content

Commit 0f9b362

Browse files
committed
boards: nrf52_pca20020: Rename to thingy52_nrf52832
The board name for the Thingy:52, so far known as nrf52_pca20020, is renamed to thingy52_nrf52832. Its documentation and all references to its name in the tree are updated accordingly. Overlay and configuration files specific to this board are also renamed, to match the new board name. Signed-off-by: Carles Cufi <[email protected]>
1 parent 233d6c8 commit 0f9b362

19 files changed

+39
-33
lines changed

boards/arm/nrf52_pca20020/Kconfig boards/arm/thingy52_nrf52832/Kconfig

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# nRF52_PCA20020 board configuration
1+
# Thingy52 NRF52832 board configuration
22

33
# Copyright (c) 2018 Aapo Vienamo
44
# SPDX-License-Identifier: Apache-2.0
55

6-
if BOARD_NRF52_PCA20020
6+
if BOARD_THINGY52_NRF52832
77

88
config BOARD_VDD_PWR_CTRL_INIT_PRIORITY
99
int "VDD power rail init priority"
@@ -22,4 +22,4 @@ config BOARD_CCS_VDD_PWR_CTRL_INIT_PRIORITY
2222
CCS811 gas sensor. The value has to be greater than
2323
BOARD_VDD_PWR_CTRL_INIT_PRIORITY, but smaller than SENSOR_INIT_PRIORITY.
2424

25-
endif # BOARD_NRF52_PCA20020
25+
endif # BOARD_THINGY52_NRF52832
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# nRF52 PCA20020 board configuration
1+
# Thingy52 NRF52832 board configuration
22

33
# Copyright (c) 2018 Aapo Vienamo
44
# SPDX-License-Identifier: Apache-2.0
55

6-
config BOARD_NRF52_PCA20020
7-
bool "nRF52 PCA20020"
6+
config BOARD_THINGY52_NRF52832
7+
bool "Thingy52 NRF52832"
88
select GPIO
99
depends on SOC_NRF52832_QFAA
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# nRF52 PCA20020 board configuration
1+
# Thingy52 NRF52832 board configuration
22

33
# Copyright (c) 2018 Aapo Vienamo
44
# SPDX-License-Identifier: Apache-2.0
55

6-
if BOARD_NRF52_PCA20020
6+
if BOARD_THINGY52_NRF52832
77

88
config BOARD
9-
default "nrf52_pca20020"
9+
default "thingy52_nrf52832"
1010

1111
config ADC_0
1212
default y
@@ -18,4 +18,4 @@ config I2C
1818
config BT_CTLR
1919
default BT
2020

21-
endif # BOARD_NRF52_PCA20020
21+
endif # BOARD_THINGY52_NRF52832
File renamed without changes.
File renamed without changes.

boards/arm/nrf52_pca20020/doc/index.rst boards/arm/thingy52_nrf52832/doc/index.rst

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
.. _nrf52_pca20020:
1+
.. _thingy52_nrf52832:
22

3-
nRF52-PCA20020 (Thingy:52)
4-
##########################
3+
Thingy:52
4+
#########
55

66
Overview
77
********
88

9-
Zephyr uses the nrf52_pca20020 board configuration for building for the
10-
Thingy:52 board. The board has the nRF52832 MCU with ARM Cortex-M4F processor,
11-
a set of environmental sensors, a pushbutton, and two RGB LEDs.
9+
Zephyr uses the thingy52_nrf52832 (PCA20020) board configuration for building
10+
for the Thingy:52 board. The board has the nRF52832 MCU with ARM Cortex-M4F
11+
processor, a set of environmental sensors, a pushbutton, and two RGB LEDs.
1212

1313
* :abbr:`ADC (Analog to Digital Converter)`
1414
* CLOCK
@@ -29,7 +29,7 @@ a set of environmental sensors, a pushbutton, and two RGB LEDs.
2929
* :abbr:`UART (Universal asynchronous receiver-transmitter)`
3030
* :abbr:`WDT (Watchdog Timer)`
3131

32-
.. figure:: img/nrf52_pca20020.jpg
32+
.. figure:: img/thingy52_nrf52832.jpg
3333
:width: 442px
3434
:align: center
3535
:alt: nRF52 Thingy:52
@@ -40,6 +40,10 @@ More information about the board can be found at the `nRF52 DK website`_. The
4040
`Nordic Semiconductor Infocenter`_ contains the processor's information and the
4141
datasheet.
4242

43+
.. note::
44+
45+
In previous Zephyr releases this board was named *nrf52_pca20020*.
46+
4347
Hardware
4448
********
4549

@@ -366,7 +370,7 @@ The green lightwell LED can be tested with the :ref:`blinky-sample` example.
366370

367371
.. zephyr-app-commands::
368372
:zephyr-app: samples/basic/blinky
369-
:board: nrf52_pca20020
373+
:board: thingy52_nrf52832
370374
:goals: build flash
371375

372376

@@ -376,7 +380,7 @@ sample.
376380

377381
.. zephyr-app-commands::
378382
:zephyr-app: samples/sensor/hts221
379-
:board: nrf52_pca20020
383+
:board: thingy52_nrf52832
380384
:goals: build flash
381385

382386
References

boards/arm/nrf52_pca20020/nrf52_pca20020.dts boards/arm/thingy52_nrf52832/thingy52_nrf52832.dts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <nordic/nrf52832_qfaa.dtsi>
1111

1212
/ {
13-
model = "Nordic PCA20020 Dev Kit";
14-
compatible = "nordic,pca20020-dk", "nordic,nrf52832-qfaa",
13+
model = "Nordic Thingy52 NRF52832";
14+
compatible = "nordic,thingy52-nrf52832", "nordic,nrf52832-qfaa",
1515
"nordic,nrf52832";
1616

1717
chosen {

boards/arm/nrf52_pca20020/nrf52_pca20020.yaml boards/arm/thingy52_nrf52832/thingy52_nrf52832.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
identifier: nrf52_pca20020
2-
name: nRF52-PCA20020
1+
identifier: thingy52_nrf52832
2+
name: Thingy52-NRF52832
33
type: mcu
44
arch: arm
55
ram: 64

boards/arm/nrf52_pca20020/nrf52_pca20020_defconfig boards/arm/thingy52_nrf52832/thingy52_nrf52832_defconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
CONFIG_SOC_SERIES_NRF52X=y
44
CONFIG_SOC_NRF52832_QFAA=y
5-
CONFIG_BOARD_NRF52_PCA20020=y
5+
CONFIG_BOARD_THINGY52_NRF52832=y
66

77
# Enable MPU
88
CONFIG_ARM_MPU=y

boards/deprecated.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
set(nrf51_pca10028_DEPRECATED nrf51dk_nrf51422)
1212
set(nrf51_pca10031_DEPRECATED nrf51dongle_nrf51422)
1313
set(nrf52_pca10040_DEPRECATED nrf52dk_nrf52832)
14+
set(nrf52_pca20020_DEPRECATED thingy52_nrf52832)
1415
set(nrf52810_pca10040_DEPRECATED nrf52dk_nrf52810)
1516
set(nrf52833_pca10100_DEPRECATED nrf52833dk_nrf52833)
1617
set(nrf52840_pca10056_DEPRECATED nrf52840dk_nrf52840)

doc/conf.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,8 @@
352352
('boards/arm/nrf52_blenano2/doc/nrf52_blenano2', 'boards/arm/nrf52_blenano2/doc/index'),
353353
('boards/arm/nrf52_pca10040/doc/nrf52_pca10040', 'boards/arm/nrf52dk_nrf52832/doc/index'),
354354
('boards/arm/nrf52_pca10040/doc/nrf52_pca10040/index', 'boards/arm/nrf52dk_nrf52832/doc/index'),
355-
('boards/arm/nrf52_pca20020/doc/nrf52_pca20020', 'boards/arm/nrf52_pca20020/doc/index'),
355+
('boards/arm/nrf52_pca20020/doc/nrf52_pca20020', 'boards/arm/thingy52_nrf52832/doc/index'),
356+
('boards/arm/nrf52_pca20020/doc/nrf52_pca20020/index', 'boards/arm/thingy52_nrf52832/doc/index'),
356357
('boards/arm/nrf52_vbluno52/doc/nrf52_vbluno52', 'boards/arm/nrf52_vbluno52/doc/index'),
357358
('boards/arm/nucleo_f030r8/doc/nucleof030r8', 'boards/arm/nucleo_f030r8/doc/index'),
358359
('boards/arm/nucleo_f070rb/doc/nucleof070rb', 'boards/arm/nucleo_f070rb/doc/index'),

samples/boards/nrf/battery/sample.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ sample:
33
tests:
44
sample.boards.nrf.battery:
55
build_only: true
6-
platform_whitelist: particle_xenon nrf52_pca20020
6+
platform_whitelist: particle_xenon thingy52_nrf52832
77
tags: battery

samples/boards/nrf/battery/src/battery.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ LOG_MODULE_REGISTER(BATTERY, CONFIG_ADC_LOG_LEVEL);
2222

2323
#define VBATT DT_PATH(vbatt)
2424

25-
#ifdef CONFIG_BOARD_NRF52_PCA20020
25+
#ifdef CONFIG_BOARD_THINGY52_NRF52832
2626
/* This board uses a divider that reduces max voltage to
2727
* reference voltage (600 mV).
2828
*/

samples/sensor/ccs811/README.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ human presence.
1717
Building and Running
1818
********************
1919

20-
Building and Running on nrf52_pca20020
21-
======================================
20+
Building and Running on thingy52_nrf52832
21+
=========================================
2222

2323
.. zephyr-app-commands::
2424
:zephyr-app: samples/sensor/ccs811
25-
:board: nrf52_pca20020
25+
:board: thingy52_nrf52832
2626
:goals: build flash
2727
:compact:
2828

@@ -32,7 +32,7 @@ Sample Output
3232

3333
The sample output below is from a `Nordic Thingy:52
3434
<https://www.nordicsemi.com/Software-and-tools/Prototyping-platforms/Nordic-Thingy-52>`_
35-
(nrf52_pca20020) that includes this sensor (and others).
35+
(thingy52_nrf52832) that includes this sensor (and others).
3636
After a soft reset, there is a 5-second startup period
3737
where readings are unstable, and then we can see steady
3838
reported measurements of about 400 ppm eC02 and 0 ppb eTVOC.

samples/sensor/ccs811/sample.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ tests:
1111
sample.sensor.ccs811:
1212
harness: sensor
1313
tags: sensors
14-
platform_whitelist: nrf52_pca20020
14+
platform_whitelist: thingy52_nrf52832
1515
depends_on: i2c

samples/sensor/lis2dh/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The LIS2DH2 or compatible sensors are available on a variety of boards
2929
and shields supported by Zephyr, including:
3030

3131
* :ref:`actinius_icarus`
32-
* :ref:`nrf52_pca20020`
32+
* :ref:`thingy52_nrf52832`
3333
* :ref:`stm32f3_disco_board`
3434
* :ref:`x-nucleo-iks01a2`
3535

0 commit comments

Comments
 (0)