-1

Arduino Unoを使用してコードを ATtiny 2313にアップロードしようとすると、エラーが発生します。

In file included from /usr/lib/gcc/avr/4.7.2/../../../avr/include/util/delay.h:44:0,
                 from /usr/lib/gcc/avr/4.7.2/../../../avr/include/avr/delay.h:37,
                 from /usr/share/arduino/hardware/tiny/cores/tiny/wiring_private.h:32,
                 from /usr/share/arduino/hardware/tiny/cores/tiny/WInterrupts.c:37:
/usr/lib/gcc/avr/4.7.2/../../../avr/include/math.h:426:15: error: expected identifier or ‘(’ before ‘double’
/usr/lib/gcc/avr/4.7.2/../../../avr/include/math.h:426:15: error: expected ‘)’ before ‘>=’ token

白紙のスケッチでも。

プラットホーム:

  • IDE バージョン: 1.03
  • アルドゥイーノ R3
  • OS: Ubuntu 13.04 (Raring Ringtail)

この問題を解決するにはどうすればよいですか?

4

1 に答える 1