mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-12 17:27:49 -06:00
Fix compilation error for MKS Robin (#13506)
This commit is contained in:
parent
c6dbe6e9d6
commit
6d9aaca082
6 changed files with 26 additions and 7 deletions
|
@ -1,7 +1,9 @@
|
|||
Import("env")
|
||||
|
||||
# Relocate firmware from 0x08000000 to 0x08007000
|
||||
env['CPPDEFINES'].remove(("VECT_TAB_ADDR", 134217728))
|
||||
for define in env['CPPDEFINES']:
|
||||
if define[0] == "VECT_TAB_ADDR":
|
||||
env['CPPDEFINES'].remove(define)
|
||||
env['CPPDEFINES'].append(("VECT_TAB_ADDR", "0x08007000"))
|
||||
env.Replace(LDSCRIPT_PATH="buildroot/share/PlatformIO/ldscripts/mks_robin.ld")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue