A repository to store my various Marlin 2.1.2 configuration files.
- Uses submodules to build marlin from source
- Submodules allow you to select specific branch tags at compile time
- Code is imported direct from source, no need to download and extract every time a new Marlin version comes out
- Easily maintain multiple configuration files
- Custom config files are int eh
.\Custom
directory - Update the
CONFIG-DIR
varible in the rootmakefile
to change which configuration is used - Update the
PIO-INI
variable for customplatformio.ini
files - Can use custom or example config
- Custom config files are int eh
- Uses containers to build, no need to install the Platform.io IDE
- Less time setting up to compile
- Simplified into make files
- An OCI container environment
podman
preferreddocker
compatable
git
- Clone this repository to the machine you will use to build
- Update the variables at the top of
makefile
to match your configurationCE
= Container Environment. Use eitherpodman
ordocker
CONFIG-DIR
= Directory containing the configuration files you want to usePIO-INI
= Location of a completeplatformio.ini
configured for the board you are trying to use
- Run
make init
to initialize the Marlin submodules - Run
make pio-install
to build the platform.io container - Finally, run
make firmware-build
to build your firmware