diff options
| author | Bernard Xiong <[email protected]> | 2015-09-21 10:02:00 +0000 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-09-21 10:02:00 +0000 |
| commit | be9b3d1df69a232ff7067b72990aec77c35a2775 (patch) | |
| tree | 0c4b75991e92317f5de23c793f4a8b9de9ce64a1 | |
| parent | 31824c7e78419da68a0b48c8e605456a83c1defa (diff) | |
[BSP] Update stm32f7-disco to avoid gcc compiling error
| -rw-r--r-- | bsp/stm32f7-disco/rtconfig.h | 2 | ||||
| -rw-r--r-- | bsp/stm32f7-disco/rtconfig.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bsp/stm32f7-disco/rtconfig.h b/bsp/stm32f7-disco/rtconfig.h index 64bd443678..98c2599d20 100644 --- a/bsp/stm32f7-disco/rtconfig.h +++ b/bsp/stm32f7-disco/rtconfig.h @@ -116,7 +116,7 @@ // <bool name="RT_USING_LIBC" description="Using libc library" default="true" /> #define RT_USING_LIBC // <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" /> -//#define RT_USING_PTHREADS +#define RT_USING_PTHREADS // </section> // <section name="RT_USING_DFS" description="Device file system" default="true" > diff --git a/bsp/stm32f7-disco/rtconfig.py b/bsp/stm32f7-disco/rtconfig.py index 083099998b..475bdd5009 100644 --- a/bsp/stm32f7-disco/rtconfig.py +++ b/bsp/stm32f7-disco/rtconfig.py @@ -40,7 +40,7 @@ if PLATFORM == 'gcc': OBJDUMP = PREFIX + 'objdump' OBJCPY = PREFIX + 'objcopy' - DEVICE = ' -mcpu=cortex-m7 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -ffunction-sections -fdata-sections' + DEVICE = ' -mcpu=cortex-m7 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -ffunction-sections -fdata-sections' CFLAGS = DEVICE + ' -g -Wall -DSTM32F756xx -DUSE_HAL_DRIVER -D__ASSEMBLY__ -D__FPU_USED' AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -Wa,-mimplicit-it=thumb ' LFLAGS = DEVICE + ' -lm -lgcc -lc' + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread_stm32f7xx.map,-cref,-u,Reset_Handler -T rtthread-stm32f7xx.ld' |
