Closed kendallgoto closed 3 months ago
Thanks for the PR, @kendallgoto! This looks promising. I'd like to invite @mcuee and @MCUdude to test the docker file on different platforms.
Yes, I will try this out later this week.
@kendallgoto Once this is working, it may be a good idea to create github CI action to build the binaries files.
Edit to add: But I understand that @stefanrueger thinks CI is not a problem. So that can be discussed later. No need to be in this PR.
ci would be nice, though i'm not sure how relevant it would be for this project. maybe just to isolate the baked-in firmware files into a ci release package, otherwise not crucial imo.
my personal use was for setting up a portable way to quickly build custom bootloader hexs rather than rely on a huge table of precompiled hex files with different quirks within my platformio project.
Yes this PR works fine. Tested under Debian 12 VM. urboot_docker_build.txt
Thanks all round. Merged
Adds a small Dockerfile definition to create a Linux build environment on non-linux machines + provides documentation in the README to build w/ zero setup.
Tested on aarch64 macOS (using Docker to simulate x86-64 linux for precompiled AVR toolchain) and x86-64 linux.
From the repo root directory:
is equivalent to
make all
.(closes #15)