This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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(;;);                                                            \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]