Hi there,
I got an linker error for my project
"C:/Users/foo/cmd/F28335.cmd", line 146: error:
run placement fails for object ".ebss", size 0x1026 (page 1). Available
ranges:
RAML4 size: 0x1000 unused: 0x1000 max hole: 0x1000
warning: entry-point symbol other than "_c_int00" specified: "code_start"
error: errors encountered during linking;
"C:/Users/foo/Debug/foo.out" not built
If I use malloc, it links with no problem. However, I suspect there might be still problem since I got strange behavior after running the problem for several hours. The problem is, say I have an array foo,
And foo[0] and foo[1] ended up point both to address 0... I suspect the malloc is buggy.
foo was allocated space
foo = (my_struct_name*)malloc(sizeof(my_struct_name)*MY_SIZE);
So I changed foo to be static allocated.
fmy_struct_name foo[MY_SIZE];
And the linker error showed up.
My linker parameters are -stack0x400 and -heap0x1100.
Please help!