Baremetal-NN
Baremetal-NN API documentation
Loading...
Searching...
No Matches

◆ INCLUDE_FILE

#define INCLUDE_FILE (   section,
  filename,
  symbol 
)
Value:
asm (\
".section "#section"\n" /* Change section */\
".balign 4\n" /* Word alignment */\
".global "#symbol"_start\n" /* Export the object start address */\
".global "#symbol"_data\n" /* Export the object address */\
#symbol"_start:\n" /* Define the object start address label */\
#symbol"_data:\n" /* Define the object label */\
".incbin \""filename"\"\n" /* Import the file */\
".global "#symbol"_end\n" /* Export the object end address */\
#symbol"_end:\n" /* Define the object end address label */\
".balign 4\n" /* Word alignment */\
".section \".text\"\n") /* Restore section */