cancel
Showing results for 
Search instead for 
Did you mean: 

Cube CMake: Unexpected end of JSON input

andreasp00
Visitor

Hello!

I'm trying out the new STM32CubeIDE extensions for VSCode and have generated a CMake project using CubeMX. I'm unable to setup my project as I get this error:

andreasp00_0-1769176582540.png

I don't know what JSON file it is referring to as there are none in my project except the auto-generated CMakePresets.json, but I don't think that's the issue since I get the same error even if I remove that file.

I have tried to re-install the extensions and restart VSCode with no luck.

 

 

 

3 REPLIES 3
Julien D
ST Employee

Hi @andreasp00,

Can you share the CubeMX version and the device/board you are using for this project ?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
andreasp00
Visitor

I'm using a fresh installation of CubeMX 6.16.1.

The project is for a custom board using a STM32L476MGY6TR.

Unfortunately, I cannot reproduce the issue.

Could you please open the Developer Tools window (Help > Toggle Developer Tools), switch to the Console tab, and record any errors shown when running your scenario?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.