https://github.com/3mdeb/zephyr-docker
Docker container for building Zephyr Project RTOS
https://github.com/3mdeb/zephyr-docker
Last synced: 5 months ago
JSON representation
Docker container for building Zephyr Project RTOS
- Host: GitHub
- URL: https://github.com/3mdeb/zephyr-docker
- Owner: 3mdeb
- Created: 2017-12-15T19:53:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-11-04T16:11:47.000Z (over 3 years ago)
- Last Synced: 2023-09-21T15:11:26.699Z (over 2 years ago)
- Language: Dockerfile
- Size: 2.93 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
zephyr-docker
=============
This repository contains Docker container of development environment for Zephyr
Project RTOS.
In addition container have tools for Nordic nRF52 development.
Usage
-----
## From Docker hub
```
docker pull 3mdeb/zephyr-docker
```
## From source
```
git clone https://github.com/3mdeb/zephyr-docker.git
cd zephyr-docker
ZEPHYR_VER=master SDK_VER=0.9.2 ./init.sh
```
Of course if SDK would be updated and installation method would not change you
should change `SDK_VER` stage accordingly.
`ZEPHYR_VER` can be any release e.g. `zephyr-v1.10.0`.
If no environment variables defined default from `init.sh` would be taken
(`SDK_VER`: 0.9.2, `ZEPHYR_VER`: master).
## Building and flashing
```
cd ~/zephyr
cd samples/bluetooth/beacon
mkdir build && cd build
cmake -DBOARD=nrf52_pca10040 ..
make
make flash
```