aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-01-10 12:53:00 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-01-10 12:53:00 +0000
commit12e34ee390b0cd1133947b7a091ab0259ab507d1 (patch)
treede8dbfbdc447610561e3ced8519eed9b24f78708
parent9754c3a6ce119209ebdd9e3a2ad29947e6296fff (diff)
downloadChibiOS-12e34ee390b0cd1133947b7a091ab0259ab507d1.tar.gz
ChibiOS-12e34ee390b0cd1133947b7a091ab0259ab507d1.tar.bz2
ChibiOS-12e34ee390b0cd1133947b7a091ab0259ab507d1.zip
Removed dependency to ch.h.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5049 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/ports/GCC/ARMCMx/crt0.c10
-rw-r--r--readme.txt4
2 files changed, 12 insertions, 2 deletions
diff --git a/os/ports/GCC/ARMCMx/crt0.c b/os/ports/GCC/ARMCMx/crt0.c
index c1d32ba84..2d6c016bd 100644
--- a/os/ports/GCC/ARMCMx/crt0.c
+++ b/os/ports/GCC/ARMCMx/crt0.c
@@ -26,7 +26,15 @@
* @{
*/
-#include "ch.h"
+#include <stdint.h>
+
+#if !defined(FALSE)
+#define FALSE 0
+#endif
+
+#if !defined(TRUE)
+#define TRUE (!FALSE)
+#endif
typedef void (*funcp_t)(void);
typedef funcp_t * funcpp_t;
diff --git a/readme.txt b/readme.txt
index 0e54caa6c..a787cfac3 100644
--- a/readme.txt
+++ b/readme.txt
@@ -94,7 +94,7 @@
- FIX: Fixed PHY powerdown issues not fixed (bug 3596911).
- NEW: Added an abstract file system interface written in C++, no
implementations yet.
- TODO: Create a descendant interface for hyerarchical file systems.
+ TODO: Create a descendant interface for hierarchical file systems.
TODO: Create a FatFS wrapper implementing the interface and using a server
thread for synchronization.
TODO: Create an implementation over a read-only file system in code space.
@@ -110,6 +110,8 @@
- NEW: Added EXT driver to the STM32F3xx platform.
- NEW: Improved the STM32 EXT driver to support more than 32 channels.
- NEW: Added support for Olimex board STM32-LCD.
+- CHANGE: Removed dependency between crt0.c (GCC-ARMCMx) and the kernel
+ header ch.h.
*** 2.5.1 ***
- FIX: Fixed typo in chOQGetEmptyI() macro (bug 3595910)(backported to 2.2.10