TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
test_framework_helpers.h File Reference
#include <stdint.h>
#include "psa/protected_storage.h"
#include "test_framework.h"
Include dependency graph for test_framework_helpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  serial_color_t {
  BLACK = 0, RED = 1, GREEN = 2, YELLOW = 3,
  BLUE = 4, MAGENDA = 5, CYAN = 6, WHITE = 7
}
 

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...
 

Enumeration Type Documentation

Enumerator
BLACK 
RED 
GREEN 
YELLOW 
BLUE 
MAGENDA 
CYAN 
WHITE 

Definition at line 19 of file test_framework_helpers.h.

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: