v2.0.0
lwip_freertos.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Raspberry Pi (Trading) Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef _PICO_LWIP_FREERTOS_H
8#define _PICO_LWIP_FREERTOS_H
9
10#include "pico.h"
11#include "pico/async_context.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
35bool lwip_freertos_init(async_context_t *context);
36
47 void lwip_freertos_deinit(async_context_t *context);
48
49#ifdef __cplusplus
50}
51#endif
52#endif
async_context.h
lwip_freertos_deinit
void lwip_freertos_deinit(async_context_t *context)
De-initialize lwIP (NO_SYS=0 mode) support for FreeRTOS.
lwip_freertos_init
bool lwip_freertos_init(async_context_t *context)
Initializes lwIP (NO_SYS=0 mode) support support for FreeRTOS using the provided async_context.
Definition: lwip_freertos.c:27
pico.h
async_context
Base structure type of all async_contexts. For details about its use, see pico_async_context.
Definition: async_context.h:179