Skip to content

Commit ee1b287

Browse files
nordicjmcarlescufi
authored andcommitted
samples/tests: Update for hwmv2 board names
Updates board names to use their hwmv2 names Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent a4bb6cf commit ee1b287

File tree

13 files changed

+33
-33
lines changed

13 files changed

+33
-33
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ To run one of the sample applications using qemu, run the following commands:
9292
assumes `qemu-system-arm` is available on your local system.
9393

9494
```
95-
$ west build -p -b mps2_an521 \
95+
$ west build -p -b mps2/an521/cpu0 \
9696
modules/lib/zscilib/samples/matrix/mult -t run
9797
...
9898
*** Booting Zephyr OS build zephyr-v2.6.0-536-g89212a7fbf5f ***
@@ -113,7 +113,7 @@ Press **`CTRL+A`** then **`x`** to quit qemu.
113113
To run the unit tests for this library, run the following command:
114114

115115
```bash
116-
$ twister --inline-logs -p mps2_an521 -T modules/lib/zscilib/tests
116+
$ twister --inline-logs -p mps2/an521/cpu0 -T modules/lib/zscilib/tests
117117
```
118118

119119
See the `tests` folder for further details.
@@ -141,7 +141,7 @@ you can run the following commands to start a new GDB debug session.
141141
In one terminal window, run:
142142

143143
```bash
144-
$ west build -p auto -b mps2_an521 modules/lib/zscilib/samples/matrix/pinv
144+
$ west build -p auto -b mps2/an521/cpu0 modules/lib/zscilib/samples/matrix/pinv
145145
```
146146

147147
Once the ELF file has been built, we can start a GDB server on the default

samples/benchmarking/README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ To run the application on real HW, typically outputting the results to the
4848
serial port, you can try a variant of the following, adjusting ``-b``
4949
as appropriate.
5050

51-
The **nRF52840 PCA10056** from Nordic Semiconductors is used below:
51+
The **nRF52840dk** from Nordic Semiconductors is used below:
5252

5353
.. code-block:: console
5454
55-
$ west build -b nrf52840_pca10056 samples/benchmarking/
55+
$ west build -b nrf52840dk/nrf52840 samples/benchmarking/
5656
$ west flash
5757
5858
Sample Output
@@ -65,7 +65,7 @@ The benchmark application will normally output text resembling the following:
6565
***** Booting Zephyr OS zephyr-v1.14.0-39-ge03905354671 *****
6666
zscilib benchmark
6767
68-
BOARD: nrf52840_pca10056
68+
BOARD: nrf52840dk
6969
ZSL VERSION: 0.1.0-prerelease (Apr 29 2019)
7070
CONFIG_ZSL_PLATFORM_OPT: 2
7171
CONFIG_ZSL_SINGLE_PRECISION: False

samples/matrix/mult/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ the result to the console:
3232
3333
To run the application on real HW, typically outputting the results to the
3434
serial port, you can try a variant of the following, adjusting ``-b BOARD``
35-
as appropriate. The **nRF52840 PCA10056** from Nordic Semiconductors is used
35+
as appropriate. The **nRF52840dk** from Nordic Semiconductors is used
3636
below:
3737

3838
.. code-block:: console
3939
4040
$ rm -rf build
41-
$ west build -b nrf52840_pca10056 samples/matrix/mult
41+
$ west build -b nrf52840dk/nrf52840 samples/matrix/mult
4242
$ west flash

samples/matrix/pinv/README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ the result to the console:
2828

2929
.. code-block:: console
3030
31-
$ west build -p -b mps2_an521 samples/matrix/pinv -t run
31+
$ west build -p -b mps2/an521/cpu0 samples/matrix/pinv -t run
3232
3333
To run the application on real HW, typically outputting the results to the
3434
serial port, you can try a variant of the following, adjusting ``-b BOARD``
35-
as appropriate. The **nRF52840 PCA10056** from Nordic Semiconductors is used
35+
as appropriate. The **nRF52840dk** from Nordic Semiconductors is used
3636
below:
3737

3838
.. code-block:: console
3939
40-
$ west build -p -b nrf52840_pca10056 samples/matrix/pinv
40+
$ west build -p -b nrf52840/nrf52840dk samples/matrix/pinv
4141
$ west flash
4242
4343
Debugging
@@ -46,11 +46,11 @@ Debugging
4646
You can debug the application with GDB on actual hardware if you have a
4747
supported debugger and development board.
4848

49-
To debug your program on the **nRF52840 PCA10056**, for example, run:
49+
To debug your program on the **nRF52840dk**, for example, run:
5050

5151
.. code-block:: console
5252
53-
$ west build -p -b nrf52840_pca10056 samples/matrix/pinv
53+
$ west build -p -b nrf52840/nrf52840dk samples/matrix/pinv
5454
$ west flash
5555
$ west debug --runner jlink
5656

samples/matrix/svd/README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ the result to the console:
2828
.. code-block:: console
2929
3030
$ rm -rf build
31-
$ west build -b mps2_an521 samples/matrix/svd -t run
31+
$ west build -b mps2/an521/cpu0 samples/matrix/svd -t run
3232
3333
To run the application on real HW, typically outputting the results to the
3434
serial port, you can try a variant of the following, adjusting ``-b BOARD``
35-
as appropriate. The **nRF52840 PCA10056** from Nordic Semiconductors is used
35+
as appropriate. The **nRF52840dk** from Nordic Semiconductors is used
3636
below:
3737

3838
.. code-block:: console
3939
4040
$ rm -rf build
41-
$ west build -b nrf52840_pca10056 samples/matrix/svd
41+
$ west build -b nrf52840dk/nrf52840 samples/matrix/svd
4242
$ west flash

samples/orientation/apitest/README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ To run in QEMU:
1717

1818
.. code-block:: console
1919
20-
$ west build -p auto -b mps2_an521 \
20+
$ west build -p auto -b mps2/an521/cpu0 \
2121
modules/lib/zscilib/samples/orientation/apitest/ -t run
2222
2323
To run the application on real HW, typically outputting the results to the
2424
serial port, you can try a variant of the following, adjusting ``-b``
2525
as appropriate.
2626

27-
The **nRF52840 PCA10056** from Nordic Semiconductors is used below:
27+
The **nRF52840dk** from Nordic Semiconductors is used below:
2828

2929
.. code-block:: console
3030
31-
$ west build -b nrf52840_pca10056 \
31+
$ west build -b nrf52840dk/nrf52840 \
3232
modules/lib/zscilib/samples/orientation/apitest/
3333
$ west flash

samples/physics/gravitation/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ the result to the console:
3232
3333
To run the application on real HW, typically outputting the results to the
3434
serial port, you can try a variant of the following, adjusting ``-b BOARD``
35-
as appropriate. The **nRF52840 PCA10056** from Nordic Semiconductors is used
35+
as appropriate. The **nRF52840dk** from Nordic Semiconductors is used
3636
below:
3737

3838
.. code-block:: console
3939
40-
$ west build -p -b nrf52840_pca10056 modules/lib/zscilib/samples/physics/gravitation/
40+
$ west build -p -b nrf52840dk/nrf52840 modules/lib/zscilib/samples/physics/gravitation/
4141
$ west flash

samples/physics/kinematics/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ the result to the console:
3232
3333
To run the application on real HW, typically outputting the results to the
3434
serial port, you can try a variant of the following, adjusting ``-b BOARD``
35-
as appropriate. The **nRF52840 PCA10056** from Nordic Semiconductors is used
35+
as appropriate. The **nRF52840dk** from Nordic Semiconductors is used
3636
below:
3737

3838
.. code-block:: console
3939
40-
$ west build -p -b nrf52840_pca10056 modules/lib/zscilib/samples/physics/kinematics/
40+
$ west build -p -b nrf52840dk/nrf52840 modules/lib/zscilib/samples/physics/kinematics/
4141
$ west flash

samples/physics/momentum/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ the result to the console:
3232
3333
To run the application on real HW, typically outputting the results to the
3434
serial port, you can try a variant of the following, adjusting ``-b BOARD``
35-
as appropriate. The **nRF52840 PCA10056** from Nordic Semiconductors is used
35+
as appropriate. The **nRF52840dk** from Nordic Semiconductors is used
3636
below:
3737

3838
.. code-block:: console
3939
40-
$ west build -p -b nrf52840_pca10056 modules/lib/zscilib/samples/physics/momentum/
40+
$ west build -p -b nrf52840dk/nrf52840 modules/lib/zscilib/samples/physics/momentum/
4141
$ west flash

samples/physics/projectiles/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ the result to the console:
3232
3333
To run the application on real HW, typically outputting the results to the
3434
serial port, you can try a variant of the following, adjusting ``-b BOARD``
35-
as appropriate. The **nRF52840 PCA10056** from Nordic Semiconductors is used
35+
as appropriate. The **nRF52840dk** from Nordic Semiconductors is used
3636
below:
3737

3838
.. code-block:: console
3939
40-
$ west build -p -b nrf52840_pca10056 modules/lib/zscilib/samples/physics/projectiles/
40+
$ west build -p -b nrf52840dk/nrf52840 modules/lib/zscilib/samples/physics/projectiles/
4141
$ west flash

0 commit comments

Comments
 (0)