New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on hw_timer.h #13
Comments
witch sketch example produce the error ? |
yes !!! I'm on windows envirment. contiki-arduino.a(arduino-process): In function NOTE: using the same contiki source i can compile successfully a contiki default format .c for Arduino Uno |
Please any one can help with this error !?
In file included from sketch.pde:15,
from sketch.cpp:2:
../../../../cpu/avr/hw_timer.h: In function 'int8_t hwtimer_ini(uint8_t, uint8_t, uint8_t, uint16_t)':
../../../../cpu/avr/hw_timer.h:233: error: 'TCCR3B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:233: error: 'TCCR4B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:233: error: 'TCCR5B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:235: error: 'TCCR3A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:235: error: 'TCCR4A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:235: error: 'TCCR5A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:250: error: 'ICR3' was not declared in this scope
../../../../cpu/avr/hw_timer.h:250: error: 'ICR4' was not declared in this scope
../../../../cpu/avr/hw_timer.h:250: error: 'ICR5' was not declared in this scope
../../../../cpu/avr/hw_timer.h:259: error: 'OCR3A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:259: error: 'OCR4A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:259: error: 'OCR5A' was not declared in this scope
../../../../cpu/avr/hw_timer.h: In function 'int32_t hwtimer_pwm_max_ticks(uint8_t)':
../../../../cpu/avr/hw_timer.h:392: error: 'TCCR3A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:392: error: 'TCCR4A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:392: error: 'TCCR5A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:393: error: 'TCCR3B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:393: error: 'TCCR4B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:393: error: 'TCCR5B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:409: error: 'OCR3A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:409: error: 'OCR4A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:409: error: 'OCR5A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:414: error: 'ICR3' was not declared in this scope
../../../../cpu/avr/hw_timer.h:414: error: 'ICR4' was not declared in this scope
../../../../cpu/avr/hw_timer.h:414: error: 'ICR5' was not declared in this scope
../../../../cpu/avr/hw_timer.h: In function 'int8_t hwtimer_set_pwm(uint8_t, uint8_t, uint16_t)':
../../../../cpu/avr/hw_timer.h:444: error: 'OCR3A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:444: error: 'OCR4A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:444: error: 'OCR5A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:444: error: 'OCR3B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:444: error: 'OCR4B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:444: error: 'OCR5B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:444: error: 'OCR1C' was not declared in this scope
../../../../cpu/avr/hw_timer.h:444: error: 'OCR3C' was not declared in this scope
../../../../cpu/avr/hw_timer.h:444: error: 'OCR4C' was not declared in this scope
../../../../cpu/avr/hw_timer.h:444: error: 'OCR5C' was not declared in this scope
../../../../cpu/avr/hw_timer.h: In function 'int8_t hwtimer_set_com(uint8_t, uint8_t, uint8_t)':
../../../../cpu/avr/hw_timer.h:465: error: 'TCCR3A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:465: error: 'TCCR4A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:465: error: 'TCCR5A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:467: error: 'TCCR3A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:467: error: 'TCCR4A' was not declared in this scope
../../../../cpu/avr/hw_timer.h:467: error: 'TCCR5A' was not declared in this scope
../../../../cpu/avr/hw_timer.h: In function 'int8_t hwtimer_fin(uint8_t)':
../../../../cpu/avr/hw_timer.h:517: error: 'TCCR3B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:517: error: 'TCCR4B' was not declared in this scope
../../../../cpu/avr/hw_timer.h:517: error: 'TCCR5B' was not declared in this scope
make: *** [obj_arduino/sketch.o] Error 1
The text was updated successfully, but these errors were encountered: