Clone or download
Pull request Compare This branch is 11 commits ahead of macrat:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
VERSION
build.sh
release.sh
requirements.txt

README.md

mbed-cli on the docker

installation

$ docker pull 3mdeb/docker-mbed-cli

usage

make mbed project

$ docker run --rm -v $PWD:/home/build 3mdeb/docker-mbed-cli new project-name
$ cd project-name
$ ls

develop

$ cat main.cpp
#include <mbed.h>

int main() {
	DigitalOut led(LED_GREEN);

	while(true){
		led = !led;
		delay(100);
	}
}

compile

	$ docker run --rm -v $PWD:/home/build 3mdeb/docker-mbed-cli compile -m BOARD_NAME

Please replace BOARD_NAME with your board model name.

Compiled file will create into BUILD/{BOARD_NAME}/GCC_ARM/.