Go to the documentation of this file.
45 #error Wrong definition: i_ARCH should be defined \
46 usally it definded in bsp_board_def.h. or mcu_id.h
49 #if i_ARCH_CHECK2(i_ARCH,POSIX_GENERIC)
52 #if i_ARCH_CHECK2(i_ARCH,AVR_MEGA)
55 #if (i_ARCH_CHECK(ARM7) || i_ARCH_CHECK(CM0) || i_ARCH_CHECK(CM3))
58 #if i_ARCH_CHECK2(i_ARCH,WIN_NT)
62 #ifndef i_MCU_FAMILY_CHECK2
63 #define i_MCU_FAMILY_CHECK2(current_fam,test_famh) \
64 ((CONCAT_iarch(current_fam,_MCU_FAMILY_NUM)) == CONCAT_iarch(test_famh,_MCU_FAMILY_NUM))
84 #ifndef i_MCU_FAMILY_CHECK
85 #define i_MCU_FAMILY_CHECK(test_famh) \
86 i_MCU_FAMILY_CHECK2(i_MCU_FAMILY,test_famh)
88 #ifndef i_MCU_MODEL_CHECK2
89 #define i_MCU_MODEL_CHECK2(current_fam,test_model) \
90 ((CONCAT_iarch(current_fam,_MCU_FAMILY_NUM)) == CONCAT_iarch(test_famh,_MCU_FAMILY_NUM))
92 #ifndef i_MCU_MODEL_CHECK
93 #define i_MCU_MODEL_CHECK(test_model) \
94 i_MCU_MODEL_CHECK2(i_MCU_MODEL,test_model)