change the ALIGN definition for IAR compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@781 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
5900cc0c73
commit
4902e69f1e
|
@ -23,6 +23,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct rt_thread idle;
|
static struct rt_thread idle;
|
||||||
|
ALIGN(RT_ALIGN_SIZE)
|
||||||
static rt_uint8_t rt_thread_stack[IDLE_THREAD_STACK_SIZE];
|
static rt_uint8_t rt_thread_stack[IDLE_THREAD_STACK_SIZE];
|
||||||
|
|
||||||
#ifdef RT_USING_HEAP
|
#ifdef RT_USING_HEAP
|
||||||
|
|
|
@ -926,9 +926,7 @@ void rt_hw_console_output(const char* str) __attribute__((weak));
|
||||||
void rt_hw_console_output(const char* str)
|
void rt_hw_console_output(const char* str)
|
||||||
#elif defined(__CC_ARM)
|
#elif defined(__CC_ARM)
|
||||||
__weak void rt_hw_console_output(const char* str)
|
__weak void rt_hw_console_output(const char* str)
|
||||||
#elif defined(__ICCARM__)
|
#elif defined(__IAR_SYSTEMS_ICC__)
|
||||||
__weak void rt_hw_console_output(const char* str)
|
|
||||||
#elif defined(__ICCM16C__)
|
|
||||||
void rt_hw_console_output(const char* str)
|
void rt_hw_console_output(const char* str)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue