📄 ucos.mk
字号:
#
# Warning: This Makefile is generated by the genmake program from the template:
# gen_arx.mk - template for ARM compiler to build executables
# It is advised that you not modify this by hand. If you want
# to add something, you can change the gen_arx.mk template.
# Copyright (c) Allant Software 1998
#
TARGET = ARM
INC_PATHS = -I..\..
# CFLAGS is the default flags rule. Others are added below
CFLAGS = -g $(INC_PATHS)
CFLAGS_SRCS =
CFLAGS_COMP = $(CC) -c $(CFLAGS)
CFLAGS_OBJS =
CARM = -I..\.. -DAT91_DEBUG_ICE -g+ -dwarf2 -apcs /softfp -cpu ARM7TDMI -zr16 -zi2
CARM_SRCS = Os_cpu_c.c Ucos_ii.c appli.c
CARM_COMP = c:\compil\arm250\bin\armcc -c $$SRC $(CARM) -o $$OBJ
CARM_OBJS = sram_ice\Os_cpu_c.o sram_ice\Ucos_ii.o \
sram_ice\appli.o
AARM = -i..\.. -pd "AT91_DEBUG_ICE SETA 0" -g -dwarf2 -cpu ARM7TDMI -apcs /inter
AARM_SRCS = os_cpu_a.s ..\..\targets\eb40\cstartup.s
AARM_COMP = c:\compil\arm250\bin\armasm $(AARM) -o $$OBJ $$SRC
AARM_OBJS = sram_ice\os_cpu_a.o sram_ice\cstartup.o
#FLAGS end here (put all flag groups above this line)
EXTHDRS =
HDRS =
LDFLAGS = -info interwork -ro-base 0x2000000 -first flash\cstartup.o(reset)
# LIB_DEP is list of dependents for library build ($OBJS for example)
LIB_DEP =
# LIB_ARGS is argument line for librarian
LIB_ARGS =
# LIBS are system libraries as name
LIBS = ..\..\parts\r40807\optm_none\r40807_lib16.alf
CC = cl$(TARGET)
LINKER = c:\compil\arm250\bin\armlink -elf
LIBRARIAN =
MAKENAME = sram_ice\ucos.mk
PRINT = pr
PROGRAM = sram_ice\test_ucos.axf
BUILD_LIB = none.lib
POST_BUILD =
OBJS = $(CFLAGS_OBJS) $(CARM_OBJS) $(AARM_OBJS)
SRCS = $(CFLAGS_SRCS) $(CARM_SRCS) $(AARM_SRCS)
# depend is for dependant rules that should not be linked in
DEPEND =
O_DEPEND =
COMP_LINE = $(CFLAGS_COMP)
# .c.o is default compile line if not explicitly defined
.c.o :
$(COMP_LINE) $*.c
# all is first target
all: $(BUILD_LIB) $(PROGRAM) $(POST_BUILD)
@+echo --- Build-all done ---
#LINK: next one is the link command
$(PROGRAM): $(OBJS) $(DEPEND) $(O_DEPEND) $(MAKENAME)
$(LINKER) $(LDFLAGS) $(OBJS) $(LIBS) -o $(PROGRAM)
#BUILD_LIB: this is only valid if filled in at macro point
$(BUILD_LIB): $(LIB_DEP) $(MAKENAME)
$(LIBRARIAN) $(LIB_ARGS)
clean:
+for %d in ($(OBJS) $(PROGRAM)) do if exist %d del %d
rebuild: clean all
depend:; upddep $(MAKENAME)
index:; ctags -wx $(HDRS) $(SRCS)
print:; $(PRINT) $(HDRS) $(SRCS)
program: $(PROGRAM)
tags: $(HDRS) $(SRCS); ctags $(HDRS) $(SRCS)
# DEPEND: include files below
# Dependency summaries:
# System includes suppressed
OS_CPU_H=os_cpu.h ..\..\periph\arm7tdmi\arm.h
INCLUDES_H=includes.h $(OS_CPU_H) os_cfg.h ucos_ii.h
OS_CORE_C=os_core.c $(INCLUDES_H)
OS_MBOX_C=os_mbox.c $(INCLUDES_H)
OS_MEM_C=os_mem.c $(INCLUDES_H)
OS_Q_C=os_q.c $(INCLUDES_H)
OS_SEM_C=os_sem.c $(INCLUDES_H)
OS_TASK_C=os_task.c $(INCLUDES_H)
OS_TIME_C=os_time.c $(INCLUDES_H)
______PERIPH_SPECIAL_FUNCTION_SF_H=..\..\periph\special_function\sf.h \
..\..\periph\stdc\std_c.h
______PARTS_M40400_M40400_H=..\..\parts\m40400\m40400.h \
..\..\periph\arm7tdmi\arm.h $(______PERIPH_SPECIAL_FUNCTION_SF_H) \
..\..\periph\ebi\ebi.h ..\..\periph\aic\aic.h \
..\..\periph\pio\pio.h ..\..\periph\usart\usart.h \
..\..\periph\watchdog\wd.h ..\..\periph\timer_counter\tc.h
______PERIPH_POWER_SAVING_LIB_POWER_SAVE_H= \
..\..\periph\power_saving\lib_power_save.h \
..\..\periph\stdc\lib_err.h ..\..\periph\power_saving\ps40400.h \
..\..\periph\power_saving\ps40800.h \
..\..\periph\power_saving\pmc42800.h \
..\..\periph\power_saving\apmc55800.h \
..\..\periph\power_saving\pmc63200.h
______PARTS_M40400_LIB_M40400_H=..\..\parts\m40400\lib_m40400.h \
$(______PARTS_M40400_M40400_H) \
..\..\periph\special_function\lib_sf.h ..\..\periph\ebi\lib_ebi.h \
$(______PERIPH_POWER_SAVING_LIB_POWER_SAVE_H) \
..\..\periph\aic\ext_irq\lib_ext_irq.h ..\..\periph\aic\lib_aic.h \
..\..\periph\pio\lib_pio.h ..\..\periph\usart\lib_usart.h \
..\..\periph\watchdog\lib_wd.h ..\..\periph\timer_counter\lib_tc.h
______PARTS_M40400_REG_M40400_H=..\..\parts\m40400\reg_m40400.h \
$(______PARTS_M40400_M40400_H)
______TARGETS_EB01_EB01_H=..\..\targets\eb01\eb01.h \
$(______PARTS_M40400_M40400_H)
# DEPEND: end include files
sram_ice\Os_cpu_c.o: Os_cpu_c.c $(INCLUDES_H)
c:\compil\arm250\bin\armcc -c Os_cpu_c.c $(CARM) -o sram_ice\Os_cpu_c.o
sram_ice\Ucos_ii.o: Ucos_ii.c $(OS_CORE_C) os_mbox.c os_mem.c os_q.c \
os_sem.c os_task.c os_time.c
c:\compil\arm250\bin\armcc -c Ucos_ii.c $(CARM) -o sram_ice\Ucos_ii.o
sram_ice\appli.o: appli.c $(INCLUDES_H) $(______PARTS_M40400_REG_M40400_H) \
..\..\parts\m40400\lib_m40400.h \
..\..\periph\special_function\sf.h ..\..\periph\stdc\std_c.h \
..\..\periph\ebi\ebi.h ..\..\periph\power_saving\lib_power_save.h \
..\..\periph\stdc\lib_err.h ..\..\periph\power_saving\ps40400.h \
..\..\periph\power_saving\ps40800.h \
..\..\periph\power_saving\pmc42800.h \
..\..\periph\power_saving\apmc55800.h \
..\..\periph\power_saving\pmc63200.h ..\..\periph\aic\aic.h \
..\..\periph\pio\pio.h ..\..\periph\aic\lib_aic.h \
..\..\periph\usart\usart.h ..\..\periph\pio\lib_pio.h \
..\..\periph\watchdog\wd.h ..\..\periph\timer_counter\tc.h \
..\..\periph\special_function\lib_sf.h ..\..\periph\ebi\lib_ebi.h \
..\..\periph\aic\ext_irq\lib_ext_irq.h \
..\..\periph\usart\lib_usart.h ..\..\periph\watchdog\lib_wd.h \
..\..\periph\timer_counter\lib_tc.h ..\..\targets\eb01\eb01.h
c:\compil\arm250\bin\armcc -c appli.c $(CARM) -o sram_ice\appli.o
sram_ice\os_cpu_a.o: os_cpu_a.s ..\..\targets\eb01\eb01.inc
c:\compil\arm250\bin\armasm $(AARM) -o sram_ice\os_cpu_a.o os_cpu_a.s
sram_ice\cstartup.o: ..\..\targets\eb40\cstartup.s \
..\..\targets\eb40\eb40.inc ..\..\targets\eb40\..\cstartup_angel.s \
..\..\targets\eb40\..\cstartup_ice.s \
..\..\targets\eb40\..\cstartup_flash.s
c:\compil\arm250\bin\armasm $(AARM) -o sram_ice\cstartup.o \
..\..\targets\eb40\cstartup.s
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -