Build script that builds Marlin Firmware for BigTreeTech SKR Mini E3 2.0 and Touch Screen Firmware for BigTreeTech TFT35 E3 V3.0 screen.
You can it is easily configure scripts to build firmware for your board and screen using environment variables inside build scripts.
MARLIN_BRANCH: Preffered git branch of Marlin repository to build.MARLIN_CONF_BRANCH: Preferred git branch to copy configuration from.BOARD_CONF_DIR: Relative path for configuration directory of your board onConfigurationsrepo.BOARD_ENV: You can find your board's environment inplatformio.inifile.
./build_marlin_fw.shBuilt firmware (firmware.bin file) will be copied under dist/Marlin (at project root) inside a directory.
It has less items to configure than Marlin.
Just set your screen to BOARD_ENV and BOARD_TYPE inside build_btt_tft_fw.sh.
You can find the list of options for BOARD_ENV on platform.ini file in firmware repository. The default is BIGTREE_TFT35_E3_V3_0.
The options for BOARD_TYPE are the directory names listed here. Default value is TFT35.
./build_btt_tft_fw.shBuilt firmware (.bin file and other config.ini ) will be copied under dist/Marlin (at project root) inside a directory.