ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
port_esp_hosted_host_uart.h File Reference

esp-hosted port header: UART transport buffer size. More...

#include <stdint.h>
#include "esp_hosted_transport.h"
Include dependency graph for port_esp_hosted_host_uart.h:

Go to the source code of this file.

Macros

#define MAX_TRANSPORT_BUFFER_SIZE   (ESP_TRANSPORT_UART_MAX_BUF_SIZE)
 Bytes framed in one UART transport packet.

Detailed Description

esp-hosted port header: UART transport buffer size.

Tag
[Ring 4 / PORT] {World: NS}

One of the ten port headers the vendored esp-hosted core includes by name (see docs/SOUP/esp-hosted-host.md). This project selects the full-duplex SPI transport, but transport selection is a preprocessor chain evaluated inside shared vendored files, so the UART header must exist with its upstream name and its one upstream macro.

Since
0.1.0

Definition in file port_esp_hosted_host_uart.h.

Macro Definition Documentation

◆ MAX_TRANSPORT_BUFFER_SIZE

#define MAX_TRANSPORT_BUFFER_SIZE   (ESP_TRANSPORT_UART_MAX_BUF_SIZE)

Bytes framed in one UART transport packet.

Derived from the vendored ESP_TRANSPORT_UART_MAX_BUF_SIZE (1600). The UART transport carries the same esp-hosted payload header as the SPI one, so the frame size matches; only the pacing differs.

Note
Read-only build configuration.
Warning
Only meaningful when H_TRANSPORT_IN_USE == H_TRANSPORT_UART.
Example:
uint8_t *buf = malloc(MAX_TRANSPORT_BUFFER_SIZE);
#define MAX_TRANSPORT_BUFFER_SIZE
Bytes framed in one UART transport packet.
Since
0.1.0

Definition at line 44 of file port_esp_hosted_host_uart.h.