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

This commit is contained in:
gdisirio 2008-04-23 08:36:16 +00:00
parent f80bb0647f
commit 25d517877d
11 changed files with 61 additions and 28 deletions

View File

@ -101,7 +101,7 @@ TOPT = -mthumb -D THUMB
# chconf.h. # chconf.h.
# NOTE: -falign-functions=16 may improve the performance, not always, but # NOTE: -falign-functions=16 may improve the performance, not always, but
# increases the code size. # increases the code size.
OPT = -O2 -ggdb -fomit-frame-pointer OPT = -O2 -ggdb -fomit-frame-pointer -mabi=apcs-gnu
#OPT += -ffixed-r7 #OPT += -ffixed-r7
#OPT += -falign-functions=16 #OPT += -falign-functions=16
@ -138,10 +138,13 @@ ifneq ($(TSRC),)
LDFLAGS += -mthumb-interwork LDFLAGS += -mthumb-interwork
else else
# Pure THUMB case, THUMB C code cannot be called by ARM asm code directly. # Pure THUMB case, THUMB C code cannot be called by ARM asm code directly.
CPFLAGS += -D THUMB_NO_INTERWORKING CPFLAGS += -mno-thumb-interwork -D THUMB_NO_INTERWORKING
LDFLAGS += -mthumb LDFLAGS += -mno-thumb-interwork -mthumb
ASFLAGS += -D THUMB_NO_INTERWORKING ASFLAGS += -D THUMB_NO_INTERWORKING
endif endif
else
CPFLAGS += -mno-thumb-interwork
LDFLAGS += -mno-thumb-interwork
endif endif
# Generate dependency information # Generate dependency information

View File

@ -101,7 +101,7 @@ TOPT = -mthumb -D THUMB
# chconf.h. # chconf.h.
# NOTE: -falign-functions=16 may improve the performance, not always, but # NOTE: -falign-functions=16 may improve the performance, not always, but
# increases the code size. # increases the code size.
OPT = -Os -ggdb -fomit-frame-pointer OPT = -Os -ggdb -fomit-frame-pointer -mabi=apcs-gnu
#OPT += -ffixed-r7 #OPT += -ffixed-r7
#OPT += -falign-functions=16 #OPT += -falign-functions=16
@ -138,10 +138,13 @@ ifneq ($(TSRC),)
LDFLAGS += -mthumb-interwork LDFLAGS += -mthumb-interwork
else else
# Pure THUMB case, THUMB C code cannot be called by ARM asm code directly. # Pure THUMB case, THUMB C code cannot be called by ARM asm code directly.
CPFLAGS += -D THUMB_NO_INTERWORKING CPFLAGS += -mno-thumb-interwork -D THUMB_NO_INTERWORKING
LDFLAGS += -mthumb LDFLAGS += -mno-thumb-interwork -mthumb
ASFLAGS += -D THUMB_NO_INTERWORKING ASFLAGS += -D THUMB_NO_INTERWORKING
endif endif
else
CPFLAGS += -mno-thumb-interwork
LDFLAGS += -mno-thumb-interwork
endif endif
# Generate dependency information # Generate dependency information

View File

@ -111,7 +111,7 @@ TOPT = -mthumb -D THUMB
# chconf.h. # chconf.h.
# NOTE: -falign-functions=16 may improve the performance, not always, but # NOTE: -falign-functions=16 may improve the performance, not always, but
# increases the code size. # increases the code size.
OPT = -O2 -ggdb -fomit-frame-pointer OPT = -O2 -ggdb -fomit-frame-pointer -mabi=apcs-gnu
#OPT += -ffixed-r7 #OPT += -ffixed-r7
OPT += -falign-functions=16 OPT += -falign-functions=16
@ -161,11 +161,15 @@ ifneq ($(TSRC),)
LDFLAGS += -mthumb-interwork LDFLAGS += -mthumb-interwork
else else
# Pure THUMB case, THUMB C code cannot be called by ARM asm code directly. # Pure THUMB case, THUMB C code cannot be called by ARM asm code directly.
CFLAGS += -D THUMB_NO_INTERWORKING CFLAGS += -mno-thumb-interwork -D THUMB_NO_INTERWORKING
CPPFLAGS += -D THUMB_NO_INTERWORKING CPPFLAGS += -mno-thumb-interwork -D THUMB_NO_INTERWORKING
LDFLAGS += -mthumb LDFLAGS += -mno-thumb-interwork -mthumb
ASFLAGS += -D THUMB_NO_INTERWORKING ASFLAGS += -D THUMB_NO_INTERWORKING
endif endif
else
CPFLAGS += -mno-thumb-interwork
CPPFLAGS += -mno-thumb-interwork
LDFLAGS += -mno-thumb-interwork
endif endif
# Generate dependency information # Generate dependency information

View File

@ -111,7 +111,7 @@ TOPT = -mthumb -D THUMB
# chconf.h. # chconf.h.
# NOTE: -falign-functions=16 may improve the performance, not always, but # NOTE: -falign-functions=16 may improve the performance, not always, but
# increases the code size. # increases the code size.
OPT = -O2 -ggdb -fomit-frame-pointer OPT = -O2 -ggdb -fomit-frame-pointer -mabi=apcs-gnu
#OPT += -ffixed-r7 #OPT += -ffixed-r7
OPT += -falign-functions=16 OPT += -falign-functions=16
@ -161,11 +161,15 @@ ifneq ($(TSRC),)
LDFLAGS += -mthumb-interwork LDFLAGS += -mthumb-interwork
else else
# Pure THUMB case, THUMB C code cannot be called by ARM asm code directly. # Pure THUMB case, THUMB C code cannot be called by ARM asm code directly.
CFLAGS += -D THUMB_NO_INTERWORKING CFLAGS += -mno-thumb-interwork -D THUMB_NO_INTERWORKING
CPPFLAGS += -D THUMB_NO_INTERWORKING CPPFLAGS += -mno-thumb-interwork -D THUMB_NO_INTERWORKING
LDFLAGS += -mthumb LDFLAGS += -mno-thumb-interwork -mthumb
ASFLAGS += -D THUMB_NO_INTERWORKING ASFLAGS += -D THUMB_NO_INTERWORKING
endif endif
else
CPFLAGS += -mno-thumb-interwork
CPPFLAGS += -mno-thumb-interwork
LDFLAGS += -mno-thumb-interwork
endif endif
# Generate dependency information # Generate dependency information

View File

@ -99,7 +99,7 @@ TOPT = -mthumb -D THUMB
# chconf.h. # chconf.h.
# NOTE: -falign-functions=16 may improve the performance, not always, but # NOTE: -falign-functions=16 may improve the performance, not always, but
# increases the code size. # increases the code size.
OPT = -O2 -ggdb -fomit-frame-pointer OPT = -O2 -ggdb -fomit-frame-pointer -mabi=apcs-gnu
#OPT += -ffixed-r7 #OPT += -ffixed-r7
OPT += -falign-functions=16 OPT += -falign-functions=16
@ -136,10 +136,13 @@ ifneq ($(TSRC),)
LDFLAGS += -mthumb-interwork LDFLAGS += -mthumb-interwork
else else
# Pure THUMB case, THUMB C code cannot be called by ARM asm code directly. # Pure THUMB case, THUMB C code cannot be called by ARM asm code directly.
CPFLAGS += -D THUMB_NO_INTERWORKING CPFLAGS += -mno-thumb-interwork -D THUMB_NO_INTERWORKING
LDFLAGS += -mthumb LDFLAGS += -mno-thumb-interwork -mthumb
ASFLAGS += -D THUMB_NO_INTERWORKING ASFLAGS += -D THUMB_NO_INTERWORKING
endif endif
else
CPFLAGS += -mno-thumb-interwork
LDFLAGS += -mno-thumb-interwork
endif endif
# Generate dependency information # Generate dependency information

View File

@ -99,7 +99,7 @@ TOPT = -mthumb -D THUMB
# chconf.h. # chconf.h.
# NOTE: -falign-functions=16 may improve the performance, not always, but # NOTE: -falign-functions=16 may improve the performance, not always, but
# increases the code size. # increases the code size.
OPT = -Os -ggdb -fomit-frame-pointer OPT = -Os -ggdb -fomit-frame-pointer -mabi=apcs-gnu
#OPT += -ffixed-r7 #OPT += -ffixed-r7
OPT += -falign-functions=16 OPT += -falign-functions=16
@ -136,10 +136,13 @@ ifneq ($(TSRC),)
LDFLAGS += -mthumb-interwork LDFLAGS += -mthumb-interwork
else else
# Pure THUMB case, THUMB C code cannot be called by ARM asm code directly. # Pure THUMB case, THUMB C code cannot be called by ARM asm code directly.
CPFLAGS += -D THUMB_NO_INTERWORKING CPFLAGS += -mno-thumb-interwork -D THUMB_NO_INTERWORKING
LDFLAGS += -mthumb LDFLAGS += -mno-thumb-interwork -mthumb
ASFLAGS += -D THUMB_NO_INTERWORKING ASFLAGS += -D THUMB_NO_INTERWORKING
endif endif
else
CPFLAGS += -mno-thumb-interwork
LDFLAGS += -mno-thumb-interwork
endif endif
# Generate dependency information # Generate dependency information

View File

@ -102,7 +102,7 @@ TOPT = -mthumb -D THUMB
# chconf.h. # chconf.h.
# NOTE: -falign-functions=16 may improve the performance, not always, but # NOTE: -falign-functions=16 may improve the performance, not always, but
# increases the code size. # increases the code size.
OPT = -O2 -ggdb -fomit-frame-pointer OPT = -O2 -ggdb -fomit-frame-pointer -mabi=apcs-gnu
#OPT += -ffixed-r7 #OPT += -ffixed-r7
OPT += -falign-functions=16 OPT += -falign-functions=16
@ -139,10 +139,13 @@ ifneq ($(TSRC),)
LDFLAGS += -mthumb-interwork LDFLAGS += -mthumb-interwork
else else
# Pure THUMB case, THUMB C code cannot be called by ARM asm code directly. # Pure THUMB case, THUMB C code cannot be called by ARM asm code directly.
CPFLAGS += -D THUMB_NO_INTERWORKING CPFLAGS += -mno-thumb-interwork -D THUMB_NO_INTERWORKING
LDFLAGS += -mthumb LDFLAGS += -mno-thumb-interwork -mthumb
ASFLAGS += -D THUMB_NO_INTERWORKING ASFLAGS += -D THUMB_NO_INTERWORKING
endif endif
else
CPFLAGS += -mno-thumb-interwork
LDFLAGS += -mno-thumb-interwork
endif endif
# Generate dependency information # Generate dependency information

View File

@ -102,7 +102,7 @@ TOPT = -mthumb -D THUMB
# chconf.h. # chconf.h.
# NOTE: -falign-functions=16 may improve the performance, not always, but # NOTE: -falign-functions=16 may improve the performance, not always, but
# increases the code size. # increases the code size.
OPT = -Os -ggdb -fomit-frame-pointer -fno-strict-aliasing OPT = -Os -ggdb -fomit-frame-pointer -mabi=apcs-gnu
#OPT += -ffixed-r7 #OPT += -ffixed-r7
OPT += -falign-functions=16 OPT += -falign-functions=16
@ -139,10 +139,13 @@ ifneq ($(TSRC),)
LDFLAGS += -mthumb-interwork LDFLAGS += -mthumb-interwork
else else
# Pure THUMB case, THUMB C code cannot be called by ARM asm code directly. # Pure THUMB case, THUMB C code cannot be called by ARM asm code directly.
CPFLAGS += -D THUMB_NO_INTERWORKING CPFLAGS += -mno-thumb-interwork -D THUMB_NO_INTERWORKING
LDFLAGS += -mthumb LDFLAGS += -mno-thumb-interwork -mthumb
ASFLAGS += -D THUMB_NO_INTERWORKING ASFLAGS += -D THUMB_NO_INTERWORKING
endif endif
else
CPFLAGS += -mno-thumb-interwork
LDFLAGS += -mno-thumb-interwork
endif endif
# Generate dependency information # Generate dependency information

View File

@ -4,7 +4,7 @@
# Project related configuration options # Project related configuration options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
PROJECT_NAME = ChibiOS/RT PROJECT_NAME = ChibiOS/RT
PROJECT_NUMBER = "0.6.3 beta" PROJECT_NUMBER = "0.6.4 beta"
OUTPUT_DIRECTORY = . OUTPUT_DIRECTORY = .
CREATE_SUBDIRS = NO CREATE_SUBDIRS = NO
OUTPUT_LANGUAGE = English OUTPUT_LANGUAGE = English

View File

@ -12,7 +12,7 @@
</tr> </tr>
<tr> <tr>
<td style="text-align: center; vertical-align: top; width: 150px;">Current <td style="text-align: center; vertical-align: top; width: 150px;">Current
Version 0.6.3<br> Version 0.6.4<br>
-<br> -<br>
<a href="http://sourceforge.net/projects/chibios/" rel="me" target="_top">Project on SourceForge</a><br> <a href="http://sourceforge.net/projects/chibios/" rel="me" target="_top">Project on SourceForge</a><br>
<a href="html/index.html" target="_top" rel="me">Documentation</a><br> <a href="html/index.html" target="_top" rel="me">Documentation</a><br>

View File

@ -62,6 +62,13 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
*** Releases *** *** Releases ***
***************************************************************************** *****************************************************************************
*** 0.6.4 ***
- Modified the ARM demos makefiles in order to make them more compatible with
GCC 4.3.0, it seems the new GCC assumes -mthumb-interworking and -mabi=apcs
by default, now the makefiles explictly assert -mno-thumb-interworking and
-mabi=apcs-gnu in order to produce better code. CodeSourcery's compilers
also share this behaviour.
*** 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
chip from ST Microelectronics on an Olimex STM32-P103 board. chip from ST Microelectronics on an Olimex STM32-P103 board.