updated menu and setup correct make commands.

This commit is contained in:
jakeg00dwin 2025-02-14 13:04:22 -08:00
parent 0ad78b2671
commit 91edc72f38
1 changed files with 4 additions and 4 deletions

View File

@ -180,7 +180,7 @@ cross_compile () {
build_release() {
clear_cmake_cache
cmake -DCAM_HANDLER_LIB=ON -DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE} ../
cmake -DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE} ../
make
}
@ -197,7 +197,7 @@ build_hex () {
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_TOOLCHAIN_FILE=${AVR_TC}"
cmake ${CMAKE_ARGS} ../
make all
make main
make hex
}
@ -208,7 +208,7 @@ build_hex_optimized () {
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_TOOLCHAIN_FILE=${AVR_TC}"
cmake ${CMAKE_ARGS} ../
make all
make main
make hex-release
}
@ -229,7 +229,7 @@ print_menu () {
echo "0. Add Mock Module"
echo "1. Run Tests"
echo "2. Build Project(hex)"
echo "3. Build for release(hex)"
echo "3. User Option"
echo "4. Flash to AVR"
echo "5. Add new module to project"
echo "6. Delete module from project"