Altera_Forum
Honored Contributor
20 years ago".rodata" question
Hello,
I am trying to store an image with my source code for a LCD & FPD application. I have an embedded include file that has my image stored as: const alt_u8 __attribute__ ((aligned(4))) main_frame_buffer[] = {} I can see everything as it should be with the nios-console as far as ordering of data. However, when I look at the OBJ code, I see instead of my constant above main_fame_buffer inserted into “.rodata” I see __flash_rodata_start inserted. So sometimes __flash_rodata_start is inserted , like for my FPD example, but for my VGA I get what I expect with main_frame_buffer used in the OBJ DASM of “.rodata”. Why is __flash_rodata_start sometimes inserted? Thanks for any tips or thoughts, -Baycool