gonzui


Format: Advanced Search

mtkernel_3/include/sys/sysdepend/cpu/stm32l4/profile.hbare sourcepermlink (0.00 seconds)

Search this content:

    1: /*
    2:  *----------------------------------------------------------------------
    3:  *    micro T-Kernel 3.00.03
    4:  *
    5:  *    Copyright (C) 2006-2021 by Ken Sakamura.
    6:  *    This software is distributed under the T-License 2.2.
    7:  *----------------------------------------------------------------------
    8:  *
    9:  *    Released by TRON Forum(http://www.tron.org) at 2021/03/31.
   10:  *
   11:  *----------------------------------------------------------------------
   12:  */
   13: 
   14: /*
   15:  *      profile.h
   16:  *
   17:  *      Service Profile (STM32L4 depended)
   18:  */
   19: 
   20: #ifndef __SYS_DEPEND_PROFILE_CPU_H__
   21: #define __SYS_DEPEND_PROFILE_CPU_H__
   22: 
   23: /*
   24:  **** CPU core-depeneded profile (ARM Cortex-M4)
   25:  */
   26: #include "../core/armv7m/profile.h"
   27: 
   28: /*
   29:  **** CPU-depeneded profile (STM32L4)
   30:  */
   31: 
   32: /*
   33:  * Device Support
   34:  */
   35: #define TK_SUPPORT_IOPORT       TRUE          /* Support of I/O port access */
   36: 
   37: /*
   38:  * Physical timer
   39:  */
   40: #if USE_PTMR
   41: #define TK_SUPPORT_PTIMER       TRUE          /* Support of physical timer */
   42: #define TK_MAX_PTIMER           4                /* Maximum number of physical timers. */
   43: #else
   44: #define TK_SUPPORT_PTIMER       FALSE         /* Support of physical timer */
   45: #define TK_MAX_PTIMER           0                /* Maximum number of physical timers. */
   46: #endif
   47: 
   48: 
   49: #endif /* __SYS_DEPEND_PROFILE_CPU_H__ */