ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
sdkconfig.h
Go to the documentation of this file.
1
46
47#pragma once
48
49/* ----------------------------------------------------------------------- */
50/* Defined: role and feature switches this build turns ON */
51/* ----------------------------------------------------------------------- */
52
74#define CONFIG_ESP_HOSTED_ENABLED (1)
75
109#define CONFIG_ESP_HOSTED_USE_MEMPOOL (0)
110
132#define CONFIG_ESP_HOSTED_DFLT_TASK_STACK (4096)
133
134/* ----------------------------------------------------------------------- */
135/* Defined to zero: bare-#if symbols this build turns OFF */
136/* */
137/* These must exist even when off, because the vendored code tests them with */
138/* a bare #if and this project builds with -Wundef. */
139/* ----------------------------------------------------------------------- */
140
164#define CONFIG_H_LOWER_MEMCOPY (0)
165
191#define CONFIG_ESP_HOSTED_WIFI_AUTO_CONNECT_ON_STA_START (0)
192
213#define CONFIG_ESP_WIFI_ENABLE_WIFI_TX_STATS (0)
214
232#define CONFIG_ESP_WIFI_ENABLE_WIFI_RX_STATS (0)
233
234/*
235 * -------------------------------------------------------------------------
236 * Left UNDEFINED, on purpose. Each of these is tested with #ifdef, #ifndef or
237 * `#if defined(X) && X`, so defining it -- even to zero -- would switch the
238 * feature ON or change which branch compiles. They are listed here rather than
239 * omitted so that "why is this not in sdkconfig.h" has an answer in the file
240 * itself. Doxygen is not used on this block: a documented @def for a symbol
241 * that does not exist would put a name in the generated docs that no
242 * translation unit can see.
243 *
244 * CONFIG_ESP_HOSTED_COPROCESSOR
245 * #ifdef, in esp_hosted_cli.{c,h}. This build is the host, not the
246 * ESP32-C6. Defining it would select the co-processor include set
247 * (iperf.h, wifi_cmd.h, host_power_save.h), none of which exists here.
248 *
249 * CONFIG_ESP_HOSTED_CLI_ENABLED
250 * #ifdef, in esp_hosted_cli.h, and only consulted inside the
251 * CONFIG_ESP_HOSTED_COPROCESSOR branch: the CLI is a co-processor-side
252 * console. Leaving it undefined is what leaves H_ESP_HOSTED_CLI_ENABLED
253 * undefined, which in turn is what makes the whole body of
254 * esp_hosted_cli.c -- with its esp_console.h, freertos/, esp_wifi.h and
255 * lwip/sockets.h includes -- compile away to nothing. This is also why
256 * esp_err_to_name() is not declared in esp_err.h.
257 *
258 * CONFIG_ESP_HOSTED_CLI_NEW_INSTANCE
259 * #ifdef, in esp_hosted_cli.c. Chooses between two ESP-IDF console
260 * initialisation styles inside code that is already switched off.
261 *
262 * CONFIG_ESP_HOSTED_FW_VERSION_MISMATCH_WARNING_SUPPRESS
263 * #ifndef, twice in transport_drv.c. Undefined, so the warning is KEPT:
264 * a co-processor image whose esp-hosted version does not match this
265 * host's is exactly the fault this port most wants announced, and
266 * coprocessor/esp32c6/pins.env pins both ends precisely so the two agree.
267 *
268 * CONFIG_ESP_WIFI_NVS_ENABLED
269 * #ifdef, in rpc_wrap.c, where it sets nvs_enable in the wifi_init RPC.
270 * Undefined: NVS is ESP-IDF's key-value store in the ESP32's own flash.
271 * This host has no NVS, and asking the co-processor to persist Wi-Fi
272 * credentials on the host's behalf is a decision the application layer
273 * should make explicitly if it ever wants it.
274 *
275 * CONFIG_IDF_TARGET
276 * #ifdef, in sdio_drv.c, where its presence means "the host is itself an
277 * Espressif part" and lowers the maximum-SDIO-clock advisory from
278 * 50 MHz to 40 MHz. The RA8D2 is not an Espressif part, so the symbol
279 * stays undefined and the 50 MHz branch compiles -- which is correct
280 * regardless, since SDIO is not the transport in use.
281 *
282 * CONFIG_ESP_HOSTED_CP_EXT_COEX
283 * CONFIG_ESP_HOSTED_CP_EXT_COEX_ADVANCE
284 * `#if defined(X) && X`, in api/include/esp_hosted_cp_ext_coex.h. External
285 * radio coexistence needs a second radio sharing the antenna and a wired
286 * arbitration signal to it; this board has neither.
287 *
288 * CONFIG_HEAP_TRACING
289 * CONFIG_FREERTOS_USE_TRACE_FACILITY
290 * CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS
291 * #ifdef / #ifndef, all in esp_hosted_cli.c. Each names an ESP-IDF or
292 * FreeRTOS instrumentation facility that does not exist in this build.
293 *
294 * CONFIG_ESP_CONSOLE_UART_DEFAULT
295 * CONFIG_ESP_CONSOLE_UART_CUSTOM
296 * CONFIG_ESP_CONSOLE_USB_CDC
297 * CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG
298 * #if defined / #elif defined, in esp_hosted_cli.c. They pick which
299 * ESP32 peripheral the CLI console binds to. This port's console is an
300 * RA8 SCI UART reached through esp_log.h's writer, and the CLI is off.
301 * -------------------------------------------------------------------------
302 */