TF-M Reference Manual
1.2.0
TrustedFirmware-M
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
test_framework_helpers.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2017-2020, Arm Limited. All rights reserved.
3
*
4
* SPDX-License-Identifier: BSD-3-Clause
5
*
6
*/
7
8
#ifndef __TEST_FRAMEWORK_HELPERS_H__
9
#define __TEST_FRAMEWORK_HELPERS_H__
10
11
#include <stdint.h>
12
#include "
psa/protected_storage.h
"
13
#include "
test_framework.h
"
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
19
enum
serial_color_t
{
20
BLACK
= 0,
21
RED
= 1,
22
GREEN
= 2,
23
YELLOW
= 3,
24
BLUE
= 4,
25
MAGENDA
= 5,
26
CYAN
= 6,
27
WHITE
= 7,
28
};
29
37
const
char
*
asset_perms_to_str
(uint8_t permissions);
38
46
void
printf_set_color
(
enum
serial_color_t
color_id);
47
48
#ifdef __cplusplus
49
}
50
#endif
51
52
#endif
/* __TEST_FRAMEWORK_HELPERS_H__ */
WHITE
Definition:
test_framework_helpers.h:27
YELLOW
Definition:
test_framework_helpers.h:23
BLACK
Definition:
test_framework_helpers.h:20
protected_storage.h
printf_set_color
void printf_set_color(enum serial_color_t color_id)
Sets the the text color in the serial port.
Definition:
test_framework_helpers.c:37
BLUE
Definition:
test_framework_helpers.h:24
MAGENDA
Definition:
test_framework_helpers.h:25
test_framework.h
GREEN
Definition:
test_framework_helpers.h:22
asset_perms_to_str
const char * asset_perms_to_str(uint8_t permissions)
Translates asset permissions into a string.
Definition:
test_framework_helpers.c:12
serial_color_t
serial_color_t
Definition:
test_framework_helpers.h:19
RED
Definition:
test_framework_helpers.h:21
CYAN
Definition:
test_framework_helpers.h:26
test
framework
test_framework_helpers.h
Generated on Thu Feb 18 2021 13:29:11 for TF-M Reference Manual by
1.8.6