Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: targets/TARGET_NUVOTON/mbed_rtx.h
- Revision:
- 187:0387e8f68319
- Parent:
- 174:b96e65c34a4d
diff -r 707f6e361f3e -r 0387e8f68319 targets/TARGET_NUVOTON/mbed_rtx.h
--- a/targets/TARGET_NUVOTON/mbed_rtx.h Fri Jun 22 16:45:37 2018 +0100
+++ b/targets/TARGET_NUVOTON/mbed_rtx.h Thu Sep 06 13:40:20 2018 +0100
@@ -31,14 +31,14 @@
#define ISR_STACK_START ((unsigned char*)Image$$ARM_LIB_STACK$$ZI$$Base)
#define ISR_STACK_SIZE ((uint32_t)Image$$ARM_LIB_STACK$$ZI$$Length)
#elif defined(__GNUC__)
- extern uint32_t __StackTop[];
- extern uint32_t __StackLimit[];
- extern uint32_t __end__[];
- extern uint32_t __HeapLimit[];
- #define HEAP_START ((unsigned char*)__end__)
- #define HEAP_SIZE ((uint32_t)((uint32_t)__HeapLimit - (uint32_t)HEAP_START))
- #define ISR_STACK_START ((unsigned char*)__StackLimit)
- #define ISR_STACK_SIZE ((uint32_t)((uint32_t)__StackTop - (uint32_t)__StackLimit))
+ extern uint32_t __StackTop;
+ extern uint32_t __StackLimit;
+ extern uint32_t __end__;
+ extern uint32_t __HeapLimit;
+ #define HEAP_START ((unsigned char*) &__end__)
+ #define HEAP_SIZE ((uint32_t) ((uint32_t) &__HeapLimit - (uint32_t) HEAP_START))
+ #define ISR_STACK_START ((unsigned char*) &__StackLimit)
+ #define ISR_STACK_SIZE ((uint32_t)((uint32_t) &__StackTop - (uint32_t) &__StackLimit))
#elif defined(__ICCARM__)
/* No region declarations needed */
#else
