runall.bat

来自「This app show how use two tasks with Kei」· Batch 代码 · 共 37 行

BAT
37
字号
@echo off
echo Batch for generating objects and debug information
@echo on
arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\Main.o .\Source\Main.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\ParTest.o .\Source\Tasks\ParTest.c

arm-hitex-elf-as.exe -m armv4t -gdwarf2  -mthumb-interwork -o .\objects\boot.o .\Source\boot.s

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\croutine.o .\Source\FreeRTOS\croutine.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\flash.o .\Source\Tasks\flash.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\heap_2.o .\Source\FreeRTOS\heap_2.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\integer.o .\Source\Tasks\integer.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\lcd_mcb2300.o .\Source\Port\lcd_mcb2300.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\list.o .\Source\FreeRTOS\list.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\port.o .\Source\Port\port.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\portISR.o .\Source\Port\portISR.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\print.o .\Source\Tasks\print.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\queue.o .\Source\FreeRTOS\queue.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\semtest.o .\Source\Tasks\semtest.c

arm-hitex-elf-gcc.exe -mcpu=arm7tdmi -c -gdwarf-2 -MD -Wall -O3 -mthumb-interwork -mapcs-frame   -I.\Source\FreeRTOS\ -I.\Source\Port\ -I.\Source\Tasks\ -o .\objects\tasks.o .\Source\FreeRTOS\tasks.c

rem invoking the linker
arm-hitex-elf-ld.exe   -T.\settings\head.ld -T.\settings\Flash.ld -T.\settings\input.ld -T.\settings\sections.ld --cref -t -static -lgcc -lc -lm -start-group -o .\Objects\OutputName.elf -o .\objects\rtos1.elf 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?