STM32L151C8,手册里写的只有32k RAM, 像测试一下能开多大的数组,但是用IAR编译的时候显示:
11 440 bytes of readonly code memory
40 bytes of readonly data memory
74 121 bytes of readwrite data memory
RAM 74k多?怎么超过32k了?
然后看看他上限,直到编译出错。
unable to allocate space for sec
tions/blocks with a total estimated minimum size of 0x20bec bytes (max align 0x8) in <[0x20000000-0x20013fff]> (total uncommitted space 0x14000).
一共有0X14000?80k左右?
不是说好的32k么?
一周热门 更多>