Integrating HAL into existing project
Posted: Fri Nov 15, 2019 11:22 pm
Hi,
I am a beginner in embedded software and am trying to integrate Chibi HAL into a small existing project.
I am reading http://www.chibios.org/dokuwiki/doku.ph ... tion_guide which leads me to an error possibly rooted in a misunderstanding.
The project does not use any OS and it's on an STM32F412CE.
So when I followed the steps from the wiki page, I get errors about missing include files.
Especially
[font=monospace]os/hal/include/hal.h[/font] cannot find [font=monospace]board.h[/font]
This strikes me as odd because [font=monospace]board.h[/font] can only be found in the board-specific headers, which I do not use due to the custom board.
And
[font=monospace]os/hal/osal/os-less/ARMCMx/osal.h[/font] cannot find [font=monospace]cmparams.h[/font] and [font=monospace]osalconf.h[/font].
Both files are not mentioned in the wiki. Also I cannot find the former and the latter is just there in one of the demos.
Where did I take the wrong turn?
Thanks.
I am a beginner in embedded software and am trying to integrate Chibi HAL into a small existing project.
I am reading http://www.chibios.org/dokuwiki/doku.ph ... tion_guide which leads me to an error possibly rooted in a misunderstanding.
The project does not use any OS and it's on an STM32F412CE.
So when I followed the steps from the wiki page, I get errors about missing include files.
Especially
[font=monospace]os/hal/include/hal.h[/font] cannot find [font=monospace]board.h[/font]
This strikes me as odd because [font=monospace]board.h[/font] can only be found in the board-specific headers, which I do not use due to the custom board.
And
[font=monospace]os/hal/osal/os-less/ARMCMx/osal.h[/font] cannot find [font=monospace]cmparams.h[/font] and [font=monospace]osalconf.h[/font].
Both files are not mentioned in the wiki. Also I cannot find the former and the latter is just there in one of the demos.
Where did I take the wrong turn?
Thanks.