File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,16 @@ target board. To add board support:
26261 . This project is structured in a way so as to isolate the variants from the core API. Thus, whenever a new board
2727needs to be added it needs to be done in the ` variants/ ` folder.
2828Add 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
3232An example of this structure is shown below.
3333
3434``` tree
3535variants/
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.
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ Building and Running
2323Build 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` ``
You can’t perform that action at this time.
0 commit comments