zephyr-configurator/README.md
H4CK3R-01 7916bc84d6
All checks were successful
Build & Publish / build (push) Successful in 7m41s
Updated README.md
2023-07-31 11:34:27 +02:00

24 lines
932 B
Markdown

# Zephyr configurator
## Run
### [Optional] Build manually
```
docker build . -t git.flokaiser.com/h4ck3r-01/zephyr-configurator
```
### Create volume and run
Creating the volume is needed due to permission problems on some systems.
```
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 git.flokaiser.com/h4ck3r-01/zephyr-configurator
```
## 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.
If you want to compile zepyhr for another plattform you have to clear the build directory first.