This is introductory project showing the Device Tree mechanisms of
Zephyr OS. This project details
on how GPIO resources
are mapped using Device Tree. It also
provides a functional example of reading GPIO's
.
We are using the STM32F3 Discovery board as a target for this project.
This project uses the latest version of initialization and build scripts.
The process of what's done in the script is explained in the following article.
cd Workspace/${ProjectDirectory}
...
./init-project
This would create the build_${ProjectDirectory}
directory with Make initialized.
Note: By default the STM32F3 Discovery Board is selected. One can provide additional input to change that.
cd Workspace/${ProjectDirectory}
...
./init-project arduino_zero
The above would change the Build to arduino_zero
cd Workspace/${ProjectDirectory}
...
./build-flash
This would use the build_${ProjectDirectory}
created in the *Initialization step.
Note: By default the STM32F3 Discovery Board is selected.
Currently there is no way to change this, but we are working on that.
There is a complete set of tutorials to help you get started on Zephyr OS :
- Installing the Zephyr SDK
https://boseji.com/posts/zephyr-part-1-start/ - Your first project to
blinky
example on Zephyr OS
https://boseji.com/posts/zephyr-part-2-blinky-example-stm32f3discovery/ - Application Development on Zephyr OS - creating the
fancier-blinky
https://boseji.com/posts/zephyr-part-3-app-dev
Copyright (c) 2020 Abhijit Bose https://boseji.com
SPDX-License-Identifier: Apache-2.0
All the files in this repository conform to Apache License, Version 2.0 unless otherwise specified.