Recommended GNU Tool Chain Versions
Martin Molina <[email protected]> Sun, 14 Jun 2015 17:31:15 -0400
| Newsgroups | gmane.comp.science.openeeg.general |
|---|---|
| Message-ID | <CAEZrPwr+2rz+Gu+o+r74vZjBWqkg_J92RHHakECWJERZGhyNBQ@mail.gmail.com> |
Firmware v0.5.5-p3 compiles in AVR-GCC 4.8.1 (AVR 8-Bit GNU Toolchain 3.4.5_1822) with the following modifications: Replace "SIG_OVERFLOW0" with "TIMER0_OVF_vect" Replace "SIG_ADC" with "ADC_vect" Replace "SIG_UART_DATA" with "USART_UDRE_vect" Add the deprecated macros for outp, outb, BV, inp, cbi, and sbi posted by Joerg in the "Firmware compile problem solved" thread. The only other modification needed to pass the tone test was to set the low fuse for a high frequency external crystal: >> sudo avrdude -p m8 -c sp12 -U lfuse:w:0xEF:m That's it. Note: Do not replace "SIGNAL()" with "ISR()", even though it is suggested in the compiler docs, as this requires additional changes not accounted for. MartÃn A Molina ------------------------------------------------------------------------------