libtropic
C library for TROPIC01 chip

◆ lt_get_log_req()

lt_ret_t lt_get_log_req ( lt_handle_t h,
uint8_t *  log_msg,
uint16_t *  log_msg_len 
)
Note
RISC-V FW logging can be disabled in the I/R-Config and for the production chips, it will be disabled. This function is used mainly for internal debugging and not expected to be used by the user.
Parameters
hDevice's handle
log_msgBuffer for the log message (atleast 255B)
log_msg_lenLength of the log message
Return values
LT_OKFunction executed successfully
otherFunction did not execute successully, you might use lt_ret_verbose() to get verbose encoding of returned value