mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-17 03:37:47 -06:00
🔨 Fix IntelliSense / PIO conflicts (#23058)
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
parent
399faa91b9
commit
4483b8aaf0
37 changed files with 1075 additions and 1041 deletions
|
@ -1,12 +1,14 @@
|
|||
#
|
||||
# buildroot/share/PlatformIO/scripts/robin.py
|
||||
# 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);
|
||||
import pioutil
|
||||
if pioutil.is_pio_build():
|
||||
import marlin
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue