1. STM32F103 512K 外扩1M SRAM ;
2. 没有设置RAM1 ,用该语句uint16_t BUF[size]__attribute__((at(0x68000000))); 把变量定义到外部SRAM;
3. 但size小于0x40000时,即数组小于512KB,程序编译通过,下载运行正常;
4. 但size大于0x40000时,即数组大于512KB,编译报错;
.\Obj\RunInFlash20131023.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_it.o(i.USART3_IRQHandler).
.\Obj\RunInFlash20131023.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f10x_it.o(i.USART2_IRQHandler).
哪位仁兄碰到此问题,指点一下,感激不尽!! |