aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-18 10:06:15 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-07-18 10:06:15 +0000
commit0967b65940227a09c0f1b51def7d1c12df9010de (patch)
tree0d50f35dda9093a590ec0f0ebc86fef7b9011c3f
parentee5dade2c6b23cdef0eef4a24fe64f7e6c2c23e6 (diff)
downloadChibiOS-0967b65940227a09c0f1b51def7d1c12df9010de.tar.gz
ChibiOS-0967b65940227a09c0f1b51def7d1c12df9010de.tar.bz2
ChibiOS-0967b65940227a09c0f1b51def7d1c12df9010de.zip
Port support for SCP560B64.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5983 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/ports/GCC/PPC/SPC560Bxx/bam.s4
-rw-r--r--os/ports/GCC/PPC/SPC560Bxx/core.s2
-rw-r--r--os/ports/GCC/PPC/SPC560Bxx/port.mk12
-rw-r--r--os/ports/GCC/PPC/SPC560Bxx/ppcparams.h2
-rw-r--r--os/ports/GCC/PPC/SPC560Bxx/vectors.h4
-rw-r--r--os/ports/GCC/PPC/SPC560Bxx/vectors.s129
-rw-r--r--readme.txt1
7 files changed, 137 insertions, 17 deletions
diff --git a/os/ports/GCC/PPC/SPC560Bxx/bam.s b/os/ports/GCC/PPC/SPC560Bxx/bam.s
index 28792c3c3..a9e6c5e92 100644
--- a/os/ports/GCC/PPC/SPC560Bxx/bam.s
+++ b/os/ports/GCC/PPC/SPC560Bxx/bam.s
@@ -19,8 +19,8 @@
*/
/**
- * @file SPC560Dxx/bam.s
- * @brief SPC560Dxx boot assistant record.
+ * @file SPC560Bxx/bam.s
+ * @brief SPC560Bxx boot assistant record.
*
* @addtogroup PPC_CORE
* @{
diff --git a/os/ports/GCC/PPC/SPC560Bxx/core.s b/os/ports/GCC/PPC/SPC560Bxx/core.s
index 434f96fa3..b4a676e5a 100644
--- a/os/ports/GCC/PPC/SPC560Bxx/core.s
+++ b/os/ports/GCC/PPC/SPC560Bxx/core.s
@@ -19,7 +19,7 @@
*/
/**
- * @file SPC560Dxx/core.s
+ * @file SPC560Bxx/core.s
* @brief e200z0 core configuration.
*
* @addtogroup PPC_CORE
diff --git a/os/ports/GCC/PPC/SPC560Bxx/port.mk b/os/ports/GCC/PPC/SPC560Bxx/port.mk
index e0756b8c2..c009da3bf 100644
--- a/os/ports/GCC/PPC/SPC560Bxx/port.mk
+++ b/os/ports/GCC/PPC/SPC560Bxx/port.mk
@@ -1,13 +1,13 @@
-# List of the ChibiOS/RT SPC560Dxx port files.
+# List of the ChibiOS/RT SPC560Bxx port files.
PORTSRC = ${CHIBIOS}/os/ports/GCC/PPC/chcore.c
-PORTASM = ${CHIBIOS}/os/ports/GCC/PPC/SPC560Dxx/bam.s \
- ${CHIBIOS}/os/ports/GCC/PPC/SPC560Dxx/core.s \
- ${CHIBIOS}/os/ports/GCC/PPC/SPC560Dxx/vectors.s \
+PORTASM = ${CHIBIOS}/os/ports/GCC/PPC/SPC560Bxx/bam.s \
+ ${CHIBIOS}/os/ports/GCC/PPC/SPC560Bxx/core.s \
+ ${CHIBIOS}/os/ports/GCC/PPC/SPC560Bxx/vectors.s \
${CHIBIOS}/os/ports/GCC/PPC/ivor.s \
${CHIBIOS}/os/ports/GCC/PPC/crt0.s
PORTINC = ${CHIBIOS}/os/ports/GCC/PPC \
- ${CHIBIOS}/os/ports/GCC/PPC/SPC560Dxx
+ ${CHIBIOS}/os/ports/GCC/PPC/SPC560Bxx
-PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC560Dxx/ld
+PORTLD = ${CHIBIOS}/os/ports/GCC/PPC/SPC560Bxx/ld
diff --git a/os/ports/GCC/PPC/SPC560Bxx/ppcparams.h b/os/ports/GCC/PPC/SPC560Bxx/ppcparams.h
index 965db510d..552099b31 100644
--- a/os/ports/GCC/PPC/SPC560Bxx/ppcparams.h
+++ b/os/ports/GCC/PPC/SPC560Bxx/ppcparams.h
@@ -19,7 +19,7 @@
*/
/**
- * @file SPC560Dxx/ppcparams.h
+ * @file SPC560Bxx/ppcparams.h
* @brief PowerPC parameters for the SPC560B/Cxx.
*
* @defgroup PPC_SPC560BCxx SPC560BCxx Specific Parameters
diff --git a/os/ports/GCC/PPC/SPC560Bxx/vectors.h b/os/ports/GCC/PPC/SPC560Bxx/vectors.h
index 4cc1b47ce..9c240749b 100644
--- a/os/ports/GCC/PPC/SPC560Bxx/vectors.h
+++ b/os/ports/GCC/PPC/SPC560Bxx/vectors.h
@@ -19,7 +19,7 @@
*/
/**
- * @file SPC560Dxx/vectors.h
+ * @file SPC560Bxx/vectors.h
* @brief ISR vector module header.
*
* @addtogroup PPC_CORE
@@ -36,7 +36,7 @@
/**
* @brief Number of ISR vectors available.
*/
-#define VECTORS_NUMBER 155
+#define VECTORS_NUMBER 234
/*===========================================================================*/
/* Module pre-compile time settings. */
diff --git a/os/ports/GCC/PPC/SPC560Bxx/vectors.s b/os/ports/GCC/PPC/SPC560Bxx/vectors.s
index 2536e51ce..ba82ba799 100644
--- a/os/ports/GCC/PPC/SPC560Bxx/vectors.s
+++ b/os/ports/GCC/PPC/SPC560Bxx/vectors.s
@@ -19,8 +19,8 @@
*/
/**
- * @file SPC560Dxx/vectors.s
- * @brief SPC560Dxx vectors table.
+ * @file SPC560Bxx/vectors.s
+ * @brief SPC560Bxx vectors table.
*
* @addtogroup PPC_CORE
* @{
@@ -33,7 +33,7 @@
a function withe the same name of a vector, the symbol will
override the weak symbol declared here.*/
.section .vectors, "ax"
- .align 4
+ .align 4
.globl _vectors
_vectors:
.long vector0, vector1, vector2, vector3
@@ -74,7 +74,27 @@ _vectors:
.long vector140, vector141, vector142, vector143
.long vector144, vector145, vector146, vector147
.long vector148, vector149, vector150, vector151
- .long vector152, vector153, vector154
+ .long vector152, vector153, vector154, vector155
+ .long vector156, vector157, vector158, vector159
+ .long vector160, vector161, vector162, vector163
+ .long vector164, vector165, vector166, vector167
+ .long vector168, vector169, vector170, vector171
+ .long vector172, vector173, vector174, vector175
+ .long vector176, vector177, vector178, vector179
+ .long vector180, vector181, vector182, vector183
+ .long vector184, vector185, vector186, vector187
+ .long vector188, vector189, vector190, vector191
+ .long vector192, vector193, vector194, vector195
+ .long vector196, vector197, vector198, vector199
+ .long vector200, vector201, vector202, vector203
+ .long vector204, vector205, vector206, vector207
+ .long vector208, vector209, vector210, vector211
+ .long vector212, vector213, vector214, vector215
+ .long vector216, vector217, vector218, vector219
+ .long vector220, vector221, vector222, vector223
+ .long vector224, vector225, vector226, vector227
+ .long vector228, vector229, vector230, vector231
+ .long vector232, vector233
.text
.align 2
@@ -117,7 +137,27 @@ _vectors:
.weak vector140, vector141, vector142, vector143
.weak vector144, vector145, vector146, vector147
.weak vector148, vector149, vector150, vector151
- .weak vector152, vector153, vector154
+ .weak vector152, vector153, vector154, vector155
+ .weak vector156, vector157, vector158, vector159
+ .weak vector160, vector161, vector162, vector163
+ .weak vector164, vector165, vector166, vector167
+ .weak vector168, vector169, vector170, vector171
+ .weak vector172, vector173, vector174, vector175
+ .weak vector176, vector177, vector178, vector179
+ .weak vector180, vector181, vector182, vector183
+ .weak vector184, vector185, vector186, vector187
+ .weak vector188, vector189, vector190, vector191
+ .weak vector192, vector193, vector194, vector195
+ .weak vector196, vector197, vector198, vector199
+ .weak vector200, vector201, vector202, vector203
+ .weak vector204, vector205, vector206, vector207
+ .weak vector208, vector209, vector210, vector211
+ .weak vector212, vector213, vector214, vector215
+ .weak vector216, vector217, vector218, vector219
+ .weak vector220, vector221, vector222, vector223
+ .weak vector224, vector225, vector226, vector227
+ .weak vector228, vector229, vector230, vector231
+ .weak vector232, vector233
vector0:
vector1:
@@ -274,6 +314,85 @@ vector151:
vector152:
vector153:
vector154:
+vector155:
+vector156:
+vector157:
+vector158:
+vector159:
+vector160:
+vector161:
+vector162:
+vector163:
+vector164:
+vector165:
+vector166:
+vector167:
+vector168:
+vector169:
+vector170:
+vector171:
+vector172:
+vector173:
+vector174:
+vector175:
+vector176:
+vector177:
+vector178:
+vector179:
+vector180:
+vector181:
+vector182:
+vector183:
+vector184:
+vector185:
+vector186:
+vector187:
+vector188:
+vector189:
+vector190:
+vector191:
+vector192:
+vector193:
+vector194:
+vector195:
+vector196:
+vector197:
+vector198:
+vector199:
+vector200:
+vector201:
+vector202:
+vector203:
+vector204:
+vector205:
+vector206:
+vector207:
+vector208:
+vector209:
+vector210:
+vector211:
+vector212:
+vector213:
+vector214:
+vector215:
+vector216:
+vector217:
+vector218:
+vector219:
+vector220:
+vector221:
+vector222:
+vector223:
+vector224:
+vector225:
+vector226:
+vector227:
+vector228:
+vector229:
+vector230:
+vector231:
+vector232:
+vector233:
.weak _unhandled_irq
.type _unhandled_irq, @function
diff --git a/readme.txt b/readme.txt
index 34b8594a1..ec02afe67 100644
--- a/readme.txt
+++ b/readme.txt
@@ -101,6 +101,7 @@
(backported to 2.6.0).
- FIX: Fixed MS2ST() and US2ST() macros error (bug #415)(backported to 2.6.0,
2.4.4, 2.2.10, NilRTOS).
+- NEW: Added port support for SCP560B64.
- NEW: Added DAC driver high level files and low level files templates.
- NEW: Added support of UART4 and UART5 (STM32F4x and STM32F2x platforms)
(feature request #28).