Forum Discussion
Altera_Forum
Honored Contributor
9 years agoin one of my project, when i finish building the eclipse projec, it shows:
Info: (test1.elf) 70 KBytes program size (code + initialized data). Info: 8121 KBytes free for stack + heap. there are no errors but when i make targets in eclipse, the following error shows: 2016-1-12 16:04:47 - (警告) elf2flash: ELF file will not fit in flash. No flash file created so the project may be not fit even if eclipse builds without error, i just want to know the max size of the test1.elf program size BTW: is there any altera files discuss this problem? thanks! --- Quote Start --- I don't remember what ICB stands for, but it essentially the interrupt and exception vectors for the NIOS processor. The configuration memory has some headers etc that account for the difference between 0x395f8 and 0x3F68F. You really don't need to worry about the static size of your program. If it builds without error it will fit. Heap and stack use depend on what you do in your code at runtime. --- Quote End ---