问答

汇集网友智慧,解决技术难题

gisapple

TA的家园币:23  

  • 请问 STM32F407ZGT6 内存大小的问题

    型号:STM32F407ZGT6,Heap_SizeEQU0x00000700可以编译通过,Heap_SizeEQU0x00000800就出错了?intmain(void){char*p1=(char*)malloc(1024);if(p1==NULL){chara;a='a';}}Error:L6406E:Nospaceinexecutionregionswith.ANYselectormatchingsystem_stm32f4xx.o(.data).请问是什么原因啊。Stack_SizeEQU0x00000400AREASTACK,NOINIT,READWRITE,ALIGN=3Stack_MemSPACEStack_Size__initial_sp;HeapConfiguration;HeapSize(inBytes);Heap_SizeEQU0x00000800AREAHEAP,NOINIT,READWRITE,ALIGN=3__heap_baseHeap_MemSPACEHeap_Size__heap_limitPRESERVE8THUMB

    stm32f407zgt6 内存 AC Stack TE

    2021-02-22 20