user69964: There's no end to my frustration trying to figure out how the arduino build system works -- despite my best efforts I just can't seem to grok it. Anyhow, I did this:
ALTERNATE_CORE_PATH=/path/to/MightyCore/avr
BOARD_TAG=324
...

make show_boards shows me several boards available, including 324. Yet whenever I try to build my project, I get this error:
avr-g++: error: missing device or architecture after ‘-mmcu=’

Can someone point me in the right direction?
Thanks.

user69964: Resolved with the following Makefile options:
BOARD_TAG=324
MCU=atmega324a
VARIANT=standard


69964: <p>There's no end to my frustration trying to figure out how the arduino build system works -- despite my best efforts I just can't seem to grok it. Anyhow, I did this:</p>
<pre><code>ALTERNATE_CORE_PATH=/path/to/MightyCore/avr
BOARD_TAG=324
...
</code></pre>
<p><code>make show_boards</code> shows me several boards available, including <code>324</code>. Yet whenever I try to build my project, I get this error:</p>
<pre><code>avr-g++: error: missing device or architecture after ‘-mmcu=’
</code></pre>
<p>Can someone point me in the right direction?</p>
<p>Thanks.</p>
 69964: <p>Resolved with the following Makefile options:</p>
<pre><code>BOARD_TAG=324
MCU=atmega324a
VARIANT=standard
</code></pre>
