<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Can&amp;#039;t figure out where to put Azteeg Sanguino addons so they&amp;#039;re recognized by Arduino 1.6.12</title>
        <description> On OS X (10.12 Sierra) I&#039;m trying to get Marlin 1.1.0-RC7 to work for my Azteeg X1 board and I&#039;m getting the following error when I try to compile it:


In file included from sketch/pins_AZTEEG_X1.h:30:0,
                 from sketch/pins.h:87,
                 from sketch/MarlinConfig.h:33,
                 from ~/Documents/3D_printing/Sketchbooks/Marlin-1.1.0-RC7-Azteeg-Blue-MendelMax/Marlin-1.1.0-RC7-Azteeg-Blue-MendelMax.ino:37:
pins_SANGUINOLOLU_11.h:28: error: #error &quot;Oops!  Make sure you have &#039;Sanguino&#039; selected from the &#039;Tools -&amp;gt; Boards&#039; menu.&quot;
   #error &quot;Oops!  Make sure you have &#039;Sanguino&#039; selected from the &#039;Tools -&amp;gt; Boards&#039; menu.&quot;
    ^
exit status 1
#error &quot;Oops!  Make sure you have &#039;Sanguino&#039; selected from the &#039;Tools -&amp;gt; Boards&#039; menu.&quot;

However I do have that selected:



  

    
      
    

    

    

    
        
    

    

    

    
      XblWOvb.png
    

  

 



mod_embed_images_loadimage(&#039;5a0c8cbddf5dba4dc26325460a3add59&#039;, &#039;/forum/thumbcache/c93/8bb/d0e/902/f07/b0f/2a6/0ba/6a7/567/72_800x400.png&#039;, &#039;http://i.imgur.com/XblWOvb.png&#039;, &#039;https://reprap.org/forum/addon.php?146,module=embed_images,check_scaling=1,url=http%3A%2F%2Fi.imgur.com%2FXblWOvb.png&#039;, &#039;&#039;, 713469, 800, 400, &#039;Loading image ...&#039;, false);




Here&#039;s what I did:

1. Downloaded a zipball from the Marlin GitHub page at [github.com]

2. Edited configuration.h appropriately, selecting &quot;BOARD_AZTEEG_X1&quot; for the motherboard (#define MOTHERBOARD BOARD_AZTEEG_X1) 

3. Downloaded and installed Arduino 1.6.x, as directed by the sketch (Arduino 1.6.12 to be precise).

4. Opened the sketch in the Arduino IDE.

5. Downloaded the Sanguino addons using the instructions found here: [dustsreprap.blogspot.com]

6. Installed the Azteeg addons (http://reprap.org/wiki/File:Azteeg_x1_sang_patch.zip) at ~Library/Arduino15/packages/Sanguino

7. Selected &quot;Sanguino&quot; under Tools &amp;gt; Boards

8. Attempted to compile the sketch and got the error. I looked and here&#039;s the code that generates the error:


#if !defined(__AVR_ATmega644P__) &amp;amp;&amp;amp; !defined(__AVR_ATmega1284P__)
  #error &quot;Oops!  Make sure you have &#039;Sanguino&#039; selected from the &#039;Tools -&amp;gt; Boards&#039; menu.&quot;
#endif

So it looks like __AVR_ATmega644P__ and __AVR_ATmega1284P__ aren&#039;t defined somewhere. I can see definitions for those in the Azteeg addon that I placed at ~Library/Arduino15/packages/Sanguino, so it&#039;s likely I haven&#039;t put them in the right place. Does anybody know where those files go in Arduino 1.6.12? The wiki page (http://reprap.org/wiki/Azteeg_X1) is not especially helpful because it has instructions for an older Arduino version (Arduino 0023) that are correct, but that version isn&#039;t supported for the latest Marlin builds.</description>
        <link>https://reprap.org/forum/read.php?146,713469,713469#msg-713469</link>
        <lastBuildDate>Mon, 12 Oct 2026 05:07:06 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?146,713469,713641#msg-713641</guid>
            <title>Re: Can&#039;t figure out where to put Azteeg Sanguino addons so they&#039;re recognized by Arduino 1.6.12</title>
            <link>https://reprap.org/forum/read.php?146,713469,713641#msg-713641</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Dust</strong><br />
I just replicated your install without #6, got the same error. (missed something obvious) <br />
<br />
The issue is that you need to select the correct processor, you have a ATmega644 selected<br />
This is invalid, it needs to be a ATmega644p or ATmega1284p   <br />
<br />
(ATmega 1284P on v1.5, ATmega 644P on v1.0 on a Azteeg X1)</div></blockquote>
<br />
Ah, duh! I selected the correct processor and everything worked like clockwork. Thanks for your help.]]></description>
            <dc:creator>Pointedstick</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Thu, 13 Oct 2016 09:36:30 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?146,713469,713558#msg-713558</guid>
            <title>Re: Can&#039;t figure out where to put Azteeg Sanguino addons so they&#039;re recognized by Arduino 1.6.12</title>
            <link>https://reprap.org/forum/read.php?146,713469,713558#msg-713558</link>
            <description><![CDATA[ your part 6 is not compatible with arduino ide &gt; 1.0<br />
<br />
docs from the zip file<br />
<br />
"Sanguino Patch for Axteeg X1 v1.0 and v1.5<br />
<br />
This patch allows the Arduino IDE to recognize the Atmega644P and Atmega1284P used on the Azteeg X1 3D printer controller. It may also be used on Sanguinololu controllers.<br />
<br />
Installation.<br />
<br />
1. Download and install Arduino IDE 0022/0023(<u><b>will not work with Arduino 1.0 and above</b></u>) from this link.<br />
	[<a href="http://arduino.cc/en/Main/Software" target="_blank"  rel="nofollow">arduino.cc</a>]<br />
"<br />
I would start with a fresh ardunio install and dont do #6, its not needed (as far as I can tell)<br />
<br />
UPDATE:<br />
<br />
I just replicated your install without #6, got the same error. (missed something obvious) <br />
<br />
The issue is that you need to select the correct processor, you have a ATmega644 selected<br />
This is invalid, it needs to be a ATmega644p or ATmega1284p   <br />
<br />
(ATmega 1284P on v1.5, ATmega 644P on v1.0 on a Azteeg X1)]]></description>
            <dc:creator>Dust</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Thu, 13 Oct 2016 02:50:43 -0400</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?146,713469,713469#msg-713469</guid>
            <title>Can&#039;t figure out where to put Azteeg Sanguino addons so they&#039;re recognized by Arduino 1.6.12</title>
            <link>https://reprap.org/forum/read.php?146,713469,713469#msg-713469</link>
            <description><![CDATA[ On OS X (10.12 Sierra) I'm trying to get Marlin 1.1.0-RC7 to work for my Azteeg X1 board and I'm getting the following error when I try to compile it:<br />
<br />
<pre class="bbcode">
In file included from sketch/pins_AZTEEG_X1.h:30:0,
                 from sketch/pins.h:87,
                 from sketch/MarlinConfig.h:33,
                 from ~/Documents/3D_printing/Sketchbooks/Marlin-1.1.0-RC7-Azteeg-Blue-MendelMax/Marlin-1.1.0-RC7-Azteeg-Blue-MendelMax.ino:37:
pins_SANGUINOLOLU_11.h:28: error: #error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -&gt; Boards' menu."
   #error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -&gt; Boards' menu."
    ^
exit status 1
#error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -&gt; Boards' menu."</pre>
<br />
However I do have that selected:<br />
<br />
<div id="div_5a0c8cbddf5dba4dc26325460a3add59"
     class="mod_embed_images_extended"
     style="width:453px">

  

    
      
    

    <div id="imagediv_5a0c8cbddf5dba4dc26325460a3add59" class="mod_embed_images_image"
         style="width:453px; height:400px">

    

    <a href="http://i.imgur.com/XblWOvb.png">
        <img src="/forum/thumbcache/c93/8bb/d0e/902/f07/b0f/2a6/0ba/6a7/567/72_800x400.png"
             width="453"
             height="400"
             id="image_5a0c8cbddf5dba4dc26325460a3add59"
             alt="XblWOvb.png"
             title="XblWOvb.png"/>
    </a>

    

    </div>

    <div class="mod_embed_images_info " id="info_5a0c8cbddf5dba4dc26325460a3add59"
      style="display:block">
      <a id="link_5a0c8cbddf5dba4dc26325460a3add59" href="http://i.imgur.com/XblWOvb.png">XblWOvb.png</a>
    </div>

  

 </div>


<script type="text/javascript">
mod_embed_images_loadimage('5a0c8cbddf5dba4dc26325460a3add59', '/forum/thumbcache/c93/8bb/d0e/902/f07/b0f/2a6/0ba/6a7/567/72_800x400.png', 'http://i.imgur.com/XblWOvb.png', 'https://reprap.org/forum/addon.php?146,module=embed_images,check_scaling=1,url=http%3A%2F%2Fi.imgur.com%2FXblWOvb.png', '', 713469, 800, 400, 'Loading image ...', false);
</script>
<br />
<br />
<br />
Here's what I did:<br />
<br />
1. Downloaded a zipball from the Marlin GitHub page at [<a href="https://github.com/MarlinFirmware/Marlin" target="_blank"  rel="nofollow">github.com</a>]<br />
<br />
2. Edited configuration.h appropriately, selecting "BOARD_AZTEEG_X1" for the motherboard (#define MOTHERBOARD BOARD_AZTEEG_X1) <br />
<br />
3. Downloaded and installed Arduino 1.6.x, as directed by the sketch (Arduino 1.6.12 to be precise).<br />
<br />
4. Opened the sketch in the Arduino IDE.<br />
<br />
5. Downloaded the Sanguino addons using the instructions found here: [<a href="http://dustsreprap.blogspot.com/2015/06/better-way-to-install-sanguino-in.html" target="_blank"  rel="nofollow">dustsreprap.blogspot.com</a>]<br />
<br />
6. Installed the Azteeg addons (http://reprap.org/wiki/File:Azteeg_x1_sang_patch.zip) at ~Library/Arduino15/packages/Sanguino<br />
<br />
7. Selected "Sanguino" under Tools &gt; Boards<br />
<br />
8. Attempted to compile the sketch and got the error. I looked and here's the code that generates the error:<br />
<br />
<pre class="bbcode">
#if !defined(__AVR_ATmega644P__) &amp;&amp; !defined(__AVR_ATmega1284P__)
  #error "Oops!  Make sure you have 'Sanguino' selected from the 'Tools -&gt; Boards' menu."
#endif</pre>
<br />
So it looks like __AVR_ATmega644P__ and __AVR_ATmega1284P__ aren't defined somewhere. I can see definitions for those in the Azteeg addon that I placed at ~Library/Arduino15/packages/Sanguino, so it's likely I haven't put them in the right place. Does anybody know where those files go in Arduino 1.6.12? The wiki page (http://reprap.org/wiki/Azteeg_X1) is not especially helpful because it has instructions for an older Arduino version (Arduino 0023) that are correct, but that version isn't supported for the latest Marlin builds.<br/>]]></description>
            <dc:creator>Pointedstick</dc:creator>
            <category>Firmware - mainstream and related support</category>
            <pubDate>Wed, 12 Oct 2016 14:12:34 -0400</pubDate>
        </item>
    </channel>
</rss>
