Hi all!
I was trying to write a bootloader, with which I can upload a code from the internet, http request etc... My problem is that I can't change the memory location of the hex file. it always starts at 0x0000. Yes I did this with a makefile, I used the edam's makefile, and I tried to combine it with the bootloader's source code using the
LDSECTIONS = -Wl,--section-start=.text=0x3e00 -Wl,--section-start=.version=0x3ffe
but it does nothing. I don't know why? Where I have to put that command?
With the arduino bootloader makefile I can make hex file from all kind of c files. But when I tried to use the generated .c file by the IDE, and I put all the includes there, it doesen't see those includes.
So please help me, I have no idea what I'm doing wrong, and I'm sure it is feasible.