Skip to content

Commit c6e3c37

Browse files
authored
Merge branch 'next' into next
2 parents 8145772 + 750e711 commit c6e3c37

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

documentation/variants.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,16 @@ target board. To add board support:
2626
1. This project is structured in a way so as to isolate the variants from the core API. Thus, whenever a new board
2727
needs to be added it needs to be done in the `variants/` folder.
2828
Add a folder inside of the variants folder that matches the name of your board.
29-
2. Add an overlay file and a pinmap header file that match the name of the board.
30-
3. Add your new headerfile to an `#ifdef` statement in the variant.h file.
29+
2. Add an overlay file file that match the name of the board.
30+
3. Add a `variant.h` file.
3131

3232
An example of this structure is shown below.
3333

3434
```tree
3535
variants/
3636
├── arduino_nano_33_ble
3737
│   ├── arduino_nano_33_ble.overlay
38-
│   └── arduino_nano_33_ble_pinmap.h
39-
├── CMakeLists.txt
40-
└── variant.h
41-
38+
│   ├── variant.h
4239
```
4340

4441
- The top level consists of `CMakeLists.txt`, `variant.h` and the `<BOARD_NAME>` folder. Each of these files have a specific role to play.

samples/blinky_arduino/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Building and Running
2323
Build and flash Blinky as follows,
2424

2525
```sh
26-
$> west build -p -b arduino_nano_33_ble samples/basic/arduino-blinky/ -DZEPHYR_EXTRA_MODULES=/home/$USER/zephyrproject/modules/lib/Arduino-Core-Zephyr
26+
$> west build -p -b arduino_nano_33_ble samples/blinky_arduino/ -DZEPHYR_EXTRA_MODULES=/home/$USER/zephyrproject/modules/lib/Arduino-Core-Zephyr
2727
2828
$> west flash --bossac=/home/$USER/.arduino15/packages/arduino/tools/bossac/1.9.1-arduino2/bossac
2929
```

0 commit comments

Comments
 (0)