Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/28/11 16:41
Read: times


 
#180883 - Workaround
Responding to: ???'s previous message
After some suggestions from Jan, and then some other work to get the syntax for SDCC's variable attributes (which conflicted with the preprocessor I was using), I managed to get a workaround functioning -- Thanks!

Instead of using (* (uint8_t __xdata *)0xDF53, which appears to cause some error, I declared a variable with

volatile __xdata __at (0xDF53) uint8_t RXFIFOCNT;

Now it compiles without error.

List of 7 messages in thread
TopicAuthorDate
SDCC validateLink failed            01/01/70 00:00      
   Looks Like...            01/01/70 00:00      
   please post code            01/01/70 00:00      
      minimal example            01/01/70 00:00      
         if you trust me enough...            01/01/70 00:00      
            This is more probably a bug in SDCC            01/01/70 00:00      
   Workaround            01/01/70 00:00      

Back to Subject List