Problem:
When compiling Marlin for simulation, you see an error message like
Error: Build environment 'linux_native' is incompatible with BOARD_RAMPS_14_EFB. Use one of these: mega2560, mega1280
Solution:
Open Marlin/Configuration.h
and change the line
#ifndef MOTHERBOARD #define MOTHERBOARD BOARD_RAMPS_14_EFB #endif
to use the BOARD_LINUX_RAMPS
board:
// Choose the name from boards.h that matches your setup #ifndef MOTHERBOARD #define MOTHERBOARD BOARD_LINUX_RAMPS #endif
Even if the error message shows that you should use mega2560
or mega1280
, you need to use BOARD_LINUX_RAMPS
!