Forum Discussion
5 Replies
- Altera_Forum
Honored Contributor
Because the file doesn't exist. I don't think that stdtypes.h is a standard include file. Why do you need it?
- Altera_Forum
Honored Contributor
because i saw it for hal example for writing to flash
- Altera_Forum
Honored Contributor
Hmmm, can you show us where you saw that?
Jake - Altera_Forum
Honored Contributor
www.altera.com/literature/hb/nios2/n2sw_nii52004.pdf
1 Do not edit system.h. The Nios II EDS provides tools to manipulate system settings. ......# include "stdtypes.h".# include "system.h"#define BUF_SIZE 100 ... - Altera_Forum
Honored Contributor
That looks like a documentation typo/bug. '#define BUF_SIZE 100' should also be on a separate line.
I think the memory test example makes use of this "fine grained" API and if not that particular example then either the application selector or the examples included with AN-429 do. Cheers, - slacker