小虾米-415231 发表于 2017-4-14 13:06:50

STM32L151C8 RAM地址和手册里不一样

STM32L151C8,手册里写的只有32k RAM, 像测试一下能开多大的数组,但是用IAR编译的时候显示:
11 440 bytes of readonlycode memory
      40 bytes of readonlydata memory
74 121 bytes of readwrite data memory



RAM 74k多?怎么超过32k了?

然后看看他上限,直到编译出错。

unable to allocate space for sections/blocks with a total estimated minimum size of 0x20bec bytes (max align 0x8) in <> (total uncommitted space 0x14000).


一共有0X14000?80k左右?
不是说好的32k么?



creep 发表于 2017-4-14 13:46:23

是这样的,实际的比标称的多,flash好像也是会比标称的多。

潇潇雨歇pku 发表于 2017-4-14 14:41:05

居然有这么多的随机大礼包!

xmshao 发表于 2017-4-14 17:59:18

潇潇雨歇pku 发表于 2017-4-14 14:41
居然有这么多的随机大礼包!

没算钱的东西,敢用不?

小虾米-415231 发表于 2017-4-15 23:27:26

creep 发表于 2017-4-14 13:46
是这样的,实际的比标称的多,flash好像也是会比标称的多。

真的吗?这也大太多了吧,那这部分空间能用吗?

原田夜舞love 发表于 2017-4-16 23:37:31

不敢用:(
页: [1]
查看完整版本: STM32L151C8 RAM地址和手册里不一样