摘要:
例子1 我们都知道数组下表是从0开始的,假如我们想从1开始,可以这么干: 定义一个指针,指向a[-1]这个位置 #include <stdio.h> void main() { int a[] = {1,3,4}; int *p = &a[-1]; int i =0; for( i = 1; i < 阅读全文
摘要:
链接脚本官方文档: https://sourceware.org/binutils/docs-2.39/ld.html 链接脚本实例:(STM32F407VG,RT-Thread Studio生成的工程所含) /* * linker script for STM32F407ZG with GNU l 阅读全文