TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
test_framework_helpers.c File Reference
#include "test_framework_helpers.h"
#include <stdio.h>
Include dependency graph for test_framework_helpers.c:

Go to the source code of this file.

Functions

const char * asset_perms_to_str (uint8_t permissions)
 Translates asset permissions into a string. More...
 
void printf_set_color (enum serial_color_t color_id)
 Sets the the text color in the serial port. More...
 

Function Documentation

const char* asset_perms_to_str ( uint8_t  permissions)

Translates asset permissions into a string.

Parameters
[in]permissionsAsset permissions value.
Returns
asset permissions as string.

Definition at line 12 of file test_framework_helpers.c.

void printf_set_color ( enum serial_color_t  color_id)

Sets the the text color in the serial port.

Parameters
[in]color_idSerial foreground color.
Returns
0 if the message is send successfully, 1 otherwise.

Definition at line 37 of file test_framework_helpers.c.

Here is the caller graph for this function: