Describe the bug
While using the build.sh script, I noticed a syntax inconsistency that leads to a "command not found" error (Exit Code 127) when a build failure occurs. The script defines functions with the show_ prefix (e.g., show_info, show_err) but attempts to call them using the print_ prefix (e.g., print_info, print_err).
Additionally, the RTOS and other components require cmake and ninja to be installed on the host system, which are currently missing from the documentation's dependency list.
Proposed Fix
- Standardize all log calls to use the
print_info and print_error pattern.
I have already tested these changes locally and they fixed the masking of original build errors.
"Below is the corrected build.sh file."
*Reported by Dionezvi
(Human & Agro)*