fixed call to tag generation function.

This commit is contained in:
Jake Goodwin 2025-12-21 19:43:27 -08:00
parent 4be1a3b95e
commit f56f69fadc

View file

@ -11,6 +11,10 @@ MODULE_DIR="${TEMPLATE_FILES}/modules"
CHIP="ch32v003"
generate_tags_file () {
echo "generate_tags_file()"
# Saving current directory
#CUR_DIR=$(pwd)
uctags --recurse=yes \
--languages=C,C++,Asm \
--extras=+q \
@ -19,7 +23,7 @@ generate_tags_file () {
--exclude=build \
--exclude=.git \
--exclude=.template_files \
.
./
}
format_source_code () {
@ -287,7 +291,7 @@ flash_microcontroller () {
}
run_c_tests () {
generate_tags_file()
generate_tags_file
format_source_code
clear_cmake_cache
cmake -DUNIT_TESTING=ON -DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE} ../