Giter Site home page Giter Site logo

marlinfirmware / autobuildmarlin Goto Github PK

View Code? Open in Web Editor NEW
255.0 19.0 55.0 494 KB

Visual Studio Code extension to more easily build Marlin Firmware

License: GNU General Public License v3.0

JavaScript 85.68% CSS 10.79% HTML 3.53%
marlin-firmware platformio 3d-printing visual-studio-code arduino

autobuildmarlin's People

Contributors

dependabot[bot] avatar gmagician avatar joakimbo avatar non-bin avatar sbaeder avatar thinkyhead avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autobuildmarlin's Issues

[FR] Real configuration parsing

If you use MOTHERBOARD #if ENABLED() - AutoBuild FAILS TO SWITCH BOARDS - FYI, this is used in your supplied code for the Ender 5 (in configuration.h)

// ------------------------------------
// Choose the name from boards.h that matches your setup
#ifndef MOTHERBOARD
  #if ENABLED(SKR_14_Turbo)
    #define MOTHERBOARD BOARD_BTT_SKR_V1_4_TURBO
  #else
    #define MOTHERBOARD BOARD_MELZI_CREALITY
  #endif
#endif
// ------------------------------------

dfu-util command -d device not correct

Symptom:
No DFU capable USB device available
*** [upload] Error 74

Workaround:

• Give the upload command, which will fail, copy the command, add the -v switch and reissue the command
• Find the "dfu-util" command
• Remove the device switch -d remove everything until the -a switch and add the -w switch at the end
• Original command: dfu-util.exe -d 0x0483:0xdf11,0x1EAF:0x0003,0x0483:0x3748 -a 0 -s 0x08000000:leave -D "C:\Projects\Lumen\Marlin-bugfix-2.0.x\.pio\build\Index_Mobo_Rev03\firmware.bin"
• Changed command: dfu-util.exe -a 0 -s 0x08000000:leave -D "C:\Projects\Lumen\Marlin-bugfix-2.0.x\.pio\build\Index_Mobo_Rev03\firmware.bin"  -w
• Now auto build will wait until the driver is switching into DFU mode (Boot and Reset switch) as per Opulo Doc

Fix:
Not available, apparently the device string isn't created right..

Extra information:

The "dfu-util -l" command reports the device in dfu mode as follows:

dfu-util.exe -l -w
dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Waiting for device, exit with ctrl-C
Found DFU: [0483:df11] ver=2200, devnum=8, cfg=1, intf=0, path="3-3.4", alt=3, name="@device Feature/0xFFFF0000/01004 e", serial="394D35703439"
Found DFU: [0483:df11] ver=2200, devnum=8, cfg=1, intf=0, path="3-3.4", alt=2, name="@otp Memory /0x1FFF7800/01
512 e,01016 e", serial="394D35703439"
Found DFU: [0483:df11] ver=2200, devnum=8, cfg=1, intf=0, path="3-3.4", alt=1, name="@option Bytes /0x1FFFC000/01
016 e", serial="394D35703439"
Found DFU: [0483:df11] ver=2200, devnum=8, cfg=1, intf=0, path="3-3.4", alt=0, name="@internal Flash /0x08000000/04016Kg,01064Kg,07*128Kg", serial="394D35703439"

[2.0.3] Doesn't start!

Plugin has been updated just now and it seems it doesn't start anymore.
I can push buttons but nothing happens

Marlin 1.1.9.1

How to open Marlin 1.1.9.1 It always show message Open Marlin in the Workspace. Yes I'm choicing Project folder Not Marlin folder it self. With Marlin above 2.X no problems like that.

Include Path Error

Did the install as per the directions but I get this error when trying to compile

#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\myid\Downloads\Marlin-bugfix-2.0.x\Marlin-bugfix-2.0.x\Marlin\src\MarlinCore.cpp).C/C++(1696)

How/Where do I update my includePath.

I compiled 2 firmwares perfectly, one for ender 3 one for a rambo board, and then i start getting this....

I tried on 3 different computers, marlin auto compile spits out the same lines, that it does not recognize platformio or doesn't know where to find it. I find it odd that it worked twice before ... then I moved on to another computer and it didn't work from the start, then a third and again .. same error from the start. I know it must be an easy fix, and that somebody probably posted this, and someone is going to facepalm when seeing my post, but please tell me how to fix it, I really like the idea of auto-building marlin and its getting annoying not knowing why it's not working. I was able to compile the firmware through platformio no problem, flash it etc ... but I want to use auto build marlin (it even recognises the board and the firmware version, author and everything, just then I hit the hammer it spits out this error which I am tired of seeing)

error:
platformio : The term 'platformio' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is correct
and try again.
At line:1 char:1

  • platformio run -e rambo
  •   + CategoryInfo          : ObjectNotFound: (platformio:String) [], Co
     mmandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
    
    
    
    

Thanks for helping out if someone will help out, Cheers !

Clicking build fails to start a new build

I am attempting to build the latest Marlin 2.0.x master branch and I just installed the latest ABM (2.1.7) and PlatformIO (1.10.0) extensions to vscode.
My first attempt at a build does not initiate the build process.
No visible UI changes occur on click as shown in the gif below:

Screen-Recording-2020-04-30-at-12 00 38
On click, the following stack trace and exception show up in the developer console:

mainThreadExtensionService.ts:65 [[object Object]]e.with is not a function
$onExtensionRuntimeError @ mainThreadExtensionService.ts:65
_doInvokeHandler @ rpcProtocol.ts:398
_invokeHandler @ rpcProtocol.ts:383
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
(anonymous) @ rpcProtocol.ts:101
fire @ event.ts:581
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
(anonymous) @ ipc.net.ts:592
fire @ event.ts:581
acceptChunk @ ipc.net.ts:239
(anonymous) @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:200
addChunk @ _stream_readable.js:294
readableAddChunk @ _stream_readable.js:275
Readable.push @ _stream_readable.js:210
onStreamRead @ internal/stream_base_commons.js:166
mainThreadExtensionService.ts:66 TypeError: e.with is not a function
	at k.getFolder (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:357)
	at t.Configuration.getConsolidatedConfigurationModelForResource (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:346)
	at t.Configuration.getConsolidateConfigurationModel (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:345)
	at t.Configuration.getValue (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:342)
	at x.getConfiguration (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:686)
	at Object.getConfiguration (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:773)
	at terminal_command (/Users/dima/.vscode/extensions/marlinfirmware.auto-build-2.1.7/abm/abm.js:785)
	at pio_command (/Users/dima/.vscode/extensions/marlinfirmware.auto-build-2.1.7/abm/abm.js:839)
	at handleWebViewMessage (/Users/dima/.vscode/extensions/marlinfirmware.auto-build-2.1.7/abm/abm.js:1008)
	at l.fire (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46)
	at p.$onMessage (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:650)
	at p._doInvokeHandler (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:663)
	at p._invokeHandler (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:662)
	at p._receiveRequest (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:661)
	at p._receiveOneMessage (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:660)
	at /private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:658
	at l.fire (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46)
	at _.fire (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:189)
	at /private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:820
	at l.fire (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46)
	at _.fire (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:189)
	at t.PersistentProtocol._receiveMessage (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:193)
	at /private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:190
	at l.fire (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:46)
	at p.acceptChunk (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:186)
	at /private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:186
	at Socket.t (/private/var/folders/91/q9d4bfq964ld16mrwvgsc84r0000gn/T/AppTranslocation/3082C5AD-8BAA-4C51-9A87-6C4439ACAD47/d/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:195)
	at Socket.emit (events.js:200)
	at addChunk (_stream_readable.js:294)
	at readableAddChunk (_stream_readable.js:275)
	at Socket.Readable.push (_stream_readable.js:210)
	at Pipe.onStreamRead (internal/stream_base_commons.js:166)

This may not be an ABM issue, any idea what may be causing this?

vscode .VSIX release

Hi

any plans for build a .vsix release?

some times, the builtin vscode extension manager fail to find the extension in the store

greetings

Shouldn't "Clean" also clear out the downloaded libdeps?

I discovered that due to some change in platformio.ini some time back that a libdep my Marlin build required was no longer a dependency in that file and so only successfully built because the original libdep folder still existed - however that also meant it was never updated.

If I deleted the folder or used a fresh install of VScode etc and then attempted to build my firmware it would fail until I added the dependency back to platformio.ini so it could download the library.

So I'm wondering if "Clean" should also empty the .pio libdeps folder for my build environment as well.

Error when uploading

platformio : Die Benennung "platformio" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Programms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederholen Sie den    
Vorgang.
In Zeile:1 Zeichen:1
+ platformio run -e mega2560
+ ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (platformio:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I always get this error

Fails to open correct type of terminal (needs a PlatformIO terminal)

This is a reposting (so to speak) of the issue I had listed as #16095 in Marlin 2.0.

After a lot more playing around with this, I have determined that if I use a "normal" terminal as started from the vscode menu item for a "New terminal", that the command to run the "atom" script to do the build (buildroot\share\atom\auto_build.py), that it will fail. On the other hand, if I use a platformio terminal, it works as expected.

I'm not sure how platformio changes the whole terminal, but the path and a lot of other env settings are present that are NOT a part of the default terminal. So if you can make it invoke a platformio terminal, it will work.

This is on a clean install of both vscode and platformIO on Windows 10 as directed in the instructions.
terminals

logfiles.txt

Save build as .hex file

There is probably some obvious method that I'm missing, however, I'm trying to upload and long story short, I need the compiled hex itself, instead of being able to use the built in upload feature. Is there any way I can do this? If not, I'd say that's a solid feature request.

Thanks for y'alls time and contributions.

Process never completes

I can see it building successfully by keeping an eye on the console output, and echoing something to a file seemingly to acknowledged that the build / upload is done. But it just sits there for eternity.

And I have to restart VSCode which is incredibly annoying when you trying to make rapid changes.

failure_to_ack
failure_to_ack_2

Execute G-code commands?

When connected to a printer remotely via USB (where the printer is controllable via serial over USB and also the printer's sd card appears as a mounted drive) , and using the upload function to send a new firmware to the printer sd card; is there a way to execute g code commands? For example, it would be great if I could send an M997 after the firmware uploads without having to use another application like Pronterface or Simplify3D. Or better yet, define a script or macro that performs the build and then executes the g code command automatically.

Test build fails on Arch

Hey there,

Following this guide to compile marlin went fine on win10, but I can't manage to make it work on Arch now. The steps I followed:

  • install VScode with AUR
  • install PlatormIO extension
  • install Auto Build Marlin extension
  • git clone Marlin. checkout bugfix-2.0.x
  • open it in VScode
  • try to test the auto build with the default stuff by clicking on mega2560

And there it hangs on "Please Wait..." indefinitely. I have nothing coming up on the terminal below.

Am I doing something wrong?

ps:

uname -r
5.13.13-arch1-1

Broken function

We have written the needed data into your clipboard because it was too large to send. Please paste.

Extension needs the right terminal settings as well as requires Python with Tkinter installed

I am still unable to get the auto build code to work in a standard, basic installation of vscode and platformIO.

1 - it can't find python, even though platformIO is written in python, and has a minimal installation included in the .platformio directory (i.e. C:\Users\Owner.platformio\penv\Scripts when "Owner is the username)

2 - even if I add that to the path, it fails to run properly, giving the same sort of errors I mentioned in issue #3 - since all of the platformio shell variables aren't set, it tries to open the tk window (i.e. doesn't recognize it is inside platformio) and then hangs with failure messages in the terminal window.

Steps to recreate

  1. create a NEW account in windows to ensure a clean, default environment.
  2. Install vscode and install platformIO following instructions - i.e. install vscode locally in the account, add platformio as an extension, and add the auto build marlin extension.
  3. try to do a build. using the autobuild....fails
  4. select the correct platform from the platformIO list - expand it, and select build. WORKS.

This is a great idea, and the basic python script works fine to parse the files to pick out the configured boards build environment...But until auto build works, I would suggest that the instructions are changed so that they tell the user to look up the platform, and then use the platformIO command to do the build.

p.s. instructions also say to use the git clone command, and that doens't work either in a default installation.

Unable to auto build marlin

We have written the needed data into your clipboard because it was too lar
Issue Type: Bug

downloaded the marlin FW and installed Platform io and the auto build marlin extensions. When I choose the Endeer 3 pro and select melzi build, I always get an error.

I'm new to this I'm unable to find a solution for this online. Kindly help

Extension version: 2.1.27
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.19041

System Info
Item Value
CPUs Intel(R) Core(TM) i3-5005U CPU @ 2.00GHz (4 x 1995)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.93GB (12.55GB free)
Process Argv --crash-reporter-id 286e77f2-7398-46d9-9f63-e94adcf1de8d
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
openlogontheside:30221877
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30211402
wsl2promptcf:30224613
vstry244cf:30250196
pythonvsdeb440:30248342
unusedprompt:30224610
folderexplorercf:30224615
openfilemenu:30224647
pythonvsded773:30248341
pythonvspyt875:30251590

ge to send. Please paste.

Clean install of VsCode, PlatformIO IDE and Auto Build Marlin results if failed build on Mac OSX

On Mac OSX 10.15.6

  1. Clean install of vsCode and installing both PlatformIO IDE and Auto Build Marlin.
  2. do git clone ... etc etc
  3. Just do a mega2560 build
    It fails!
    term says:
    platformio run -e mega2560 ; echo "done" >/var/folders/04/82j6j0g16cdblk9w8_2lhq_h0000gn/T/ipc
    XXXXXX@Alta Marlin % platformio run -e mega2560 ; echo "done" >/var/folders/04/82j6j0g16cdblk9w8_2lhq_h0000gn/T/ipc
    zsh: command not found: platformio
    XXXXX@Alta Marlin %

Unable to install (what version of vscode do i need?)

heres my error: ERR Unable to install Extension 'marlinfirmware.auto-build-2.1.34' as it is not compatible with Code '1.23.1'.: Error: Unable to install Extension 'marlinfirmware.auto-build-2.1.34' as it is not compatible with Code '1.23.1'.
just need to know version of vscode i need.

Compiler error

Suddenly it stopped working and I don't compile anything anymore, I am attaching photos of the errors

2
1

Auto Build Marlin won't initialize

I used the extension to build/compile my firmware. The build was successful and worked fine but i needed to tweak a value and compile it again. When i opened vs code and clicked the "M" to build the changes I'd made it said "initializing" as per usual but seconds turned to mins and hrs. It will not move past that point. I've tried uninstalling everything and reinstalling it. But it still does the same thing.

Option to select default build & upload environment

Currently, when pressing the build or upload shortcut in the sidebar, it opens the main page and gives an error: "Use a specific environment for build". It would be nice to have the option to select one to default to

Python error When trying to build form within ABM

If I build through Platform directly I do not get this error
I do not have enough knowledge to trouble shoot this other than to say I stopped using MCT for the same error but a different machine.

platformio run -e LPC1768 ; echo "done" >/var/folders/5h/ycmwkp9d35d5zz35bxflbpq00000gn/T/ipc
s/5h/ycmwkp9d35d5zz35bxflbpq00000gn/T/ipc
Traceback (most recent call last):
  File "/usr/local/bin/platformio", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/Users/Vision/Library/Python/2.7/lib/python/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 2707, in <module>
    working_set.require(__requires__)
  File "/Users/Vision/Library/Python/2.7/lib/python/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 686, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/Users/Vision/Library/Python/2.7/lib/python/site-packages/distribute-0.6.24-py2.7.egg/pkg_resources.py", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: marshmallow>=2.20.5,<3
Vision@iMac MARLIN_ENDER3 % 

cr 20 unknown motherboard

when i open the ABM build tab, it will just show "unknown motherboard" with "unable to parse one or more marlin project files" in the left panel

i have the marlin bugfix folder open, with the marlin bugfix config files for the cr 20 printer inside the "marlin" folder in the marlin bugfix project

Marlin project folder not detected

Hi,

I don't know if I'm not doing well the thing but I'm unable to make the marlin folder detected. I see an error about header folder (include) not detected, but the folder is not either in the Marlin sources.
Screenshot from 2020-06-17 19-26-57

Is there something I do wrong or a known problem ?

Platform: Linux
Vscode: 1.46
PlateformIO IDE: 1.10.0
Autobuild Marlin: 2.1.15

Install scripts

Heya,

it would be nice to have install scripts per OS to copy the plugin to the desired default directories.

Would make updateing it easier.

Compiling with Autobuild Marlin Fails

Whenever I try to build with autobuild marlin choosing RCT_BTT for my skr mini e3 v2 fail with the following error.
I can build firmware using platform.ini and selecting this environment from lower bar and clicking on build tick mark.
Ekran görüntüsü 2021-06-20 134507
Ekran görüntüsü 2021-06-20 134647

[BUG] Tronxy X5SA (Pro) needs _maple build to work

Hello, i really hope this is the right place, as i did everything via ABM.
I got a new printer, Tronxy X5SA Pro and found the chitu firmware to be terrible, so i followed the guideline (https://github.com/MarlinFirmware/Configurations/tree/2.0.9.2/config/examples/Tronxy/X5SA) to build my own update.cbd to get Marlin onto it.
The Build succeeded, i put the update.cbd onto the SD card and turned the Power on, and got a series of two short beeps (5x) and then an "exitus" style never ending beep. I looked through everything and tried to change settings until i found a German Forum where several people told to use the _maple build instead of the normal one (https://drucktipps3d.de/forum/topic/tutorial-tronxy-x5sa-von-chitu-auf-marlin/?part=22#postid-173633). Stupid as i am i did not try that so far, but when i did, it worked first try. i changed nothing in vs code (though i am using Codium) except to build the _maple instead of the normal build. Since i got some help on the Marlin Discord and gave feedback that it works now, i got told to create a bug ticket so that you guys know of this.
So ... what information do you need from me so that i can provide it?

Greetings
Tommy
2021-11-24 21_17_13-XUBUNTU - Oracle VM VirtualBox

Auto Build Marlin build page blank

After building quite happily yesterday, when I start my PC today, the build screen is blank - any ideas?

Uninstalling and reinstalling has no effect, same issue

Clean option not always available

Version 2.1.31

Expected behaviour:
Button for 'clean' should always be available

Observed behaviour:
Clean not available until after a build

Impact
Build fails, or worse, build succeeds but resultant firmware behaves unexpectedly

Workaround
Build, clean, build or manual scrub

steps to reproduce:
build. close VS code, open VS code, build, crying at any stage during this procedure optional

Building reality ender 3 pro firmware Vscode 4.2.2 board

This throws an error and will not build when selecting the two board options of STM32F103RET6_creality or STM32F103RET6_creality_maple. This was also the case if I tried any combination of upper case or low case with the platform.ini as well. Not sure if I should try the STM32F103RE board or not

Auto detect selects incorrect serial port OSx

`Configuring upload protocol...

AVAILABLE: wiring

CURRENT: upload_protocol = wiring

Looking for upload port...

Auto-detected: /dev/cu.MindWave

Uploading .pio/build/mega2560/firmware.hex

avrdude: stk500v2_ReceiveMessage(): timeout`

Correct port would be /dev/cu.wchusbserialfa130
Is there a way to define what port to use?

Does not work with Windows 11

Clicking on the "M" does nothing. Below the "BUILD" it shows "Initializing..." and nothing happened. Already installed everything new without any change. On other PCs running Windows 10 the same folder works without any problems.
Screenshot 2021-09-06 161332

Assumes bash shell

It assumes the user shell is bash when it runs platformio. The command works if wrapped with bash -c '..' instead. (I use fish shell but this affects anyone with a shell that cannot parse that style of pipe.)

No such file or directory.

Issue Type: Bug

There is an error when VS attempts to run avr.g++.exe in both the Marlin autobuild and manual builds. It says that the file and directory do not exist. When I manually type the directory it leads to the file. I have worked with a lot of people in the Marlin and VS community, and they don't understand what is happening to cause this. I have attempted many fixes, including uninstalling VS/ restarting/ reinstalling, removing extions with restarts after, deleting Marlin and redownloading with restarts, and I am just at the end of the rope. I have been actively working on this issue for about 6 days. Thank you.

Extension version: 2.1.27
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i5-1035G4 CPU @ 1.10GHz (8 x 1498)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.60GB (1.22GB free)
Process Argv --crash-reporter-id 4bd87bcd-02e7-4fb5-abf6-057c791e62eb
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
openlogontheside:30221877
python383:30185418
vspyt653:30244269
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30211401
wsl2promptcf:30224613
pythonvsdeb440:30242242
unusedpromptcf:30224611
folderexplorercf:30224615
openfilemenucf:30224648
pythonvsded773cf:30236630
vstes627:30244334
vsjup459:30237187

Chromebook (headmelted VS Code)

While I do have a windows laptop, I often working from my Chromebook. I have a VS Code implementation for the Chromebook (headmelted). The four action icons are not populating in the activity bar. Underneath both activity bars it is return an error 'There is no data provider registered that can provide view data.' Is there any plan to provide support for Chromebooks?

No such file or directory.

Issue Type: Bug

There is an error when VS attempts to run avr.g++.exe in both the Marlin autobuild and manual builds. It says that the file and directory do not exist. When I manually type the directory it leads to the file. I have worked with a lot of people in the Marlin and VS community, and they don't understand what is happening to cause this. I have attempted many fixes, including uninstalling VS/ restarting/ reinstalling, removing extions with restarts after, deleting Marlin and redownloading with restarts, and I am just at the end of the rope. I have been actively working on this issue for about 6 days. Thank you.

Extension version: 2.1.27
VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i5-1035G4 CPU @ 1.10GHz (8 x 1498)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.60GB (1.22GB free)
Process Argv --crash-reporter-id 4bd87bcd-02e7-4fb5-abf6-057c791e62eb
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
openlogontheside:30221877
python383:30185418
vspyt653:30244269
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30211401
wsl2promptcf:30224613
pythonvsdeb440:30242242
unusedpromptcf:30224611
folderexplorercf:30224615
openfilemenucf:30224648
pythonvsded773cf:30236630
vstes627:30244334
vsjup459:30237187

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.