Cannot compile STM32Cube with latest version 3.5.1

I just updated to v3.5.1 (using Visual Studio Code). Since, I cannot compile my STM32Cube project.
I tried with the Blink example and same issue:

Executing task: platformio.exe run <

[01/03/18 15:04:41] Processing nucleo_f072rb (platform: ststm32; build_flags: -DF0; board: nucleo_f072rb; framework: stm32cube)

Error: Traceback (most recent call last):
File “c:.platformio\penv\lib\site-packages\”, line 120, in main
cli(None, None, None)
File “c:.platformio\penv\lib\site-packages\click\”, line 700, in call
return self.main(*args, **kwargs)
File “c:.platformio\penv\lib\site-packages\click\”, line 680, in main
rv = self.invoke(ctx)
File “c:.platformio\penv\lib\site-packages\click\”, line 1027, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “c:.platformio\penv\lib\site-packages\click\”, line 873, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “c:.platformio\penv\lib\site-packages\click\”, line 508, in invoke
return callback(*args, **kwargs)
File “c:.platformio\penv\lib\site-packages\click\”, line 16, in new_func
return f(get_current_context(), *args, **kwargs)
File “c:.platformio\penv\lib\site-packages\platformio\commands\”, line 109, in cli
result = (envname, ep.process())
File “c:.platformio\penv\lib\site-packages\platformio\commands\”, line 194, in process
result = self._run()
File “c:.platformio\penv\lib\site-packages\platformio\commands\”, line 296, in _run
return, build_targets, self.silent, self.verbose)
File “c:.platformio\penv\lib\site-packages\platformio\managers\”, line 358, in run
variables[‘build_script’] = self.get_build_script()
File “c:.platformio\penv\lib\site-packages\platformio\managers\”, line 525, in get_build_script
raise NotImplementedError()


An unexpected error occurred. Further steps:

  • Verify that you have the latest version of PlatformIO using
    pip install -U platformio command


The terminal process terminated with exit code: 1

Any idea?


Could you uninstall/install ststm32 dev/platform? You can use PIO Home > Platforms