MicroPython RIOT specific API. More...
MicroPython RIOT specific API.
Definition in file micropython.h.
#include <stdint.h> Include dependency graph for micropython.h:
 Include dependency graph for micropython.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. | |
| void | mp_do_str (const char *src, int len) | 
| Execute a string as MicroPython code. | |
| #define MP_RIOT_HEAPSIZE (16U*1024) | 
Definition at line 32 of file micropython.h.
| #define MP_STACK_SAFEAREA (128U) | 
Definition at line 36 of file micropython.h.
| 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 |