Closed Dracrius closed 4 years ago
If you build for this motherboard (BOARD_BTT_SKR_MINI_E3_V1_2) but use the wrong platform (eg default_envs megaatmega2560) It errors. You then switch to default_envs STM32F103RC_bigtree_512K without doing a platformIO clean first, you get this error. So click on "platformio clean" (the trash can icon along the bottom of vscode) and try again.
If you build for this motherboard (BOARD_BTT_SKR_MINI_E3_V1_2) but use the wrong platform (eg default_envs megaatmega2560) It errors. You then switch to default_envs STM32F103RC_bigtree_512K without doing a platformIO clean first, you get this error. So click on "platformio clean" (the trash can icon along the bottom of vscode) and try again.
While I appreciate the suggestion it wasn't the solution I just gave it a try plus I'd actually never built with vscode and platformio ever before so the only thing I ever asked it to build was this board. My SKR mini E3 just showed up I was using Arduino IDE and 1.1.9 on my Original board.
HAHA I fixed it well I got a build off. Now I think this is a bug in PlatformIO as I couldn't find an example of it happening in VS code and it happens when you use its open a project button on a folder with a "&" in the title. It will duplicate the folder and create a .pio folder inside the duplicate. The strange things is that it can even do that, normally windows will not allow two folders to have the same name. After Removing the "&" from the title it stopped duplicating the folder and built successfully. Should I post somewhere else to pass it on to PlatformIO? I'm guessing that is the source though so if someone can confirm this has nothing to do with marlin I will close this issue sorry for the trouble.
maybe for @ivankravets
so this is not a marlin issue?
so this is not a marlin issue?
I don't think so but I'm hoping someone who know the code better can replicate it and confirm that it is not. At minimum its definitely a bug current users may run into and if they do they will need a solution!
a bug is defined as when code does not work as it is written to work
but i see its a problem with platformio and not marlin so will close this one
a bug is defined as when code does not work as it is written to work
True I wasn't say it was specifically a marlin bug. I more meant its a bug in general. My larger concern after finding the source was that others will waist as much time as I did searching for errors in Marlin if its not obvious it is a known bug with PlatformIO. Hopefully it gets sorted quickly to save other the hassle!
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
EDIT:
None of the bellow details really matter my last reply before the name change is when I found the problem. Very simply put a folder with a "&" when opened using PlatformIO's Open Project button from the PIO Home in VS Code causes a folder of the exact same name to be made with only a .pio folder. VS Code still shows everything inside the original and PlatformIO reads everything from their till this point (code block below) then my guess is it looks in the duplicate and can't find what it's looking for. By removing the "&" and replacing it with the word, PlatformIO built successfully.
I am not 100% sure were in the chain the error comes from but I can only assume it is not Marlin. With confirmation I will close the issue.
Bug Description
When trying to build I get a failure and the only error is
If I switch to STM32F103RC_bigtree (256k) it fails with almost the same message minus the 512k part.Steps to Reproduce
1. change setting for a SKR mini e3 on an Ender 3 with a bltouch1. Name folder "Marlin 2.0.x - Ender 3 with SKR mini e3 & BLtouch"Expected behavior: A successful build
Actual behavior: A failure I don't see a reason for as I followed 3 Teaching Tech guides (Both SKR Mini videos and the Marlin 2.0 guide) and cross refrenced with other sources and I don't appear to have missed a step
so I think something between 2.0 release and 2.0.1 broke skr mini building as all guides were done with 2.0 releasebut it was the folder name!Additional Information
TERMINAL Output: