-
GD32F407ZGT6硬件引脚可以完全替代STM32F407ZGT6吗?
以前项目的板子用的STM32F407ZGT6,现在要求主控芯片必须国产化,想直接替换成GD32F407ZGT6,不改变原先的外围电路,请问大佬们有尝试过的嘛,可以的话那就太省事了,我先给大家鞠个躬吧!!![img]https://bbs.21ic.com/static/image/smiley/comcom/3.gif[/img][img]https://bbs.21ic.com/static/image/smiley/comcom/3.gif[/img][img]https://bbs.21ic.com/static/image/smiley/comcom/3.gif[/img]
2866浏览量 49回复量 关注量 -
请问 STM32F407ZGT6 内存大小的问题
型号:[color=#f00000][b]STM32F407ZGT6[/b][/color], Heap_Size EQU 0x00000700 可以编译通过,Heap_Size EQU 0x00000800 就出错了? [color=#0000f0] [/color] [color=#0000f0]int main(void)[/color] [color=#0000f0]{ [/color] [color=#0000f0] char* p1 = (char*) malloc(1024);[/color] [color=#0000f0] [/color] [color=#0000f0] if(p1==NULL)[/color] [color=#0000f0] {[/color] [color=#0000f0] char a;[/color] [color=#0000f0] a='a';[/color] [color=#0000f0] }[/color] [color=#0000f0]}[/color] [color=#f00000]Error: L6406E: No space in execution regions with .ANY selector matching system_stm32f4xx.o(.data).[/color] 请问是什么原因啊。 [color=#f00000]Stack_Size EQU 0x00000400[/color] AREA STACK, NOINIT, READWRITE, ALIGN=3 Stack_Mem SPACE Stack_Size __initial_sp ;
Heap Configuration ; [color=#f00000]Heap_Size EQU 0x00000800[/color] AREA HEAP, NOINIT, READWRITE, ALIGN=3 __heap_base Heap_Mem SPACE Heap_Size __heap_limit PRESERVE8 THUMBHeap Size (in Bytes) <0x0-0xFFFFFFFF:8> ; 4684浏览量 20回复量 关注量