forked from MarlinFirmware/Marlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔨 Clean up build scripts (MarlinFirmware#22264)
* Add 10K to marlin_blackSTM32F407VET6 (typo?) * Document custom build scripts. * Add a Robin common build script. * Extraneous .ldscript specifiers
- Loading branch information
1 parent
61c48b8
commit b90de62
Showing
16 changed files
with
41 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# buildroot/share/PlatformIO/scripts/mks_robin.py | ||
# | ||
import marlin | ||
marlin.prepare_robin("0x08007000", "mks_robin.ld", "Robin.bin") | ||
import robin | ||
robin.prepare("0x08007000", "mks_robin.ld", "Robin.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# buildroot/share/PlatformIO/scripts/mks_robin_e3.py | ||
# | ||
import marlin | ||
marlin.prepare_robin("0x08005000", "mks_robin_e3.ld", "Robin_e3.bin") | ||
import robin | ||
robin.prepare("0x08005000", "mks_robin_e3.ld", "Robin_e3.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# buildroot/share/PlatformIO/scripts/mks_robin_e3p.py | ||
# | ||
import marlin | ||
marlin.prepare_robin("0x08007000", "mks_robin_e3p.ld", "Robin_e3p.bin") | ||
import robin | ||
robin.prepare("0x08007000", "mks_robin_e3p.ld", "Robin_e3p.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# buildroot/share/PlatformIO/scripts/mks_robin_lite.py | ||
# | ||
import marlin | ||
marlin.prepare_robin("0x08005000", "mks_robin_lite.ld", "mksLite.bin") | ||
import robin | ||
robin.prepare("0x08005000", "mks_robin_lite.ld", "mksLite.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# buildroot/share/PlatformIO/scripts/mks_robin_lite3.py | ||
# | ||
import marlin | ||
marlin.prepare_robin("0x08005000", "mks_robin_lite.ld", "mksLite3.bin") | ||
import robin | ||
robin.prepare("0x08005000", "mks_robin_lite.ld", "mksLite3.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# buildroot/share/PlatformIO/scripts/mks_robin_mini.py | ||
# | ||
import marlin | ||
marlin.prepare_robin("0x08007000", "mks_robin_mini.ld", "Robin_mini.bin") | ||
import robin | ||
robin.prepare("0x08007000", "mks_robin_mini.ld", "Robin_mini.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# buildroot/share/PlatformIO/scripts/mks_robin_nano.py | ||
# | ||
import marlin | ||
marlin.prepare_robin("0x08007000", "mks_robin_nano.ld", "Robin_nano.bin") | ||
import robin | ||
robin.prepare("0x08007000", "mks_robin_nano.ld", "Robin_nano.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# buildroot/share/PlatformIO/scripts/mks_robin_nano35.py | ||
# | ||
import marlin | ||
marlin.prepare_robin("0x08007000", "mks_robin_nano.ld", "Robin_nano35.bin") | ||
import robin | ||
robin.prepare("0x08007000", "mks_robin_nano.ld", "Robin_nano35.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# buildroot/share/PlatformIO/scripts/mks_robin_pro.py | ||
# | ||
import marlin | ||
marlin.prepare_robin("0x08007000", "mks_robin_pro.ld", "Robin_pro.bin") | ||
import robin | ||
robin.prepare("0x08007000", "mks_robin_pro.ld", "Robin_pro.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# buildroot/share/PlatformIO/scripts/robin.py | ||
# | ||
import marlin | ||
|
||
# Apply customizations for a MKS Robin | ||
def prepare(address, ldname, fwname): | ||
def encrypt(source, target, env): | ||
marlin.encrypt_mks(source, target, env, fwname) | ||
marlin.relocate_firmware(address) | ||
marlin.custom_ld_script(ldname) | ||
marlin.add_post_action(encrypt); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters