Stm32 redefinition of typedef 'thread_t'
Posted: Wed Sep 03, 2014 11:04 am
Hi All,
I upgraded to the new HEAD from git repository and I cannot compile my projects.
And I checked demos, in demos/STM32/RT-STM32F407-DISCOVERY:
make clean
make
Compiling chcore.c
In file included from ../../../os/rt/include/ch.h:76:0,
from ../../../os/rt/ports/ARMCMx/chcore.c:29:
../../../os/rt/include/chschd.h:76:23: error: redefinition of typedef 'thread_t'
../../../os/rt/include/ch.h:67:23: note: previous declaration of 'thread_t' was here
../../../os/common/ports/ARMCMx/compilers/GCC/rules.mk:203: recipe for target 'build/obj/chcore.o' failed
make: *** [build/obj/chcore.o] Error 1
And I checked all tests of STM32 the result is the same.
Thx
Zamek
I upgraded to the new HEAD from git repository and I cannot compile my projects.
And I checked demos, in demos/STM32/RT-STM32F407-DISCOVERY:
make clean
make
Compiling chcore.c
In file included from ../../../os/rt/include/ch.h:76:0,
from ../../../os/rt/ports/ARMCMx/chcore.c:29:
../../../os/rt/include/chschd.h:76:23: error: redefinition of typedef 'thread_t'
../../../os/rt/include/ch.h:67:23: note: previous declaration of 'thread_t' was here
../../../os/common/ports/ARMCMx/compilers/GCC/rules.mk:203: recipe for target 'build/obj/chcore.o' failed
make: *** [build/obj/chcore.o] Error 1
And I checked all tests of STM32 the result is the same.
Thx
Zamek