Skip to main content
FVosm.1
Visitor II
May 1, 2020
Question

Why does Stm32CubeMX not work.

  • May 1, 2020
  • 1 reply
  • 566 views

The CPU is STM32L071KZ. I can select it in two packages. I pick it, assign pins, select a folder to store, select STM32Cube as IDE. It creates the code (ther eeven is an SRC and INC folder, but no .project. STM32Cube refuses to open it.

I try TrueSTUDIO as an IDE. It succeeds, but STM32Cube has to convert it. A new pop up, FInish is grayed out.

I continue from MX. Open STM32Cube from three. Behold, I get a project file and no conversion needed.

I'd like to make a second copy in another folder. I cannot change the folder name.

I spend 3 hours creating a .h file. Rerun MX. Create code, .h file lost.

Recreate .h file. Compile. Cannot find main.h (I can, it is in the INC file). It need "stm32l0xx.h" Neither the compiler nor I can find it.

It needs stm32l0xx_ll_dma.h (I do not use it, I did nto enable it in MX). Compiler cannot find it. I can, it is in the Driver\Inc folder.

I download the latest STM32CubeMX version 2.6.1. Nothing changed.

Can anybody tell me what I ma doing wrong?

Thanks.

-- Frits

This topic has been closed for replies.

1 reply

Nesrine.JLASSI
Visitor II
May 8, 2020

Hello @FVosm.1​ 

Could you please share your ioc file.

Best regards,

Nesrine