Forum Discussion
Altera_Forum
Honored Contributor
20 years agoAny "I/O variables" should be qualified as volatile
so : volatile alt_u8 * UartTxAdr This prevents the optimiser from tuning the code out (because it will detect that nothing is "reading" the location).