Hi, I investigated a little bit more and included the definition of UBRR_VALUE into my code-file. It seems that the preprocessor of gas doesn't handle the UL suffix correct.
#define UBRR_VALUE ((((F_CPU) + (8 * (BAUD)))/ (16 * (BAUD))) -1) works, while #define UBRR_VALUE ((((F_CPU) + (8UL * (BAUD))) /(16UL * (BAUD))) -1UL) yields a lot of " Error: missing ')'" messages. can anyone verify that? Should I file a bug report for gas? best regards, Daniel
signature.asc
Description: OpenPGP digital signature
_______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
