aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-24 07:11:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-09-24 07:11:11 +0000
commit76d35140c961634760955219d0dc1406dee58a12 (patch)
tree088a77154621ccb709dbfed3d5a3f0f9d8b09d80
parent5bf43b6500206391495dee6ea06c892dc450dcf2 (diff)
downloadChibiOS-76d35140c961634760955219d0dc1406dee58a12.tar.gz
ChibiOS-76d35140c961634760955219d0dc1406dee58a12.tar.bz2
ChibiOS-76d35140c961634760955219d0dc1406dee58a12.zip
IAR startup updated to export symbol __main_thread_stack_base__.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3388 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/ports/IAR/ARMCMx/cstartup.s2
-rw-r--r--readme.txt4
-rw-r--r--testhal/STM32L1xx/ADC/chconf.h12
3 files changed, 9 insertions, 9 deletions
diff --git a/os/ports/IAR/ARMCMx/cstartup.s b/os/ports/IAR/ARMCMx/cstartup.s
index 677cd5248..49746b373 100644
--- a/os/ports/IAR/ARMCMx/cstartup.s
+++ b/os/ports/IAR/ARMCMx/cstartup.s
@@ -31,6 +31,8 @@ CONTROL_USE_PSP SET 2
SECTION .intvec:CODE:NOROOT(3)
SECTION CSTACK:DATA:NOROOT(3)
+ PUBLIC __main_thread_stack_base__
+__main_thread_stack_base__:
PUBLIC __heap_end__
__heap_end__:
diff --git a/readme.txt b/readme.txt
index 3e8616418..5ea8fc151 100644
--- a/readme.txt
+++ b/readme.txt
@@ -100,7 +100,6 @@
allow an easier import. The Eclipse workspace is assumed to be created
inside the ChibiOS/RT main directory.
- NEW: STM32L ADC driver implementation.
- (TODO: To be tested.)
- NEW: Improved ADC driver model, now it is possible to handle error
conditions during the conversion process.
(TODO: To be tested.)
@@ -152,7 +151,6 @@
exception stack now triggers an exception (it could go unnoticed before).
The process stack is organized to be checked on context switch like other
threads. Now all threads have an explicit stack boundary pointer.
- (TODO: documentation to be updated)
- NEW: Added debug plugin for Eclipse under ./tools/eclipse (backported to
2.2.7).
- NEW: The debug macros chDbgCheck() and chDbgAssert() now can be externally
@@ -162,7 +160,7 @@
- NEW: Added provisional support for STM32F2xx. Because of this some
directories related to the STM32 have been renamed, your makefiles may
require adjustments.
- (TODO: change to be ported to IAR and Keil build files)
+ (TODO: change to be ported to Keil build files)
- NEW: Added a custom rule to the various rules.mk files, now it is possible
to add an user rule into the Makefiles.
- NEW: Improvements to the trace buffer, now it stores a full thread pointer
diff --git a/testhal/STM32L1xx/ADC/chconf.h b/testhal/STM32L1xx/ADC/chconf.h
index 9dd831c96..a5d129956 100644
--- a/testhal/STM32L1xx/ADC/chconf.h
+++ b/testhal/STM32L1xx/ADC/chconf.h
@@ -361,7 +361,7 @@
* @note The default is @p FALSE.
*/
#if !defined(CH_DBG_SYSTEM_STATE_CHECK) || defined(__DOXYGEN__)
-#define CH_DBG_SYSTEM_STATE_CHECK FALSE
+#define CH_DBG_SYSTEM_STATE_CHECK TRUE
#endif
/**
@@ -372,7 +372,7 @@
* @note The default is @p FALSE.
*/
#if !defined(CH_DBG_ENABLE_CHECKS) || defined(__DOXYGEN__)
-#define CH_DBG_ENABLE_CHECKS FALSE
+#define CH_DBG_ENABLE_CHECKS TRUE
#endif
/**
@@ -384,7 +384,7 @@
* @note The default is @p FALSE.
*/
#if !defined(CH_DBG_ENABLE_ASSERTS) || defined(__DOXYGEN__)
-#define CH_DBG_ENABLE_ASSERTS FALSE
+#define CH_DBG_ENABLE_ASSERTS TRUE
#endif
/**
@@ -395,7 +395,7 @@
* @note The default is @p FALSE.
*/
#if !defined(CH_DBG_ENABLE_TRACE) || defined(__DOXYGEN__)
-#define CH_DBG_ENABLE_TRACE FALSE
+#define CH_DBG_ENABLE_TRACE TRUE
#endif
/**
@@ -409,7 +409,7 @@
* @p panic_msg variable set to @p NULL.
*/
#if !defined(CH_DBG_ENABLE_STACK_CHECK) || defined(__DOXYGEN__)
-#define CH_DBG_ENABLE_STACK_CHECK FALSE
+#define CH_DBG_ENABLE_STACK_CHECK TRUE
#endif
/**
@@ -421,7 +421,7 @@
* @note The default is @p FALSE.
*/
#if !defined(CH_DBG_FILL_THREADS) || defined(__DOXYGEN__)
-#define CH_DBG_FILL_THREADS FALSE
+#define CH_DBG_FILL_THREADS TRUE
#endif
/**