MKFirmware / MK4duo

MK4duo Firmware Printers 3D for Arduino and Arduino due
http://www.marlinkimbra.it
GNU General Public License v3.0
206 stars 118 forks source link

Arduino due board issue #810

Closed hoodaxd closed 4 years ago

hoodaxd commented 4 years ago

Issue description

I am selecting Arduino due (Native USB Port ) and it gives me compile error it want me to select arduino mega

Compile errors

In file included from sketch\src/conditionals/conditionals_pins.h:26:0,

             from sketch\MK4duo.h:100,

             from C:\Users\utd\Downloads\Compressed\MK4duo-master\MK4duo-master\MK4duo\MK4duo.ino:359:

sketch\src/conditionals/../boards/33.h:9:4: error: #error "Oops! Select 'Arduino Mega' in 'Tools > Board.'"

error "Oops! Select 'Arduino Mega' in 'Tools > Board.'"

^

exit status 1 Error compiling for board Arduino Due (Native USB Port).

Firmware version

iam using the last version

My setup

i used the guide for arduino due https://github.com/MKFirmware/MK4duo/blob/master/Documentation/Compilation.md

MagoKimbra commented 4 years ago

Because the ramps 1.3 need arduino mega, not arduino due...

hoodaxd commented 4 years ago

i am making 3d printer using arduino due what should i use ?

MagoKimbra commented 4 years ago

Board for Arduino due... /**

hoodaxd commented 4 years ago

you mean that in my Board.h should be like this : or can u tell me how my Board.h be like cuz my edit is not right

/**

// Macros for board type

define BOARD_UNKNOWN -1

define MB(board) (MOTHERBOARD==BOARD_##board)

/**

/**

/**

/**

/**

/**

/**

/**

/**

/**

/**

MagoKimbra commented 4 years ago

You don't have to touch board.h, the type of board must be done in configuration_basic.h

define MOTHERBOARD BOARD_RAMPS_13_HFB

Here you have to put the board you are using between those for Arduino due.

hoodaxd commented 4 years ago

i changed

define MOTHERBOARD BOARD_RAMPS_13_HFB

define MOTHERBOARD BOARD_PICCOLO_3D

now there is no error ty for help

MagoKimbra commented 4 years ago

But can you know what card you have ???