2026-01-13 4:58 AM
I have a Discovery board B-L072Z-LRWAN1 and I am trying to set up a project using CubeIDE but get the following,
So I check to see if the L0 & LRWAN packages are in the repository,
Yes, they're there. I click OK & Cube carries on setting itself up & up pops the ioc window. I press configure & generate & get some C code but the build option is greyed out.
What am I missing here?
2026-01-13 5:06 AM
What versions of CubeIDE and CubeMX are you using?
Note that CubeIDE v2.0.0 no longer integrates CubeMX - they are now separate, standalone tools:
STM32CubeIDE 2.0.0 new workflow tutorial
IDE Version 2.0.0 - why remove MX ?
2026-01-13 5:15 AM
version 1.17.0
2026-01-13 5:49 AM
Interestingly the examples for both the L0_FW & the LRWAN for the board open up & build with no issues.
2026-01-13 6:13 AM
I guess the examples are already complete - don't rely on stuff installed in the IDE ?
2026-01-13 6:25 AM
No idea, why would Cube not allow a new project to build given that it knows where all the support drivers for the board are?
2026-01-13 6:43 AM
The problem with the new project is code generation - not building ?
2026-01-13 6:57 AM
Well I'm not sure to be honest. I got the warning above when creating a new project but code is generated after a few clicks (as outlined in the OP) but I cant build that generated code as the build options are all greyed out.