makerbase-mks / MKS-Robin

MKS Robin is a powerful 32-bit 3D printer control board with STM32F103ZET6 . Support Marlin2.0. Support MKS Robin TFT24/28/32... Screens. The motherboard integrates 5 AXIS interface, hot bed, 2 heating heads, 3 NTC100K, 2 MAX31855.Support MKS Robin WIFI for cloud printing.Supports firmware update by SD card…
https://es.aliexpress.com/item/32757129463.html?spm=a219c.12010612.8148356.9.5fc165f4oDUfFM
128 stars 129 forks source link

Did not compile MKS-Robin firmware in VS-CODE (version 1.45.1) PlatformIO #177

Open patelmontu opened 4 years ago

patelmontu commented 4 years ago

Error massage { "resource": "/d:/mksrobin/MKS-Robin-master/MKS Robin/firmware/Marlin2.0-MKS-Robin/.vscode/c_cpp_properties.json", "owner": "d:\mksrobin\MKS-Robin-master\MKS Robin\firmware\Marlin2.0-MKS-Robin", "severity": 4, "message": "Cannot find \"d:\mksrobin\MKS-Robin-master\MKS Robin\firmware\Marlin2.0-MKS-Robin\include\".", "startLineNumber": 65, "startColumn": 21, "endLineNumber": 65, "endColumn": 98 }

makerbase-mks commented 4 years ago

Usually, compile board firmware, you need set it,like this(Robin as a example):

  1. Set your board type and in configuration.h file
  2. Set #define SERIAL_PORT -1
  3. Build your firmware
patelmontu commented 4 years ago

I just download the the firmware from here ([https://github.com/makerbase-mks/MKS-Robin]) and extract it, And open the vscode and install PlatformIo and click on import arduino project and select the board STM32F103ZE and select the folder MKS Robin>firmware>Marlin2.0-MKS-Robin from extracted folder, and i just click on Build but it shows the error

{ "resource": "/d:/mksrobin/Marlin_Firmware/.vscode/c_cpp_properties.json", "owner": "d:\mksrobin\Marlin_Firmware", "severity": 4, "message": "Cannot find \"d:\mksrobin\Marlin_Firmware\include\".", "startLineNumber": 9, "startColumn": 17, "endLineNumber": 9, "endColumn": 54 }

PFA Screenshot of error massage Annotation 2020-06-27 124941

3Dangel commented 4 years ago

You should not import the file, instead you need to open the folder where your FW is located. Check YT how to Mks Sbase, it is the same way. Also, the MKS has its own FW compiler that might be easier to use. Cheers

On Sat, Jun 27, 2020 at 01:43 Mayank Patel notifications@github.com wrote:

I just download the the firmware from here ([ https://github.com/makerbase-mks/MKS-Robin]) and extract it, And open the vscode and install PlatformIo and click on import arduino project and select the board STM32F103ZE and select the folder MKS Robin>firmware>Marlin2.0-MKS-Robin from extracted folder, and i just click on Build but it shows the error

{ "resource": "/d:/mksrobin/Marlin_Firmware/.vscode/c_cpp_properties.json", "owner": "d:\mksrobin\Marlin_Firmware", "severity": 4, "message": "Cannot find "d:\mksrobin\Marlin_Firmware\include".", "startLineNumber": 9, "startColumn": 17, "endLineNumber": 9, "endColumn": 54 }

PFA Screenshot of error massage [image: Annotation 2020-06-27 124941] https://user-images.githubusercontent.com/47559433/85917076-b3c57200-b874-11ea-8d3e-846746b60ab6.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/makerbase-mks/MKS-Robin/issues/177#issuecomment-650516653, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFYWWXPIBZQWSERQAYIPBBDRYWPIRANCNFSM4N2ISSWA .