i downloaded the Source-Code of the Sidewinder X2 Printer at the Artillery-Site and when i tried to compile it VSCode with PlatformIO, the Autobuilder puted an Error out.
This ist the Error I get:
platformio run -e ARTILLERY_RUBY Processing ARTILLERY_RUBY (platform: ststm32@~12.1; board: Artillery_Ruby; framework: arduino)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
AssertionError: :
File "/home/a9/.platformio/penv/lib/python3.7/site-packages/platformio/builder/main.py", line 178:
env.SConscript(item, exports="env")
File "/home/a9/.platformio/packages/tool-scons/scons-local-4.2.0/SCons/Script/SConscript.py", line 597:
return _SConscript(self.fs, *files, **subst_kw)
File "/home/a9/.platformio/packages/tool-scons/scons-local-4.2.0/SCons/Script/SConscript.py", line 285:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/home/a9/Downloads/sidewinder-x2-firmware-main/buildroot/share/PlatformIO/scripts/generic_create_variant.py", line 52:
assert os.path.isdir(source_dir)
============================================================================ [FAILED] Took 0.51 seconds ============================================================================
Environment Status Duration
-------------- -------- ------------
ARTILLERY_RUBY FAILED 00:00:00.511
======================================================================= 1 failed, 0 succeeded in 00:00:00.511 =======================================================================
for you.
My question is what is this Error meaning to me and how can I solve that?
And so due to the variant field having that value it will look for that name in
…but you can see that they screwed up here and have named the folder ARTILLERY_RUBY instead of what they claim the folder is in board’s JSON, Artillery_Ruby. This only works on Windows with a case-insensitive file-name, but not your Linux system (or on a Mac). They screwed up.
You can fix their screwup by going into the board definition file (/buildroot/share/PlatformIO/boards/Artillery_Ruby.json) and change the value of the variant attribute to the real folder name, that is, ARTILLERY_RUBY. It should then allow you to build.