`
`
This docker image is the official mbed-OS development environment. Dockerfile being used
docker pull mbedos/mbed-os-env
launch docker by
docker run -it mbedos/mbed-os-env:<lable>
Then you will have the container with mbed OS development environment. you should be able to compile mbed commands/examples as recommenced in mbed documentations e.g.
mbed import mbed-os-example-blinky
cd mbed-os-example-blinky
mbed compile -m <TARGET> -t GCC_ARM
If you want to use this docker container connect and flash your targets. you need some extra command line option to pass-through your USB devices.
sudo docker run -it --privileged -v /dev/disk/by-id:/dev/disk/by-id -v /dev/serial/by-id:/dev/serial/by-id mbed-os-env:<label>
Then you will have the container with mbed OS development environment.
To make sure your mbed targets been detected, you might want to manually run the mount command and mbedls to check
mount /dev/sdb /mnt
mbedls
if mbedls detected your connected target, then you should be able to run mbed tests/examples as recommenced in mbed documentations
mbed clone https://github.com/ARMmbed/mbed-os.git
cd mbed-os
mbed test -t GCC_ARM -m <target>
Content type
Image
Digest
Size
597.5 MB
Last updated
about 5 years ago
docker pull mbedos/mbed-os-env