Trident IoT SDK
Loading...
Searching...
No Matches
tr_hal_config.h
Go to the documentation of this file.
1
10#ifndef TR_HAL_CONFIG_H
11#define TR_HAL_CONFIG_H
12#include "tr_printf.h"
13#include "tr_hal_gpio.h"
14#include "tr_hal_uart.h"
15
16#define UART_DBG_PORT_ID 0
17#define GPIO_UART_DBG_RX (tr_hal_gpio_pin_t){ 16 }
18#define GPIO_UART_DBG_TX (tr_hal_gpio_pin_t){ 17 }
19
20#if PRINT_ENABLE == 1
21#define PRINT(...) tr_printf(__VA_ARGS__)
22#else
23#define PRINT(...)
24#endif
25
26void debug_init(void);
27
28#endif /* TR_HAL_CONFIG_H */
void debug_init(void)
This is the common include file for the Trident HAL GPIO Driver.
This is the common include file for the Trident HAL UART Driver.
A simple printf utility for debug prints and cli support. Required for remote CLI to function properl...