Skip to content

Commit

Permalink
Fix CI linker script
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlohr committed Feb 3, 2025
1 parent 4dfd3cf commit b238681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/gen_ldscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ def get_ld_defines(chip_name: str):
"-DTARGET_MCU=%s" % target_mcu,
"-DMCU_PACKAGE=%d" % mcu_package,
"-DTARGET_MCU_LD=%d" % target_mcu_ld,
join("ch32v003fun", "ch32v003fun.ld"),
join("ch32fun", "ch32fun.ld"),
">",
join("$BUILD_DIR", "ldscript.ld")
]), "Building %s" % join("$BUILD_DIR", "ldscript.ld"))
)
# Already put in the right path for the to-be-generated file
env.Replace(LDSCRIPT_PATH=join("$BUILD_DIR", "ldscript.ld"))
env.Replace(LDSCRIPT_PATH=join("$BUILD_DIR", "ldscript.ld"))

0 comments on commit b238681

Please sign in to comment.