Forum Discussion
Altera_Forum
Honored Contributor
15 years agowhere do I define ALT_USE_CFI_FLASH
I am trying to enable writing to flash, but alt_flash_open_dev(CFI_FLASH_NAME) is returning NULL due to the following line of code# if (!defined(ALT_EXCLUDE_CFI_FLASH) && ((!defined(ALT_USE_SMALL_DRI...
Altera_Forum
Honored Contributor
15 years agoI found it, in 9.1sp2 it is:
properties->nios ii bsp properties. There is a field called defined symbols. I just added "-DALT_USE_CFI_FLASH" The code size is still 9K larger, which I find odd. I guess I will have to have more memory allocated. John