1 #include <stdint.h> 2 #include <stdio.h> 3 4 extern uint8_t _2file_start[] asm("_binary_2file_txt_start"); 5 extern uint8_t _2file_end[] asm("_binary_2file_txt_end"); 6 extern uint8_t file_start[] asm("_binary_file_txt_start"); 7 extern uint8_t file_end[] asm("_binary_file_txt_start"); 8 extern uint8_t _file_start[] asm("_binary__file_txt_start"); 9 extern uint8_t _file_end[] asm("_binary__file_txt_start"); 10 11 #define PRINT_ADDR(f) printf("%s -> start: %p end:%p\n", #f, f ## _start, f ## _end); 12 app_main(void)13void app_main(void) 14 { 15 PRINT_ADDR(_2file); 16 PRINT_ADDR(file); 17 PRINT_ADDR(_file); 18 } 19