This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
cortexm fix reset
- From: "simon dot kallweit at intefo dot ch" <simon dot kallweit at intefo dot ch>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Tue, 04 Nov 2008 13:58:21 +0100
- Subject: cortexm fix reset
Fixed base address in reset function.
Simon
diff -r 5318ede17c77 packages/hal/cortexm/arch/current/ChangeLog
--- a/packages/hal/cortexm/arch/current/ChangeLog Tue Nov 04 09:24:00 2008 +0100
+++ b/packages/hal/cortexm/arch/current/ChangeLog Tue Nov 04 13:56:58 2008 +0100
@@ -1,3 +1,8 @@
+2008-11-04 Simon Kallweit <simon.kallweit@intefo.ch>
+
+ * include/hal_intr.h:
+ Fixed base address in reset function.
+
2008-10-16 Nick Garnett <nickg@ecoscentric.com>
* src/vectors.S:
diff -r 5318ede17c77 packages/hal/cortexm/arch/current/include/hal_intr.h
--- a/packages/hal/cortexm/arch/current/include/hal_intr.h Tue Nov 04 09:24:00 2008 +0100
+++ b/packages/hal/cortexm/arch/current/include/hal_intr.h Tue Nov 04 13:56:58 2008 +0100
@@ -366,7 +366,7 @@
#define HAL_PLATFORM_RESET() \
{ \
- HAL_WRITE_UINT32(CYGARC_REG_SYSTICK_BASE+CYGARC_REG_NVIC_AIRCR, \
+ HAL_WRITE_UINT32(CYGARC_REG_NVIC_BASE+CYGARC_REG_NVIC_AIRCR, \
CYGARC_REG_NVIC_AIRCR_KEY| \
CYGARC_REG_NVIC_AIRCR_SYSRESETREQ ); \
for(;;); \