📄 makefile
字号:
TOOL_PREFIX=arm-elf-all: $(TOOL_PREFIX)gcc -W -Wall -O3 -mcpu=arm7tdmi -mapcs -mthumb-interwork -c -o test.o test.c $(TOOL_PREFIX)as --warn -mcpu=arm7tdmi -mapcs-32 -EL -mthumb-interwork -o crt0.o crt0.s $(TOOL_PREFIX)ld -O3 --gc-sections crt0.o test.o -o test -lc $(TOOL_PREFIX)objcopy -O binary test test.bin $(TOOL_PREFIX)objdump --disassemble-all -b binary -m arm7tdmi test.bin > test.asmclean: rm -f test.o test.bin test.asm
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -