/** * @file cli_core.h * @brief Bootloader-side shim of the application's CLI output interface * (mcm-ddc-ble/inc/cli_core.h). Only the output helpers exist here; * the download-mode line editor and command table live in * boot_cli.c. Lets shared modules (app_bootset.c, app_ota.c) compile * unchanged in the BOOT_FIRMWARE build. */ #ifndef __CLI_CORE_H__ #define __CLI_CORE_H__ #ifdef __cplusplus extern "C" { #endif /* Output helpers: straight out on USART1 (polling TX, boot_usart.c) */ void cli_write(const char* str); void cli_printf(const char* fmt, ...); #ifdef __cplusplus } #endif #endif /* __CLI_CORE_H__ */