From d78d7e2e95d59d79c02dc2ed0fecfc0270d574e6 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 22 Jan 2025 21:08:48 -0800 Subject: [PATCH] removed doxygen stuff --- notes.md | 1 + stm32-toolchain.cmake | 32 -------------------------------- 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/notes.md b/notes.md index 2c8d816..dfc620e 100644 --- a/notes.md +++ b/notes.md @@ -25,5 +25,6 @@ development board. - [X] Remove CMSIS stuff - [X] Remove Unity test framework stuff. - [X] Remove HAL stuff. +- [X] Remove doxygen stuff from toolchain file. - [ ] Check through debuging flags in toolchain file. diff --git a/stm32-toolchain.cmake b/stm32-toolchain.cmake index bcdbda9..81c9ba0 100644 --- a/stm32-toolchain.cmake +++ b/stm32-toolchain.cmake @@ -259,38 +259,6 @@ if(TARGET_GROUP STREQUAL production) -ex "monitor arm semihosting enable" ) - ###################################################################### - # @Target: doc - # @Brief: Generate doxygen documentation - ###################################################################### - # check if Doxygen is installed - find_package(Doxygen) - if (DOXYGEN_FOUND) - # set input and output files - set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/docs/Doxyfile.in) - set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) - - # exclude folders while making documentation - # should be separated by spaces - set(DOXYGEN_EXCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/components/* ${CMAKE_CURRENT_SOURCE_DIR}/build/* ${CMAKE_CURRENT_SOURCE_DIR}/${MCU_DIR}*") - - # set mainpage in doxygen - set(DOXYGEN_MAIN_PAGE "README.md") - - # request to configure the file - configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY) - message("Doxygen build started") - - # note the option ALL which allows to build the docs together with the application - add_custom_target(docs - COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT} - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - COMMENT "Generating API documentation with Doxygen" - VERBATIM ) - else (DOXYGEN_FOUND) - message("Doxygen need to be installed to generate the doxygen documentation") - endif (DOXYGEN_FOUND) - # Add additional files to the make clean set_property(DIRECTORY PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "${PROJECT_NAME}.map"