I'm trying to configure PlatformIO
with CLion
for an 8051-based
project using the SDCC
toolchain.
sdcc.exe
file exists at the correct path and runs successfully from the command line, but CLion
cannot find it when building the project:Unknown compiler executable: 'C:\Users\lyz\.platformio\packages\toolchain-sdcc\bin\sdcc.exe'
SDCC
toolchain is installed atC:\Users\lyz\.platformio\packages\toolchain-sdcc\bin\sdcc.exe.
The project builds successfully from the command line using pio run
, but CLion's PlatformIO
plugin fails to recognize sdcc.exe
.
I've verified that the file exists and can be executed directly from the terminal, but CLion
does not detect it during the build process.
I’ve tried setting the correct toolchain path in the platformio.ini
file, but the issue persists.
How can I resolve this and make CLion
properly recognize the SDCC
toolchain?
I'm trying to configure PlatformIO
with CLion
for an 8051-based
project using the SDCC
toolchain.
sdcc.exe
file exists at the correct path and runs successfully from the command line, but CLion
cannot find it when building the project:Unknown compiler executable: 'C:\Users\lyz\.platformio\packages\toolchain-sdcc\bin\sdcc.exe'
SDCC
toolchain is installed atC:\Users\lyz\.platformio\packages\toolchain-sdcc\bin\sdcc.exe.
The project builds successfully from the command line using pio run
, but CLion's PlatformIO
plugin fails to recognize sdcc.exe
.
I've verified that the file exists and can be executed directly from the terminal, but CLion
does not detect it during the build process.
I’ve tried setting the correct toolchain path in the platformio.ini
file, but the issue persists.
How can I resolve this and make CLion
properly recognize the SDCC
toolchain?
Try downgrading the Clion version to 2024.2.4 or lower, that's how I solved it