카테고리 없음

Program Arduino with AVR-GCC

Ronie.Kang 2011. 9. 5. 13:11


이 페이지는 Arduino IDE를 사용하지 않고  AVR-GCC toolchain을 이용하여 직접 C에서 AVR 프로그래밍을 하는 것을 보여주는 기사이다.  여기서는 bootLoader 및 setup fuse bits를 설정하는 것 까지 다룰 것이다.

아래 링크 참조.

http://www.javiervalcarce.eu/wiki/Program_Arduino_with_AVR-GCC


아무래도 Arduino를 위한 IDE를 사용하지 않고  C로만 빌드하는게, 일반 프로그래머 들에게는 더 욱 친숙한 환경이다.

Javier Valcarce's Personal Website에서 직접 C를 이용 할때 의장점을 아래와 같이 말하고 있다.

  • C lets a more accurate time and execution control. No hidden code, "What You Type Is What Is Executed" (tm)
  • C lets simple and direct access to hardware and interrupts
  • C lets you make ports to other MCUs apart than Arduino (ATmega168)

Port 번호는 가지고 있는 보드별로 다르기 때문에 data sheet를 참고 할 것.