Forum Discussion
Altera_Forum
Honored Contributor
19 years agoPlease try the following.
<span style="font-family:Courier">// in declaration file cyg_uint8 gr_data_written[5] = {1,2,3,4,5}; cyg_uint8 *pData = gr_data_written; // initialize the pointer //--- // in this other file extern cyg_uint8 gr_data_written[]; // good extern cyg_uint8 *pData ; // good </span> Good luck! Garland