Software APIs
sw
device
lib
testing
test_framework
ujson_ottf.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 "sw/device/lib/testing/test_framework/ujson_ottf.h"
6
7
#include "sw/device/lib/base/status.h"
8
#include "
sw/device/lib/dif/dif_uart.h
"
9
#include "sw/device/lib/testing/test_framework/ottf_console.h"
10
#include "sw/device/lib/ujson/ujson.h"
11
12
ujson_t
ujson_ottf_console(
void
) {
13
return
ujson_init(ottf_console_get(), ottf_console_getc, ottf_console_putbuf);
14
}
Return to
OpenTitan Documentation