Docker-based Development Environment Demo #399
astroesteban
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey y'all! 👋
I wanted to share with the community a small thing I've been working on. The name of the project is cfs-pi and the goal of it is to provide an all-in-one development environment for cFS and be able to cross-compile for the Raspberry Pi. This is achieved by taking advantage of Docker and Visual Studio Code's DevContainer feature.
I wanted to keep it as minimal as possible so I only use the
Caelum RC4
versions of cFE, PSP, and OSAL without any apps to provide a minimal proof of concept. Anyone that takes this project can add their own apps on top or customize it how they see fit. Or hopefully this can serve as a good reference for others in the community.The only truly custom things were the Docker-related files and the Raspberry Pi Toolchain.
I managed to compile cFS for the native Ubuntu Docker image as well as cross-compile it for the Raspberry Pi 3B+ I have. On top of that I could "flash" the Pi by
scp
'ing the files over from inside of the container. The only limitation I found was that I couldn't pingraspberrypi.local
from inside of the container. I had to do that on the host. Another limitation is that I can't use GUI applications from inside of the container.Anyways check it out: https://github.com/astroesteban/cfs-pi
🚀
Beta Was this translation helpful? Give feedback.
All reactions