fix IAR FPU bug

This commit is contained in:
supowang
2019-09-30 11:56:13 +08:00
parent 414dccf119
commit 9eaf726d90
2 changed files with 6 additions and 6 deletions

View File

@@ -25,10 +25,10 @@
#define TOS_CFG_CPU_HRTIMER_EN 0u #define TOS_CFG_CPU_HRTIMER_EN 0u
#define TOS_CFG_CPU_LEAD_ZEROS_ASM_PRESENT 1u #define TOS_CFG_CPU_LEAD_ZEROS_ASM_PRESENT 1u
#ifndef __ARMVFP__ #ifndef ARMVFP
#define TOS_CFG_CPU_ARM_FPU_EN 1u
#else
#define TOS_CFG_CPU_ARM_FPU_EN 0u #define TOS_CFG_CPU_ARM_FPU_EN 0u
#else
#define TOS_CFG_CPU_ARM_FPU_EN 1u
#endif #endif
#endif /* _PORT_CONFIG_H_ */ #endif /* _PORT_CONFIG_H_ */

View File

@@ -25,10 +25,10 @@
#define TOS_CFG_CPU_HRTIMER_EN 0u #define TOS_CFG_CPU_HRTIMER_EN 0u
#define TOS_CFG_CPU_LEAD_ZEROS_ASM_PRESENT 1u #define TOS_CFG_CPU_LEAD_ZEROS_ASM_PRESENT 1u
#ifndef __ARMVFP__ #ifndef ARMVFP
#define TOS_CFG_CPU_ARM_FPU_EN 1u
#else
#define TOS_CFG_CPU_ARM_FPU_EN 0u #define TOS_CFG_CPU_ARM_FPU_EN 0u
#else
#define TOS_CFG_CPU_ARM_FPU_EN 1u
#endif #endif
#endif /* _PORT_CONFIG_H_ */ #endif /* _PORT_CONFIG_H_ */