Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
micropython.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2019 Kaspar Schleiser <kaspar@schleiser.de>
3
* SPDX-FileCopyrightText: 2019 Inria
4
* SPDX-FileCopyrightText: 2019 Freie Universität Berlin
5
* SPDX-License-Identifier: LGPL-2.1-only
6
*/
7
8
#pragma once
9
20
21
#include <stdint.h>
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
32
#ifndef MP_RIOT_HEAPSIZE
33
# define MP_RIOT_HEAPSIZE (16U*1024)
34
#endif
35
40
#ifndef MP_STACK_SAFEAREA
41
# define MP_STACK_SAFEAREA (128U)
42
#endif
43
50
void
mp_riot_init
(
char
* heap,
size_t
heap_size);
51
59
void
mp_riot_deinit
(
void
);
60
61
#ifdef __cplusplus
62
}
63
#endif
64
mp_riot_init
void mp_riot_init(char *heap, size_t heap_size)
Initialize RIOT MicroPython port.
mp_riot_deinit
void mp_riot_deinit(void)
Tear down RIOT MicroPython port.
Generated on Thu Sep 3 2026 21:30:13 by
1.13.2