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 agoThanks for the tip, I was able to reduce the code size from 11k to 7180 using -Os. That should work.