Content originally posted in LPCWare by guillaumeL on Tue Jun 18 03:00:17 MST 2013
Hi,
My linker file is working fine but the problem is this one.
My program is ~15k ram and during the test program execution, the program allocate RAM area using malloc function. unfortunately, when I reach 32k ram, the malloc function fails. I ty to find a way to use the second 32k RAM bank but I didn't find a solution. I try to use [SIZE=2][COLOR=#3f7f5f][SIZE=2][COLOR=#3f7f5f]__attribute__((section("RamAHB32"))) [SIZE=3][COLOR=black]but[/COLOR][COLOR=black] it puts all variables in the first RAM bank and not in the second. [/COLOR][/SIZE]
[/COLOR][/SIZE][/COLOR][/SIZE]