git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@276 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2008-04-23 10:37:10 +00:00
parent 25d517877d
commit 0bc89b33d9
4 changed files with 8 additions and 6 deletions

View File

@ -28,7 +28,7 @@
#include <stdint.h> #include <stdint.h>
#endif #endif
typedef int8_t bool_t; typedef int32_t bool_t;
typedef uint8_t tmode_t; typedef uint8_t tmode_t;
typedef uint8_t tstate_t; typedef uint8_t tstate_t;
typedef uint16_t tid_t; typedef uint16_t tid_t;
@ -39,6 +39,6 @@ typedef uint32_t eventmask_t;
typedef uint32_t systime_t; typedef uint32_t systime_t;
typedef int32_t cnt_t; typedef int32_t cnt_t;
#define INLINE inline #define INLINE inline
#endif /* _CHTYPES_H_ */ #endif /* _CHTYPES_H_ */

View File

@ -28,7 +28,7 @@
#include <stdint.h> #include <stdint.h>
#endif #endif
typedef int8_t bool_t; typedef int32_t bool_t;
typedef uint8_t tmode_t; typedef uint8_t tmode_t;
typedef uint8_t tstate_t; typedef uint8_t tstate_t;
typedef uint16_t tid_t; typedef uint16_t tid_t;
@ -39,6 +39,6 @@ typedef uint32_t eventmask_t;
typedef uint32_t systime_t; typedef uint32_t systime_t;
typedef int32_t cnt_t; typedef int32_t cnt_t;
#define INLINE inline #define INLINE inline
#endif /* _CHTYPES_H_ */ #endif /* _CHTYPES_H_ */

View File

@ -68,6 +68,8 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
by default, now the makefiles explictly assert -mno-thumb-interworking and by default, now the makefiles explictly assert -mno-thumb-interworking and
-mabi=apcs-gnu in order to produce better code. CodeSourcery's compilers -mabi=apcs-gnu in order to produce better code. CodeSourcery's compilers
also share this behaviour. also share this behaviour.
- In the ARM7 and ARMCM3 ports chanced the bool_t base type from int8_t to
int32_t, this produces a bit faster and smaller code.
*** 0.6.3 *** *** 0.6.3 ***
- NEW: ARM Cortex-M3 port completed. The demo program targets the STM32F103 - NEW: ARM Cortex-M3 port completed. The demo program targets the STM32F103
@ -89,7 +91,7 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
example of C++ used for an embedded application. The demo does not use RTTI example of C++ used for an embedded application. The demo does not use RTTI
nor standard libraries so the resulting code is very compact. nor standard libraries so the resulting code is very compact.
- Enhanced the chSemSignalWait() API to return the wakeup message just like - Enhanced the chSemSignalWait() API to return the wakeup message just like
the other "Wait" semaphore functions. the other "Wait" semaphore functions do.
- Fixed a minor problem in the ARM7 port, the extctx structure definition was - Fixed a minor problem in the ARM7 port, the extctx structure definition was
missing one field, the effect was to allocate stacks 4 bytes shorter than missing one field, the effect was to allocate stacks 4 bytes shorter than
the declared size. the declared size.

View File

@ -98,7 +98,7 @@
#define FALSE 0 #define FALSE 0
#endif #endif
#ifndef TRUE #ifndef TRUE
#define TRUE 1 #define TRUE (!FALSE)
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus