initialize by copy { section .text object board.o };//自动拷贝到ram中
place in ITCM_region { section .text object board.o };
实际测试不成功,查看编译log文件会有此提示:
++ The following sections would have been initialized by copy but were
excluded because they were marked as possibly 'needed for init':
.text (board.o #8)
也就是实际并未拷贝,导致我程序一旦执行board.c中函数就会出现硬件错误中断,提示试图执行未定义指令。