
1. see: TencentOS-tiny\board\STM8L052R8T6\IAR\hello_world 2. compile/debug/run with IAR for STM8
14 lines
310 B
C
14 lines
310 B
C
#ifndef _TOS_CPU_DEF_H_
|
|
#define _TOS_CPU_DEF_H_
|
|
|
|
#define CPU_WORD_SIZE_08 1
|
|
#define CPU_WORD_SIZE_16 2
|
|
#define CPU_WORD_SIZE_32 3
|
|
#define CPU_WORD_SIZE_64 4
|
|
|
|
#define CPU_STK_GROWTH_ASCENDING 1
|
|
#define CPU_STK_GROWTH_DESCENDING 2
|
|
|
|
#endif /* _TOS_CPU_DEF_H_ */
|
|
|