整理代码

This commit is contained in:
2025-07-10 00:08:56 +08:00
parent 0530972eb4
commit c3df6f6ae2
10 changed files with 71 additions and 8625 deletions

View File

@@ -22,7 +22,7 @@ CFLAG=[
'-mthumb',
'-mfpu=fpv4-sp-d16',
'-mfloat-abi=hard',
'-Og',
'-O3',
'-Wall',
'-fdata-sections',
'-ffunction-sections',
@@ -347,7 +347,7 @@ def main():
if build_target(SRC):
os.system(f"{OBJCPY} -O binary -S {OUTPUT}/{TARGET}.elf {OUTPUT}/{TARGET}.bin")
os.system(f"{OBJCPY} -O ihex {OUTPUT}/{TARGET}.elf {OUTPUT}/{TARGET}.hex")
os.system(f"{OBJDUMP} -d {OUTPUT}/{TARGET}.elf > {OUTPUT}/{TARGET}.lst")
os.system(f"{OBJDUMP} -D {OUTPUT}/{TARGET}.elf > {OUTPUT}/{TARGET}.lst")