Function esp_idf_sys::esp_efuse_set_rom_log_scheme
source · pub unsafe extern "C" fn esp_efuse_set_rom_log_scheme(
log_scheme: esp_efuse_rom_log_scheme_t,
) -> esp_err_t
Expand description
@brief Set boot ROM log scheme via eFuse
@note By default, the boot ROM will always print to console. This API can be called to set the log scheme only once per chip, once the value is changed from the default it can’t be changed again.
@param log_scheme Supported ROM log scheme @return - ESP_OK If the eFuse was successfully burned, or had already been burned. - ESP_ERR_NOT_SUPPORTED (ESP32 only) This SoC is not capable of setting ROM log scheme - ESP_ERR_INVALID_STATE This eFuse is write protected or has been burned already