Closed MainWire closed 4 months ago
Anyone could just give me a hint or anything they think could take the problem a step forward ?
I still haven't found any way to fix that problem. I will be really grateful if anyone could help me. Thanks in advance
-LC:%%userprofile%%/.platformio/packages/
Where did you find this buggy code? See https://docs.platformio.org/en/latest/projectconf/interpolation.html
You need ${platformio.packages_dir}
Thank you for answering ! I updated my config file. However the issue is still the same.
I suppose I should simply add ${platformio.packages_dir}
, I don't need to specify the path of the toolchain ?
Thanks in advance
-LC:${platformio.packages_dir}
Please fix it. It should be -L${platformio.packages_dir}
Please fix it. It should be
-L${platformio.packages_dir}
Thank you for replying. I updated the line, and I have updated all my sketches to the last native-blink example, according to this issue toolchain.
So far no changes... If anyone ever succeed to compile it I would be happy to know how 👍
Issue : Simple config problem or possible bug
I was told to open an issue here because this could be a BUG
Configuration
Operating system: Win 10 x64 PlatformIO core Version (core --version): 6.1.13 PlatformIO extension: 3.3.3 C++ extension version: 1.19.4
Description of problem
Getting the error
"CC" non \x8a riconosciuto come comando interno o esterno, un programma eseguibile o un file batch.
when trying to compile CPP file on CH559 boardI am able to successfully compile the projet with platformio, when using any C file. However, as soon as I try to use a CPP file, I get the mentionned error in the build process.
I tried deleting the cache, packages, platform folders, and reinstalling cpp and platformio extensions, but couldn't get it to work. I already wrote on an existing issue, where I was told to open an issue here. Issue #4149
Actual Results
Expected Results
Compiles fine
Board definition :
.INI file
link_medium.py file :
https://dpaste.org/0tsqa
Additional info
I also have a two logs showing up when starting vscode that may explain why the building process fails, but I can't fix that either :
[2/25/2024, 12:17:32 PM] Unable to resolve configuration with compilerPath: "C:/Users/mainwire/.platformio/packages/toolchain-sdcc/bin/sdcc.exe" [2/25/2024, 12:17:32 PM] Unable to resolve configuration with compilerPath: "C:/Users/mainwire/.platformio/packages/toolchain-sdcc/bin/sdcc.exe"
Could someone help me with that ? Feel free to ask if you need any additional information,
Thanks in advance,