1. "Common subexpression elimination" is valid on volatile varibles in a struct. I'm using STM32_StdPheriph Library, for SPI operation. I write a byte to DR, wait ready, and read the return value read from DR. If "Common subexpression elimination" is enabled in most size optimization, the data written to DR will be returned(instead of read DR). And it's OK if using CodesourceryG++Lite, -Os optimization. reply: > The bug is reconfirmed and planned to be corrected in version 5.41. 2. I'm using STM32, debugging with OpenOCD(GDB interface). If STM32 is empty(after a mass-erase), IAR will fail to start debug session. Reason: If STM32 is empty, PC(r15) …
系统分类:
ARM | 用户分类:
Versaloon Tools
| 来源:
原创
该用户于2009/11/27 14:59:16编辑过该文章