chore: clenaup

This commit is contained in:
2024-12-09 02:12:04 +06:00
parent 623f8e581e
commit a2ce0a42f5
7 changed files with 241 additions and 363 deletions

View File

@@ -13,7 +13,7 @@ LD_FILE=linker.ld
RAM_START := 0x10002000
CFLAGS = -mcpu=$(MCU) -mthumb -mfloat-abi=hard -lm \
CFLAGS = -mcpu=$(MCU) -mthumb -mfloat-abi=hard -mgeneral-regs-only -lm \
-Wall -Wextra -g3 \
-Os -ffunction-sections -fdata-sections \
-nostartfiles -Wl,-T,$(LD_FILE) -u main -Wl,--gc-sections