Function esp_idf_svc::sys::esp_efuse_set_rom_log_scheme
source · pub unsafe extern "C" fn esp_efuse_set_rom_log_scheme(
log_scheme: u32,
) -> i32
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