Hello. I use stm32f429, I write on keil, I do the initial setup via CubeMX. I need immediately after the initialization of SDRAM to transfer a bunch of my program there.
Found such code on the Internet
void dummy_function1(void) { __asm { EXPORT __heap_base __heap_base EQU 0xD0400000 EXPORT __heap_limit __heap_limit EQU 0x400000 } } But the compiler does not compile it, displaying such errors
../Src/main.c(227): error: # 3061: unrecognized instruction opcode EXPORT __heap_base ../Src/main.c(228): error: # 3061: unrecognized instruction opcode __heap_base EQU 0xD0400000
../Src/main.c(229): error: # 3061: unrecognized instruction opcode EXPORT __heap_limit ../Src/main.c(230): error: # 3061: unrecognized instruction opcode __heap_limit EQU 0x400000
Can you please tell me how to change the position of the heap?