mtkernel_3/include/sys/sysdepend/cpu/core/armv7m/machine.h | bare source | permlink (0.01 seconds) |
1: /* 2: *---------------------------------------------------------------------- 3: * micro T-Kernel 3.00.05 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/11. 10: * 11: *---------------------------------------------------------------------- 12: */ 13: 14: /* 15: * machine.h 16: * 17: * Machine type definition (ARMv7-M core depended) 18: */ 19: 20: #ifndef __SYS_MACHINE_CORE_H__ 21: #define __SYS_MACHINE_CORE_H__ 22: 23: /* 24: * CPU_xxxx CPU type 25: * ALLOW_MISALIGN 1 if access to misalignment data is allowed 26: * BIGENDIAN 1 if big endian 27: */ 28: 29: /* ----- ARMv7-M definition ----- */ 30: 31: #define ALLOW_MISALIGN 0 32: #define INT_BITWIDTH 32 33: 34: /* 35: * Endianness 36: */ 37: #define BIGENDIAN 0 /* Default (Little Endian) */ 38: 39: #endif /* __SYS_MACHINE_CORE_H__ */