commented out make main in favor of using PROJECT_NAME variable.
This commit is contained in:
parent
a376d27260
commit
c3fa2b491c
1 changed files with 3 additions and 1 deletions
4
otto.sh
4
otto.sh
|
|
@ -10,6 +10,7 @@ TEMPLATE_FILES=".template_files"
|
|||
MODULE_DIR="${TEMPLATE_FILES}/modules"
|
||||
TEST_MODULE_DIR="${TEMPLATE_FILES}/test_module"
|
||||
CHIP="ch32v003"
|
||||
PROJECT_NAME="WCH_Template"
|
||||
|
||||
generate_tags_file () {
|
||||
echo "generate_tags_file()"
|
||||
|
|
@ -284,7 +285,8 @@ build_hex () {
|
|||
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_TOOLCHAIN_FILE=${WCH_TC}"
|
||||
|
||||
cmake ${CMAKE_ARGS} ../
|
||||
make main
|
||||
make ${PROJECT_NAME}
|
||||
#make main
|
||||
#make hex
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue