Changeset 306 for asp3_wo_tecs/trunk/sample
- Timestamp:
- Jun 27, 2017, 10:53:32 AM (7 years ago)
- Location:
- asp3_wo_tecs/trunk/sample
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_wo_tecs/trunk/sample/Makefile
r305 r306 208 208 CFG_OBJS := $(CFG_ASMOBJS) $(CFG_COBJS) 209 209 CFG2_OUT_SRCS := kernel_cfg.h kernel_cfg.c $(CFG2_OUT_SRCS) 210 CFG_CFLAGS := $(CFG_CFLAGS)210 CFG_CFLAGS := -DTOPPERS_CB_TYPE_ONLY $(CFG_CFLAGS) 211 211 212 212 # … … 272 272 ALL_OBJS = $(START_OBJS) $(APPL_OBJS) $(SYSSVC_OBJS) $(CFG_OBJS) \ 273 273 $(END_OBJS) $(HIDDEN_OBJS) 274 ALL_LIBS = -lkernel $(LIBS) 274 275 ifdef KERNEL_LIB 275 ALL_LIBS = -lkernel $(LIBS)276 276 LIBS_DEP = $(KERNEL_LIB)/libkernel.a $(filter %.a,$(LIBS)) 277 277 OBJ_LDFLAGS := $(OBJ_LDFLAGS) -L$(KERNEL_LIB) 278 278 REALCLEAN_FILES := libkernel.a $(REALCLEAN_FILES) 279 279 else 280 ALL_LIBS = libkernel.a $(LIBS)281 280 LIBS_DEP = libkernel.a $(filter %.a,$(LIBS)) 281 OBJ_LDFLAGS := $(OBJ_LDFLAGS) -L. 282 282 endif 283 283 -
asp3_wo_tecs/trunk/sample/sample1.c
r302 r306 6 6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 * Toyohashi Univ. of Technology, JAPAN 8 * Copyright (C) 2004-201 5by Embedded and Real-Time Systems Laboratory8 * Copyright (C) 2004-2016 by Embedded and Real-Time Systems Laboratory 9 9 * Graduate School of Information Science, Nagoya Univ., JAPAN 10 10 * … … 53 53 * ã®è²¬ä»»ãè² ããªãï¼ 54 54 * 55 * $Id: sample1.c 346 2015-07-18 02:12:08Z ertl-hiro $55 * $Id: sample1.c 711 2016-03-29 14:45:54Z ertl-hiro $ 56 56 */ 57 57 … … 237 237 238 238 /* 239 * å²è¾¼ã¿ãã³ãã© 240 */ 241 #ifdef INTNO1 242 243 void intno1_isr(intptr_t exinf) 244 { 245 intno1_clear(); 246 SVC_PERROR(rot_rdq(HIGH_PRIORITY)); 247 SVC_PERROR(rot_rdq(MID_PRIORITY)); 248 SVC_PERROR(rot_rdq(LOW_PRIORITY)); 249 } 250 251 #endif /* INTNO1 */ 252 253 /* 239 254 * CPUä¾å¤ãã³ãã© 240 255 */ -
asp3_wo_tecs/trunk/sample/sample1.cfg
r304 r306 17 17 CRE_CYC(CYCHDR1, { TA_NULL, { TNFY_HANDLER, 0, cyclic_handler }, 2000000, 0 }); 18 18 CRE_ALM(ALMHDR1, { TA_NULL, { TNFY_HANDLER, 0, alarm_handler }}); 19 #ifdef INTNO1 20 CFG_INT(INTNO1, { INTNO1_INTATR, INTNO1_INTPRI }); 21 CRE_ISR(INTNO1_ISR, { TA_NULL, 0, INTNO1, intno1_isr, 1 }); 22 #endif /* INTNO1 */ 19 23 #ifdef CPUEXC1 20 24 DEF_EXC(CPUEXC1, { TA_NULL, cpuexc_handler }); -
asp3_wo_tecs/trunk/sample/sample1.h
r302 r306 6 6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 * Toyohashi Univ. of Technology, JAPAN 8 * Copyright (C) 2004-201 4by Embedded and Real-Time Systems Laboratory8 * Copyright (C) 2004-2016 by Embedded and Real-Time Systems Laboratory 9 9 * Graduate School of Information Science, Nagoya Univ., JAPAN 10 10 * … … 53 53 * ã®è²¬ä»»ãè² ããªãï¼ 54 54 * 55 * $Id: sample1.h 286 2014-11-29 07:51:11Z ertl-hiro $55 * $Id: sample1.h 705 2016-03-29 14:16:41Z ertl-hiro $ 56 56 */ 57 57 … … 108 108 extern void main_task(intptr_t exinf); 109 109 extern void exc_task(intptr_t exinf); 110 #ifdef INTNO1 111 extern void intno1_isr(intptr_t exinf); 112 #endif /* INTNO1 */ 110 113 #ifdef CPUEXC1 111 114 extern void cpuexc_handler(void *p_excinf);
Note:
See TracChangeset
for help on using the changeset viewer.