Imagecraft C Compiler Memory Location

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

hi,

   

trying to specify absolute memory areas for code to make a bootloader. the user guide states that you can simply use the following:

   

#pragma text:bootloader

   

//  general code

   

#pragam text:text

   

then declare 'bootloader' areas in custom.lkp file. ok, looks good, compiles with no errors or warnings and dosen't work. the hex files with and without the #pragma statements are identical.

   

i simply want to specify an absolute location to for code. anyone know how to do this?

   

thanks

0 Likes
0 Replies