diff --git a/demos/ARM7-AT91SAM7X-GCC/ch.ld b/demos/ARM7-AT91SAM7X-GCC/ch.ld
index 1e98ffaa0..944a7f29d 100644
--- a/demos/ARM7-AT91SAM7X-GCC/ch.ld
+++ b/demos/ARM7-AT91SAM7X-GCC/ch.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2009 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -15,13 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-
- ---
-
- A special exception to the GPL can be applied should you wish to distribute
- a combined work that includes ChibiOS/RT, without being obliged to provide
- the source code for any proprietary components. See the file exception.txt
- for full details of how and when the exception can be applied.
*/
/*
@@ -37,8 +30,8 @@ __stacks_total_size__ = __und_stack_size__ + __abt_stack_size__ + __fiq_stack_si
MEMORY
{
- flash : org = 0x100000, len = 256k
- ram : org = 0x200020, len = 64k - 0x20
+ flash : org = 0x100000, len = 256k
+ ram : org = 0x200020, len = 64k - 0x20
}
__ram_start__ = ORIGIN(ram);
@@ -49,49 +42,53 @@ SECTIONS
{
. = 0;
- .text :
+ .text : ALIGN(16) SUBALIGN(16)
{
- _text = .;
- KEEP(*(vectors));
- *(.text)
- *(.text.*);
- *(.rodata);
- *(.rodata.*);
- *(.glue_7t);
- *(.glue_7);
- *(.gcc*);
- *(.ctors);
- *(.dtors);
- . = ALIGN(4);
- _etext = .;
- } > flash
+ _text = .;
+ KEEP(*(vectors))
+ *(.text)
+ *(.text.*);
+ *(.rodata);
+ *(.rodata.*);
+ *(.glue_7t);
+ *(.glue_7);
+ *(.gcc*);
+ *(.ctors);
+ *(.dtors);
+ . = ALIGN(4);
+ _etext = .;
+ } > flash
- _textdata = _etext;
+ _textdata = _etext;
- .data :
- {
- _data = .;
- _data = .;
- *(.data)
- . = ALIGN(4);
- *(.data.*)
- . = ALIGN(4);
- *(.ramtext)
- . = ALIGN(4);
- _edata = .;
- } > ram AT > flash
+ .data :
+ {
+ _data = .;
+ *(.data)
+ . = ALIGN(4);
+ *(.data.*)
+ . = ALIGN(4);
+ *(.ramtext)
+ . = ALIGN(4);
+ _edata = .;
+ } > ram AT > flash
- .bss :
- {
- _bss_start = .;
- *(.bss)
- . = ALIGN(4);
- *(.bss.*)
- . = ALIGN(4);
- *(COMMON)
- . = ALIGN(4);
- _bss_end = .;
- } > ram
+ .bss :
+ {
+ _bss_start = .;
+ *(.bss)
+ . = ALIGN(4);
+ *(.bss.*)
+ . = ALIGN(4);
+ *(COMMON)
+ . = ALIGN(4);
+ _bss_end = .;
+ } > ram
+
+ /DISCARD/ :
+ {
+ *(.eh_*)
+ }
}
PROVIDE(end = .);
diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/ch.ld b/demos/ARM7-AT91SAM7X-WEB-GCC/ch.ld
index 1e98ffaa0..944a7f29d 100644
--- a/demos/ARM7-AT91SAM7X-WEB-GCC/ch.ld
+++ b/demos/ARM7-AT91SAM7X-WEB-GCC/ch.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2009 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -15,13 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-
- ---
-
- A special exception to the GPL can be applied should you wish to distribute
- a combined work that includes ChibiOS/RT, without being obliged to provide
- the source code for any proprietary components. See the file exception.txt
- for full details of how and when the exception can be applied.
*/
/*
@@ -37,8 +30,8 @@ __stacks_total_size__ = __und_stack_size__ + __abt_stack_size__ + __fiq_stack_si
MEMORY
{
- flash : org = 0x100000, len = 256k
- ram : org = 0x200020, len = 64k - 0x20
+ flash : org = 0x100000, len = 256k
+ ram : org = 0x200020, len = 64k - 0x20
}
__ram_start__ = ORIGIN(ram);
@@ -49,49 +42,53 @@ SECTIONS
{
. = 0;
- .text :
+ .text : ALIGN(16) SUBALIGN(16)
{
- _text = .;
- KEEP(*(vectors));
- *(.text)
- *(.text.*);
- *(.rodata);
- *(.rodata.*);
- *(.glue_7t);
- *(.glue_7);
- *(.gcc*);
- *(.ctors);
- *(.dtors);
- . = ALIGN(4);
- _etext = .;
- } > flash
+ _text = .;
+ KEEP(*(vectors))
+ *(.text)
+ *(.text.*);
+ *(.rodata);
+ *(.rodata.*);
+ *(.glue_7t);
+ *(.glue_7);
+ *(.gcc*);
+ *(.ctors);
+ *(.dtors);
+ . = ALIGN(4);
+ _etext = .;
+ } > flash
- _textdata = _etext;
+ _textdata = _etext;
- .data :
- {
- _data = .;
- _data = .;
- *(.data)
- . = ALIGN(4);
- *(.data.*)
- . = ALIGN(4);
- *(.ramtext)
- . = ALIGN(4);
- _edata = .;
- } > ram AT > flash
+ .data :
+ {
+ _data = .;
+ *(.data)
+ . = ALIGN(4);
+ *(.data.*)
+ . = ALIGN(4);
+ *(.ramtext)
+ . = ALIGN(4);
+ _edata = .;
+ } > ram AT > flash
- .bss :
- {
- _bss_start = .;
- *(.bss)
- . = ALIGN(4);
- *(.bss.*)
- . = ALIGN(4);
- *(COMMON)
- . = ALIGN(4);
- _bss_end = .;
- } > ram
+ .bss :
+ {
+ _bss_start = .;
+ *(.bss)
+ . = ALIGN(4);
+ *(.bss.*)
+ . = ALIGN(4);
+ *(COMMON)
+ . = ALIGN(4);
+ _bss_end = .;
+ } > ram
+
+ /DISCARD/ :
+ {
+ *(.eh_*)
+ }
}
PROVIDE(end = .);
diff --git a/demos/ARM7-LPC214x-G++/ch.ld b/demos/ARM7-LPC214x-G++/ch.ld
index a79694e7b..15d0fbe2f 100644
--- a/demos/ARM7-LPC214x-G++/ch.ld
+++ b/demos/ARM7-LPC214x-G++/ch.ld
@@ -87,6 +87,11 @@ SECTIONS
. = ALIGN(4);
_bss_end = .;
} > ram
+
+ /DISCARD/ :
+ {
+ *(.eh_*)
+ }
}
PROVIDE(end = .);
diff --git a/demos/ARM7-LPC214x-GCC-minimal/ch.ld b/demos/ARM7-LPC214x-GCC-minimal/ch.ld
index c6ab8398d..9dd4d388e 100644
--- a/demos/ARM7-LPC214x-GCC-minimal/ch.ld
+++ b/demos/ARM7-LPC214x-GCC-minimal/ch.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2009 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -15,13 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-
- ---
-
- A special exception to the GPL can be applied should you wish to distribute
- a combined work that includes ChibiOS/RT, without being obliged to provide
- the source code for any proprietary components. See the file exception.txt
- for full details of how and when the exception can be applied.
*/
/*
@@ -93,7 +86,12 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
_bss_end = .;
- } > ram
+ } > ram
+
+ /DISCARD/ :
+ {
+ *(.eh_*)
+ }
}
PROVIDE(end = .);
diff --git a/demos/ARM7-LPC214x-GCC/ch.ld b/demos/ARM7-LPC214x-GCC/ch.ld
index c6ab8398d..9dd4d388e 100644
--- a/demos/ARM7-LPC214x-GCC/ch.ld
+++ b/demos/ARM7-LPC214x-GCC/ch.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2009 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -15,13 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-
- ---
-
- A special exception to the GPL can be applied should you wish to distribute
- a combined work that includes ChibiOS/RT, without being obliged to provide
- the source code for any proprietary components. See the file exception.txt
- for full details of how and when the exception can be applied.
*/
/*
@@ -93,7 +86,12 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
_bss_end = .;
- } > ram
+ } > ram
+
+ /DISCARD/ :
+ {
+ *(.eh_*)
+ }
}
PROVIDE(end = .);
diff --git a/demos/ARMCM3-STM32F103-GCC/ch.ld b/demos/ARMCM3-STM32F103-GCC/ch.ld
index f0b0c18da..22d5546a1 100644
--- a/demos/ARMCM3-STM32F103-GCC/ch.ld
+++ b/demos/ARMCM3-STM32F103-GCC/ch.ld
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2009 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -15,13 +15,6 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-
- ---
-
- A special exception to the GPL can be applied should you wish to distribute
- a combined work that includes ChibiOS/RT, without being obliged to provide
- the source code for any proprietary components. See the file exception.txt
- for full details of how and when the exception can be applied.
*/
/*
@@ -86,7 +79,12 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
_bss_end = .;
- } > ram
+ } > ram
+
+ /DISCARD/ :
+ {
+ *(.eh_*)
+ }
}
PROVIDE(end = .);
diff --git a/readme.txt b/readme.txt
index 09b89a8a0..758b93f8c 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,65 +1,13 @@
-*****************************************************************************
-*** Directories structure ***
-*****************************************************************************
-
-./readme.txt - This file.
-./license.txt - GPL3 license file.
-./src/ - ChibiOS/RT portable kernel source files.
-./src/include/ - ChibiOS/RT include files.
-./src/lib/ - ChibiOS/RT library code that can be included into
- user applications but is not part of the core system.
- The code in this directory is meant to be portable,
- generic and architecture independent.
-./src/templates/ - ChibiOS/RT non portable source templates, new ports
- are started by copying the templates into a new
- directory under ./demos/ and/or ./ports/.
-./ports/ - Architecture specific portable files.
-./demos/ - Demo programs for specific architectures/boards.
-./ext/ - External libraries or other code not part of
- ChibiOS/RT but used in the demo applications.
-./test/ - Test code, used by some demos.
-./docs/src - Documentation sources.
-./docs/rsc - Documentation resources.
-./docs/Doxyfile - Doxygen project file.
-./docs/index.html - ChibiOS/RT documentation.
- The documentation is also available on the project
- web page: http://chibios.sourceforge.net/
-./docs/reports - Test reports on the various targets.
-
-*****************************************************************************
-*** Current ports/demos ***
-*****************************************************************************
-Current ports under ./demos:
-
-ARM7-LPC214x-GCC - ChibiOS/RT port for ARM7 LPC2148, the demo targets
- the Olimex LPC-P2148 board. This port can be easily
- modified for any processor into the LPC2000 family or
- other boards. The demo can be compiled using YAGARTO
- or any other GCC-based ARM toolchain. Full demo.
-ARM7-LPC214x-GCC-min - Minimal demo for LPC214X.
-ARM7-LPC214x-G++ - Yet another LPC214X demo but this one is done using
- G++ in order to provide a C++ template project to the
- ChibiOS/RT users.
-ARM7-AT91SAM7X-GCC - Port for Atmel AT91SAM7X256. The demo program targets
- the Olimex SAM7-EX256 board.
-ARM7-AT91SAM7X-WEB-GCC - Port for Atmel AT91SAM7X256. The web demo program
- targets the Olimex SAM7-EX256 board.
-ARMCM3-ST32F103-GCC - ARM Cortex-M3 port. The demo targets the Olimex
- STM32-P103 board.
-AVR-AVRmega128-GCC - Port on AVRmega128. A special thanks to Vladimir for
- the work done on the AVR port. The demo program
- targets the Olimex AVR-MT-128 mini terminal board.
-AVR-AT90CANx-GCC - Port on AVR AT90CAN128, not tested on hardware yet. It
- ran correctly in the simulator.
-MSP430-MSP430x1611-GCC - Port on Texas Instruments MSP430F1611, the demo
- targets the Olimex MSP430-P1611 board.
-Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
- MinGW version.
-
*****************************************************************************
*** Releases ***
*****************************************************************************
+*** 1.2.4 ***
+- FIX: Modified linker scripts for GCC 4.4.x (bug 2846302).
+- FIX: Fixed the CH_OPTIMIZE_SPEED option in the CM3 port (bug 2846278).
+- FIX: Fixed GCC 4.4.x related problems in CM3 port (bug 2846162).
+- FIX: Fixed LPC214x UART problem (bug 2841088).
+
*** 1.2.3 ***
- FIX: Fixed C99-style variable declarations (bug 2792919).
- FIX: Fixed instance of obsolete CH_USE_TERMINATE option in the C++ wrapper