Software APIs
sw
device
silicon_creator
manuf
tests
empty_functest.c
1
// Copyright lowRISC contributors (OpenTitan project).
2
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3
// SPDX-License-Identifier: Apache-2.0
4
5
#include <
stdbool.h
>
6
7
#include "
sw/device/lib/runtime/log.h
"
8
#include "
sw/device/lib/testing/test_framework/ottf_main.h
"
9
#include "sw/device/silicon_creator/lib/manifest_def.h"
10
11
OTTF_DEFINE_TEST_CONFIG();
12
13
bool
test_main
(
void
) {
14
#ifdef EMPTY_TEST_MSG
15
LOG_INFO
(EMPTY_TEST_MSG);
16
#endif
17
// Wait in a loop so that OpenOCD can connect to the TAP without the ROM
18
// resetting the chip.
19
while
(1) {
20
// Do nothing
21
}
22
return
true
;
23
}
Return to
OpenTitan Documentation