STMicroelectronics / STM32CubeG4

STM32Cube MCU Full Package for the STM32G4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
192 stars 103 forks source link

STM32Cube_FW_G4_V1.1.0 HRTIM_Buck_Sync_Rect cannot not directly import #2

Closed VictorTagayun closed 5 years ago

VictorTagayun commented 5 years ago

Hello, Newbie here, I was trying to import HRTIM_Buck_Sync_Rect found in

STM32Cube_FW_G4_V1.1.0\Projects\B-G474E-DPOW1\Examples_MIX\HRTIM\

When I import the folder, I would need to generate code first, but will not be able to build.

So I go Project Manager >> Code Generator >> Copy only the necessary files from "Add necessary files ...."

Then generate code and I will be able to build but with errors on using LL functions and insert library and BSP codes.

I can see that in the HRTIM, the init was done using HAL but inside the HRTIM interrupt and Main funtions, LL was used.

Can HAL and LL of the same peripherals use both HAL and LL? How to link the LL library in the project? How to add link to BSP api and codes? How to import the project files?

I am using STMCudeIDE 1.0.2 on windows 7. I tried on Linux, almost same errors can be seen.

ALABSTM commented 5 years ago

Hi Victor,

Glad to receive your message. Unfortunately, issues are only intended to the firmware published within the different repositories of this GitHub organization.

For subjects such as yours related to CubeMX, please submit your question to the ST Community under the "STM32CubeMX" topic.

Thank you once more for your message and hopefully you get the answers you are looking for from the Community.

With regards,

ALABSTM commented 5 years ago

Hi Victor,

Allow me to close this ticket as it is out of the scope of this GitHub organization.

With regards,

VictorTagayun commented 5 years ago

Did you make and compile the folder as project before you upload and/or release? Maybe it should be compiled first so anyone can import it immediately.