Ignore:
Timestamp:
Jul 3, 2020, 7:19:17 PM (4 years ago)
Author:
coas-nagasima
Message:

ASP3, TINET, mbed を更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/asp3_dcre/sample/tSample2.h

    r321 r429  
    66 *  Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
    77 *                              Toyohashi Univ. of Technology, JAPAN
    8  *  Copyright (C) 2004-2007 by Embedded and Real-Time Systems Laboratory
     8 *  Copyright (C) 2004-2018 by Embedded and Real-Time Systems Laboratory
    99 *              Graduate School of Information Science, Nagoya Univ., JAPAN
    1010 *
     
    5555
    5656#define EXC_PRIORITY    1               /* 例外処理タスクの優先度 */
    57 #define MAIN_PRIORITY   6               /* メインタスクの優先度 */
     57#define MAIN_PRIORITY   5               /* メインタスクの優先度 */
    5858                                                                /* HIGH_PRIORITYより高くすること */
    5959
     
    7575
    7676/*
    77  *  関数のプロトタイプ宣言
     77 *  必要な定義のチェック
    7878 */
    79 #ifndef TOPPERS_MACRO_ONLY
    80 
    81 //extern void   task(intptr_t exinf);
    82 extern void     main_task(intptr_t exinf);
    83 extern void     cyclic_handler(intptr_t exinf);
    84 extern void     alarm_handler(intptr_t exinf);
    85 extern void     cpuexc_handler(void *p_excinf);
    86 
    87 #endif /* TOPPERS_MACRO_ONLY */
     79#ifndef INTNO1
     80#error INTNO1 is necessary for this sample program.
     81#endif /* INTNO1 */
     82#ifndef CPUEXC1
     83#error CPUEXC1 is necessary for this sample program.
     84#endif /* CPUEXC1 */
Note: See TracChangeset for help on using the changeset viewer.