-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dockerized toolchain support #170
base: master
Are you sure you want to change the base?
Conversation
I tried to build the v4 firmware using the docker image in this PR. However I am getting an error From BASH shell
From Powershell
I am running docker on windows. Any ideas? |
You should check that folder got mounted. Issue command docker run --rm -it -v $PWD:/work --entrypoint bash buspirate:latest This will take you to the shell inside the container. Check that firmware files are present in |
Its empty $ docker run --rm -it -v $PWD:/work --entrypoint bash buspirate:latest |
You could double-check that ls $PWD If it does, then the docker installation is messed up. I actually don't know if windows docker supports folder mounts. |
It seems to be OK
It was probably a stretch trying to get this to work on windows. I will move over to debian and give it a try. Thanks for the help. |
No, I've meant to issue this command from mingw, not from inside the container. |
Sorry misunderstood
|
This PR adds support for dockerized build toolchain, which would allow adding CI/CD to this project.
docker
containsbuild.dockerfile
for building the toolchain container and instructions on how to use it.Makefile
added to BPv4 bootloader and firmware folders for building without microchip IDENotes:
xc16
linker seem to be sensitive to the order of the object files, so couldn't usewildcard
in firmware Makefile