Closed drashna closed 3 years ago
Also errors on timers.
Compiling:
tmk_core/common/avr/timer.c tmk_core/common/avr/timer.c: In function ‘timer_init’:
tmk_core/common/avr/timer.c:52:5: error: ‘TCCR0A’ undeclared (first use in this function)
TCCR0A = 0x02;
^
tmk_core/common/avr/timer.c:52:5: note: each undeclared identifier is reported only once for each function it appears intmk_core/common/avr/timer.c:54:5: error: ‘TCCR0B’ undeclared (first use in this function)
TCCR0B = prescaler;
^
tmk_core/common/avr/timer.c:56:5: error: ‘OCR0A’ undeclared (first use in this function)
OCR0A = TIMER_RAW_TOP;
^
tmk_core/common/avr/timer.c:57:5: error: ‘TIMSK0’ undeclared (first use in this function)
TIMSK0 = (1<<OCIE0A);
^
tmk_core/common/avr/timer.c:57:18: error: ‘OCIE0A’ undeclared (first use in this function)
TIMSK0 = (1<<OCIE0A);
^
In file included from tmk_core/common/avr/timer.c:19:0:
tmk_core/common/avr/timer.c: In function ‘TIMER0_COMPA_vect’:
tmk_core/common/avr/timer.c:145:32: error: ‘TIMER0_COMPA_vect’ appears to be a misspelled interrupt handler, missing __vector prefix [-Werror=misspelled-isr]
^
tmk_core/common/avr/timer.c:149:5: note: in expansion of macro ‘TIMER_INTERRUPT_VECTOR’ ISR(TIMER_INTERRUPT_VECTOR, ISR_NOBLOCK) ^ cc1: all warnings being treated as errors [ERRORS] |
---|
` |
This issue has been automatically marked as resolved because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs.
Can I use this atxmega32a4u in QMK now ?
https://www.reddit.com/r/olkb/comments/9sz2of/qmk_xmega_support/
The ARCH, F_CPU and F_USB values have to be changed to get this to start compiling, but it errors out on the suspend stuff.
It looks like there is a lot of changes here to support the AVR XMEGA MCUs.