Answer the question
In order to leave comments, you need to log in
STM32 HAL: Do you rework the code structure after the code generator?
Hello!
It is clear that HAL is evil and in general it is necessary to write everything in assembler, and even better immediately in machine code.
It's not about the fact that it's better not to use HAL (I know, there are fans to discuss everything, but not the question itself), but about what will be discussed below.
After the CubeMX code generator, the code structure is not very nice. It is clear that the “pleasantness” of the code structure is a subjective matter, but still.
What do you do: clean up main, spreading the functionality over c/h files, or leave it "as is" in order to quickly regenerate the code, if you need to add something? In general, how do you use CubeMX?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question