2020-07-21 08:16 AM
I am trying to follow "How to create project for STM32H7 with Ethernet and LwIP stack working" posted on May 29, 2020 however I am getting an error undefined reference to end. When I double click the error it points to sysmem.c
Not being an embedded guy, I isolated the code section that is causing or contributing to the build error as:
. = ABSOLUTE(0x30040000);
*(.RxDecripSection)
. = ABSOLUTE(0x30040060);
*(.TxDecripSection)
. = ABSOLUTE(0x30040200);
*(.RxArraySection)
I made all the changes in the project except, the flash.id original code snip; the program builds OK but, does not work.
However, when I make all changes, these are the code images showing built errors:
__bss_start__ = _sbss;
*(.bss)
*(.bss*)
*(COMMON)
. = ALIGN(4);
_ebss = .; /* define a global symbol at bss end */
__bss_end__ = _ebss;
} >RAM_D1
/* Modification start */
.lwip_sec (NOLOAD) : {
. = ABSOLUTE(0x30040000);
*(.RxDecripSection)
. = ABSOLUTE(0x30040060);
*(.TxDecripSection)
. = ABSOLUTE(0x30040200);
*(.RxArraySection)
} >RAM_D2
/* Remove information from the compiler libraries */
/DISCARD/ :
{
libc.a ( * )
libm.a ( * )
libgcc.a ( * )
}
.ARM.attributes 0 : { *(.ARM.attributes) }
}
Thanks for your help in advance!
Delton
Updated with project files.