No not elf, you need to get the bin file and load it. Search the wiki for RLPLite.
By the way, you should be able to do this. Check your compiler for settings on shrinking the elf. Also, load the elf at the very beginning of your code befor allocating any memory.
I already shrink the ELF with -s option in the makefile. But it is not enough. I prefer to use RLPLite, I just saw it in the wiki, I think it will more optimized with it.
I saw that you use Keil µVision4 but can I configure NetBeans with the Yagarto toolchain ?
Maybe I miss something but I’m not able to generate the bin file.
I cannot find the fromelf program in yagarto. I tried also the “-O binary” option in the makefile but it doesn’t works. Here is my makefile that generates the ELF:
So, I can generate my bin file and I can call any function of mine
But, I get stuck in C code when I call something with RLPext-> . When I want to use the RLPext pointer, to call Delay or any other tools I am stuck in the Invoke.
I think, your paste the code at the end of the RLP memory space, but what can I call to do this ?