modified to make main instead of all or hex-release
This commit is contained in:
parent
0bdc60bcf8
commit
4e2e792312
1 changed files with 3 additions and 2 deletions
5
otto.sh
5
otto.sh
|
@ -258,8 +258,9 @@ build_hex_optimized () {
|
||||||
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_TOOLCHAIN_FILE=${WCH_TC}"
|
CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_TOOLCHAIN_FILE=${WCH_TC}"
|
||||||
|
|
||||||
cmake ${CMAKE_ARGS} ../
|
cmake ${CMAKE_ARGS} ../
|
||||||
make all
|
#make all
|
||||||
make hex-release
|
#make hex-release
|
||||||
|
make main
|
||||||
}
|
}
|
||||||
|
|
||||||
flash_microcontroller () {
|
flash_microcontroller () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue