Closed yunline closed 1 year ago
代码中,ram的大小是4k bytes https://github.com/IOsetting/hk32f030m-template/blob/fb51f2176255042ec50b8f48c79d5b3d0719f096/Libraries/LDScripts/hk32f030mf4p6.ld#L30-L35
然而根据手册,sram的大小是2k bytes
是错误吗?
手册2KB, 实测4KB, 已经被多次验证. http://nerdralph.blogspot.com/2021/01/trying-to-test-ten-cent-tiny-arm-m0-mcu.html https://www.eevblog.com/forum/microcontrollers/$0-25-hk32f030m-(cortex-m0-32mhz-16kb-2kb)/
感谢大佬的回答。 感谢大自然馈赠的内存。
代码中,ram的大小是4k bytes https://github.com/IOsetting/hk32f030m-template/blob/fb51f2176255042ec50b8f48c79d5b3d0719f096/Libraries/LDScripts/hk32f030mf4p6.ld#L30-L35
然而根据手册,sram的大小是2k bytes
是错误吗?