Closed freiform closed 4 years ago
I'm getting an error with the M200 build as well, but in my case it may have something to do with the platform.ino file:
Configuration.txt Configuration.zip
[platformio] src_dir = Marlin boards_dir = buildroot/share/PlatformIO/boards default_envs = STM32F103CB_malyan
I'm trying to compile for a Malyan M300/Monoprice Mini Delta - which uses a board similar to the MP Mini Select/Malyan M200 however I'm getting an error when compiling:
C:\users[USERNAME].platformio\packages\framework-arduinoststm32-maple\STM32F1\cores\maple\HardwareTimer.cpp:32:10: fatal error: board/board.h: No such file or directory
Putting an empty implementation of ExtUI::OnPidTuning(ExtUI::result_t)
into `extui_malayan_lcd.cpp fixes the error and the build runs though. Whether or not this is feasible, I do not know.
With the empty implementetion it builds, but doesn't run. The printer is continuously resetting. It seems Marlin is broken for the M200.
This may now be working. Please test the latest version.
arduino-builder now throws error 137 (that I cannot find any information on) and exits.
Try deleting all the HAL sub-folders except for the STM32F1
and shared
folders to eliminate any issues with over-long command lines. This will also speed up the build.
We're also looking at getting Malyan M200 v1 and v2 building properly within PlatformIO over at https://community.platformio.org/t/marlin-compile-fail-board-board-h-no-such-file-or-directory/11843/12 and that will be the better option going forward once it's working….
Discussion can continue at MarlinFirmware/Marlin#17352
I get the follwing error when trying to build for the Malayan 200, following https://github.com/MarlinFirmware/Configurations/tree/bugfix-2.0.x/config/examples/Malyan/M200 to the letter. This happens with bugfix-2.0.x as well as with 2.0.x.