⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 runall.bat

📁 This app show how use two tasks with Keil RTOS.
💻 BAT
字号:
@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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -