davidramiro / Marlin-Ai3M

🖨 Marlin firmware optimized for the Anycubic i3 Mega 3D printer
GNU General Public License v3.0
521 stars 186 forks source link

[BUG] fastio.h:84:32: error: 'DIO31_RPORT' was not declared in this scope #123

Closed Brian-Zombait closed 2 years ago

Brian-Zombait commented 2 years ago

When attempting to compile, following the directions, I received the error in the subject :fastio.h:84:32: error: 'DIO31_RPORT' was not declared in this scope" In actuality, there are many such errors. They include various ports and pins under DIO31 I cannot find anything to help me figure out how to correct this. I downloaded and installed (from Windows Store v 1.8.51.0) Arduino v 1.8.16 I downloaded and used the code from here. The only change I made was as indicated for MEGA S for the extruder. Log file included.

Help would be greatly appreciated. Even if simply directing me to a reddit sub. MEGA_S-Marlin_Compile_Log.txt

fgiudice98 commented 2 years ago

You are compiling for the Arduino Uno, you need to select the Mega 2560 board with ATmega2560 processor