Now that sourceforge is down, I would like to create the HAL documentation for STM32 port. Like this one (currently link is down) http://chibios.sourceforge.net/docs/hal ... dedafe5e80
I can create the generic doxygen documentation using `ChibiOs/doc/hal/Doxyfile_html` but how can I create the one specific to STM32?
How to build HAL documentation for a specific port?
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: How to build HAL documentation for a specific port?
Hi,
Take the generic HAL doxyfile and add the files you need, note that you need to include the files for a specific STM32 or you would have multiple ADCs, mutiple SPIs etc.
I will look into including builders in next releases.
Giovanni
Take the generic HAL doxyfile and add the files you need, note that you need to include the files for a specific STM32 or you would have multiple ADCs, mutiple SPIs etc.
I will look into including builders in next releases.
Giovanni
Re: How to build HAL documentation for a specific port?
Thanks for the tip.
I think this will work for now. There are a bunch of warnings, mostly related to incorrect file name declarations in the comments. Nothing serious : )
Here is the full file if anyone is interested https://gist.github.com/hyOzd/e307c4bae7fac8be18e5 .
I think this will work for now. There are a bunch of warnings, mostly related to incorrect file name declarations in the comments. Nothing serious : )
Code: Select all
INPUT = ./src \
../../os/hal/ports/STM32/LLD/ \
../../os/hal/ports/STM32/LLD/DACv1/ \
../../os/hal/ports/STM32/LLD/DMAv1/ \
../../os/hal/ports/STM32/LLD/GPIOv1/ \
../../os/hal/ports/STM32/LLD/GPIOv2/ \
../../os/hal/ports/STM32/LLD/I2Cv1/ \
../../os/hal/ports/STM32/LLD/I2Cv2/ \
../../os/hal/ports/STM32/LLD/OTGv1/ \
../../os/hal/ports/STM32/LLD/RTCv1/ \
../../os/hal/ports/STM32/LLD/RTCv2/ \
../../os/hal/ports/STM32/LLD/SPIv1/ \
../../os/hal/ports/STM32/LLD/SPIv2/ \
../../os/hal/ports/STM32/LLD/TIMv1/ \
../../os/hal/ports/STM32/LLD/USARTv1/ \
../../os/hal/ports/STM32/LLD/USARTv2/ \
../../os/hal/ports/STM32/LLD/USBv1/ \
../../os/hal/ports/STM32/STM32F4xx/ \
../../os/hal/dox \
../../os/hal/src \
../../os/hal/include \
../../os/hal/templates/osal
Here is the full file if anyone is interested https://gist.github.com/hyOzd/e307c4bae7fac8be18e5 .
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: How to build HAL documentation for a specific port?
Good point, I have not built it for a while so some groups are messed up after the source tree reorganization. Will fix before next release.
Giovanni
Giovanni