supperthomas / bluetoothlover_doc

this is about the learning station about friends.
https://supperthomas-wiki.readthedocs.io/
Apache License 2.0
46 stars 25 forks source link

xip 方式 #435

Open supperthomas opened 1 year ago

supperthomas commented 1 year ago
supperthomas commented 1 year ago

如何把.c放到RAM里面运行呢?mdk, iar, gcc

chenyingchun0312 commented 1 year ago

如何把.c放到RAM里面运行呢?mdk, iar, gcc

链接脚本LDS或者scatter文件中,直接指定,将xxx.o编译,链接在RAM区域,单单片机上电后,会将bin中的代码,拷贝到RAM中,代码执行时,直接从RAM取指令