Skip to content

Increase available RAM for RTX on LPC11U24 #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 19, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions libraries/rtos/rtx/RTX_CM_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ osThreadDef_t os_thread_def_main = {(os_pthread)main, osPriorityNormal, 0, NULL}
#define INITIAL_SP (0x10008000UL)

#elif TARGET_LPC11U24
#define INITIAL_SP (0x10001000UL)
#define INITIAL_SP (0x10002000UL)

#elif TARGET_LPC1114
#define INITIAL_SP (0x10001000UL)
Expand All @@ -226,8 +226,8 @@ osThreadDef_t os_thread_def_main = {(os_pthread)main, osPriorityNormal, 0, NULL}
extern unsigned char Image$$RW_IRAM1$$ZI$$Limit[];
#define HEAP_START (Image$$RW_IRAM1$$ZI$$Limit)
#elif defined(__GNUC__)
extern unsigned char __HeapLimit[];
#define HEAP_START (__HeapLimit)
extern unsigned char __end__[];
#define HEAP_START (__end__)
#endif

void set_main_stack(void) {
Expand Down