16 lines
627 B
Markdown
16 lines
627 B
Markdown
|
# Zephyr configurator
|
||
|
|
||
|
## Run
|
||
|
```
|
||
|
docker build . -t zephyr-config
|
||
|
|
||
|
docker volume create --driver local --name zephyr --opt type=none --opt device=$HOME/zephyrproject --opt o=uid=root,gid=root --opt o=bind
|
||
|
docker run -it -v zephyr:/workdir --rm zephyr-config
|
||
|
```
|
||
|
|
||
|
## Developing
|
||
|
1. Create the zephyr workspace if you are running the container for the first time by using the first option in the menu
|
||
|
2. Create a new project by selecting the second option
|
||
|
3. Open the `$HOME/zephyrproject/app` directory in your IDE. The source code is located in the `src` subdirectory.
|
||
|
4. Build and flash the project using the options 4 and 5.
|