This repository has been archived on 2025-12-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Marlin_FB4S/buildroot/share/PlatformIO/scripts/mks_robin_nano35.py
2021-05-25 12:50:23 +03:00

11 lines
373 B
Python

#
# buildroot/share/PlatformIO/scripts/mks_robin_nano35.py
#
Import("env")
import marlin
marlin.prepare_robin("0x08007000", "mks_robin_nano.ld", "Robin_nano35.bin")
env.Replace(
UPLOADER="curl",
UPLOADCMD="$UPLOADER -v -H 'Content-Type:application/octet-stream' http://$UPLOADERFLAGS/upload?X-Filename=Robin_Nano35.bin --data-binary @$BUILD_DIR/Robin_nano35.bin"
)