MicroPython RIOT specific API. More...
MicroPython RIOT specific API.
Definition in file micropython.h.
#include <stdint.h>
Go to the source code of this file.
#define | MP_RIOT_HEAPSIZE (16U*1024) |
#define | MP_STACK_SAFEAREA (128U) |
void | mp_riot_init (char *heap, size_t heap_size) |
Initialize RIOT MicroPython port. More... | |
void | mp_do_str (const char *src, int len) |
Execute a string as MicroPython code. More... | |
void mp_do_str | ( | const char * | src, |
int | len | ||
) |
Execute a string as MicroPython code.
The string will be executed on the global MicroPython instance.
[in] | src | pointer to Python code |
[in] | len | length of src |
void mp_riot_init | ( | char * | heap, |
size_t | heap_size | ||
) |
Initialize RIOT MicroPython port.
[in] | heap | ptr to heap MicroPython should use |
[in] | heap_size | size of heap |