{"id":3211,"date":"2010-10-28T23:00:31","date_gmt":"2010-10-29T04:00:31","guid":{"rendered":"http:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/"},"modified":"2012-01-14T01:06:06","modified_gmt":"2012-01-14T07:06:06","slug":"avr-toolchain-installation","status":"publish","type":"page","link":"https:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/","title":{"rendered":"AVR Toolchain Installation"},"content":{"rendered":"<p><a href=\"http:\/\/www.cornfieldelectronics.com\">Mitch Altman<\/a> and I are in the process of writing a book about Making Cool Things with Microcontrollers (for people who know nothing.)<\/p>\n<p>The book features several DIY projects that use\u00a0<a href=\"http:\/\/atmel.com\/products\/avr\/default.asp?family_id=607&amp;source=home\">AVR<\/a> microcontrollers. \u00a0We&#8217;re aiming to teach absolute beginners how to solder, basic electronics, and the process of turning a cool idea into reality by using microcontrollers.<\/p>\n<p>I wrote these instructions about setting up a working avr-gcc environment in Windows, Mac OS X, or Linux. \u00a0Mitch and I felt that they could use some beta testing in the real world before bring included in the book, so we decided to make them available here. \u00a0We also felt that they might help some people get started with AVRs before the book is available.<\/p>\n<p>We want to make the process of writing and compiling code for the AVR simple and accessible, so we&#8217;re not using any fancy IDEs (eg. no\u00a0<a href=\"http:\/\/www.atmel.com\/dyn\/products\/tools_card.asp?tool_id=2725\">AVR Studio<\/a>). \u00a0We also wanted to use the same software on all three operating systems, so Windows-only tools were out. \u00a0Instead, we&#8217;re using avr-gcc, the compiler behind WinAVR, CrossPack, and Arduino.<\/p>\n<p>I would appreciate any feedback on these instructions.<\/p>\n<p>Here they are:<\/p>\n<p><a href=\"http:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/windows\">Windows<\/a><\/p>\n<p><a href=\"http:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/mac-os-x\">Mac OS X<\/a><\/p>\n<p><a href=\"http:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/linux\">Linux<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mitch Altman and I are in the process of writing a book about Making Cool Things with Microcontrollers (for people who know nothing.) The book features several DIY projects that use\u00a0AVR microcontrollers. \u00a0We&#8217;re aiming to teach absolute beginners how to solder, basic electronics, and the process of turning a cool idea into reality by using &hellip; <a href=\"https:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">AVR Toolchain Installation<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":3209,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3211","page","type-page","status-publish","hentry"],"jetpack_shortlink":"https:\/\/wp.me\/PioCd-PN","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":3237,"url":"https:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/mac-os-x\/","url_meta":{"origin":3211,"position":0},"title":"Mac OS X","author":"Jeff","date":"October 28, 2010","format":false,"excerpt":"Mitch Altman and I are in the process of writing a book about Making Cool Things with Microcontrollers (for people who know nothing.) The book features several DIY projects that use\u00a0AVR microcontrollers. \u00a0We\u2019re aiming to teach absolute beginners how to solder, basic electronics, and the process of turning a cool\u2026","rel":"","context":"With 4 comments","block_context":{"text":"With 4 comments","link":"https:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/mac-os-x\/#comments"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2010\/10\/osx_crosspack_website-500x379.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3212,"url":"https:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/linux\/","url_meta":{"origin":3211,"position":1},"title":"Linux","author":"Jeff","date":"October 28, 2010","format":false,"excerpt":"Mitch Altman and I are in the process of writing a book about Making Cool Things with Microcontrollers (for people who know nothing.) The book features several DIY projects that use\u00a0AVR microcontrollers. \u00a0We\u2019re aiming to teach absolute beginners how to solder, basic electronics, and the process of turning a cool\u2026","rel":"","context":"With 4 comments","block_context":{"text":"With 4 comments","link":"https:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/linux\/#comments"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2010\/10\/ubuntu3_apt-get_sudo_crop-500x354.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3259,"url":"https:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/windows\/","url_meta":{"origin":3211,"position":2},"title":"Windows","author":"Jeff","date":"October 28, 2010","format":false,"excerpt":"Mitch Altman and I are in the process of writing a book about Making Cool Things with Microcontrollers (for people who know nothing.) The book features several DIY projects that use\u00a0AVR microcontrollers. \u00a0We\u2019re aiming to teach absolute beginners how to solder, basic electronics, and the process of turning a cool\u2026","rel":"","context":"With 3 comments","block_context":{"text":"With 3 comments","link":"https:\/\/mightyohm.com\/blog\/tutorials\/avr-toolchain-installation\/windows\/#comments"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2010\/10\/winavr-500x336.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1473,"url":"https:\/\/mightyohm.com\/blog\/products\/avr-hv-rescue-shield\/","url_meta":{"origin":3211,"position":3},"title":"AVR HV Rescue Shield (Obsolete)","author":"Jeff","date":"March 10, 2009","format":false,"excerpt":"Introducing the AVR HV Rescue Shield The AVR HV Rescue Shield is a high voltage parallel mode fuse programmer for Atmel AVR microcontrollers. It currently supports the ATmega48\/88\/168\/328P series and the ATtiny2313.\u00a0 The Rescue Shield is based on my Arduino-based AVR High Voltage Programmer, but with several new features and\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"AVR HV Rescue Shield with ATmega168 target ","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2009\/03\/rescue-shield-with-atmega2_scaled-500x375.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1453,"url":"https:\/\/mightyohm.com\/blog\/products\/","url_meta":{"origin":3211,"position":4},"title":"Products","author":"Jeff","date":"March 10, 2009","format":false,"excerpt":"Geiger Counter An open source Geiger Counter kit with logging capabilities. AVR HV Rescue Shield 2 New and improved fuse programming shield for Atmel AVR microcontrollers.","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mightyohm.com\/blog\/wp-content\/uploads\/2009\/03\/geiger_thumb.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3421,"url":"https:\/\/mightyohm.com\/blog\/products\/hv-rescue-shield-2-x\/","url_meta":{"origin":3211,"position":5},"title":"HV Rescue Shield 2","author":"Jeff","date":"December 13, 2010","format":false,"excerpt":"Introducing the AVR HV Rescue Shield 2 The HV Rescue Shield 2 is a high voltage parallel mode fuse programmer for Atmel AVR microcontrollers. It currently supports a wide variety of AVR chips, including the 28-pin ATmega48\/88\/168\/328 series, the 20-pin ATtiny2313, and many 8-pin ATtiny devices (such as the ATtiny25\/45\/85\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"HV Rescue Shield 2.1","src":"https:\/\/i0.wp.com\/mightyohm.com\/files\/hvrescue21\/images\/5418114324_df1976bef0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/pages\/3211","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/comments?post=3211"}],"version-history":[{"count":12,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/pages\/3211\/revisions"}],"predecessor-version":[{"id":4572,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/pages\/3211\/revisions\/4572"}],"up":[{"embeddable":true,"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/pages\/3209"}],"wp:attachment":[{"href":"https:\/\/mightyohm.com\/blog\/wp-json\/wp\/v2\/media?parent=3211"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}