Compare commits

...

1 commit
beta ... main

Author SHA1 Message Date
75c111afd3 changed name of function.
Changed the AVR line to be "MicroController" instead.
2025-03-08 15:13:55 -08:00

10
otto.sh
View file

@ -62,8 +62,6 @@ does_mock_exist () {
}
add_module_to_cmakes () {
local basename="$1"
@ -126,6 +124,7 @@ git_remove_module () {
git rm -r ./tests/CMakeLists.txt
}
add_mock_module () {
read -p "Enter the name of the module:" modname
result=$(does_mock_exist "$modname")
@ -263,7 +262,7 @@ build_hex_optimized () {
make hex-release
}
flash_avr () {
flash_microcontroller () {
build_hex_optimized
make upload
}
@ -284,7 +283,7 @@ print_menu () {
echo "1. Run Tests"
echo "2. Build Project(hex)"
echo "3. Build for release(hex)"
echo "4. Flash to AVR"
echo "4. Flash to MicroController"
echo "5. Add new module to project"
echo "6. Delete module from project"
echo "7. Exit"
@ -305,7 +304,6 @@ main() {
valid_choice=true
add_mock_module
;;
1)
echo "You selected Option 1"
valid_choice=true
@ -324,7 +322,7 @@ main() {
4)
echo "You selected Option 4"
valid_choice=true
flash_avr
flash_microcontroller
;;
5)
echo "You selected Option 5"