MicroPython port configuration for RIOT. More...
MicroPython port configuration for RIOT.
Definition in file mpconfigport.h.
#include <stdlib.h>#include <stdint.h>#include "kernel_defines.h"#include "irq.h"#include "stdio_base.h"
Include dependency graph for mpconfigport.h:Go to the source code of this file.
Typedefs | |
| typedef intptr_t | mp_int_t |
| typedef uintptr_t | mp_uint_t |
| typedef long | mp_off_t |
Functions | |
| void | mp_riot_sched_hook (void) |
| #define MICROPY_BEGIN_ATOMIC_SECTION | ( | ) |
Definition at line 110 of file mpconfigport.h.
| #define MICROPY_COMP_CONST (1) |
Definition at line 39 of file mpconfigport.h.
| #define MICROPY_COMP_CONST_FOLDING (1) |
Definition at line 38 of file mpconfigport.h.
| #define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN (1) |
Definition at line 40 of file mpconfigport.h.
| #define MICROPY_CPYTHON_COMPAT (1) |
Definition at line 41 of file mpconfigport.h.
| #define MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF (1) |
Definition at line 46 of file mpconfigport.h.
| #define MICROPY_ENABLE_GC (1) |
Definition at line 42 of file mpconfigport.h.
| #define MICROPY_ENABLE_SCHEDULER (1) |
Definition at line 43 of file mpconfigport.h.
| #define MICROPY_ENABLE_SOURCE_LINE (1) |
Definition at line 45 of file mpconfigport.h.
| #define MICROPY_END_ATOMIC_SECTION | ( | state | ) |
Definition at line 111 of file mpconfigport.h.
| #define MICROPY_EPOCH_IS_1970 (1) |
Definition at line 81 of file mpconfigport.h.
| #define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_FLOAT) |
Definition at line 95 of file mpconfigport.h.
| #define MICROPY_FLOAT_USE_NATIVE_FLT16 (0) |
Definition at line 96 of file mpconfigport.h.
| #define MICROPY_HELPER_REPL (1) |
Definition at line 47 of file mpconfigport.h.
| #define MICROPY_HW_BOARD_NAME "riot-" RIOT_BOARD |
Definition at line 101 of file mpconfigport.h.
| #define MICROPY_HW_MCU_NAME RIOT_CPU |
Definition at line 102 of file mpconfigport.h.
| #define MICROPY_KBD_EXCEPTION (0) |
Definition at line 48 of file mpconfigport.h.
| #define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_LONGLONG) |
Definition at line 93 of file mpconfigport.h.
| #define MICROPY_MODULE_FROZEN_STR (0) |
Definition at line 104 of file mpconfigport.h.
| #define MICROPY_PORT_ROOT_POINTERS const char *readline_hist[8]; |
Definition at line 116 of file mpconfigport.h.
| #define MICROPY_PY_ARRAY (1) |
Definition at line 49 of file mpconfigport.h.
| #define MICROPY_PY_ARRAY_SLICE_ASSIGN (1) |
Definition at line 50 of file mpconfigport.h.
| #define MICROPY_PY_ASYNC_AWAIT (0) |
Definition at line 51 of file mpconfigport.h.
| #define MICROPY_PY_ATTRTUPLE (1) |
Definition at line 52 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_BYTEARRAY (1) |
Definition at line 53 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_COMPLEX (0) |
Definition at line 97 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_ENUMERATE (1) |
Definition at line 54 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_FILTER (1) |
Definition at line 55 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_HELP (1) |
Definition at line 56 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_HELP_MODULES (1) |
Definition at line 57 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_HELP_TEXT riot_help_text |
Definition at line 58 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_MEMORYVIEW (1) |
Definition at line 59 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_MIN_MAX (1) |
Definition at line 60 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_PROPERTY (1) |
Definition at line 61 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_RANGE_ATTRS (1) |
Definition at line 62 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_REVERSED (1) |
Definition at line 63 of file mpconfigport.h.
| #define MICROPY_PY_BUILTINS_SET (1) |
Definition at line 64 of file mpconfigport.h.
| #define MICROPY_PY_CMATH (1) |
Definition at line 65 of file mpconfigport.h.
| #define MICROPY_PY_COLLECTIONS (1) |
Definition at line 66 of file mpconfigport.h.
| #define MICROPY_PY_IO (0) |
Definition at line 71 of file mpconfigport.h.
| #define MICROPY_PY_MACHINE (1) |
Definition at line 73 of file mpconfigport.h.
| #define MICROPY_PY_MACHINE_PIN_MAKE_NEW mp_pin_make_new |
Definition at line 74 of file mpconfigport.h.
| #define MICROPY_PY_MACHINE_SPI_MAKE_NEW machine_hw_spi_make_new |
Definition at line 76 of file mpconfigport.h.
| #define MICROPY_PY_MICROPYTHON_MEM_INFO (1) |
Definition at line 72 of file mpconfigport.h.
| #define MICROPY_PY_STRUCT (1) |
Definition at line 75 of file mpconfigport.h.
| #define MICROPY_PY_SYS_MODULES (1) |
Definition at line 86 of file mpconfigport.h.
| #define MICROPY_PY_SYS_PLATFORM "RIOT" |
Definition at line 99 of file mpconfigport.h.
| #define MICROPY_PY_TIME (1) |
Definition at line 82 of file mpconfigport.h.
| #define MICROPY_PY_TIME_GMTIME_LOCALTIME_MKTIME (1) |
Definition at line 83 of file mpconfigport.h.
| #define MICROPY_PY_TIME_INCLUDEFILE "modtime_riot.c" |
Definition at line 85 of file mpconfigport.h.
| #define MICROPY_PY_TIME_TIME_TIME_NS (1) |
Definition at line 84 of file mpconfigport.h.
| #define MICROPY_REPL_AUTO_INDENT (1) |
Definition at line 67 of file mpconfigport.h.
| #define MICROPY_REPL_STDIN_BUFFER_MAX (STDIO_RX_BUFSIZE) |
Definition at line 68 of file mpconfigport.h.
| #define MICROPY_SCHED_HOOK_SCHEDULED mp_riot_sched_hook() |
Definition at line 114 of file mpconfigport.h.
| #define MICROPY_SCHEDULER_STATIC_NODES (1) |
Definition at line 44 of file mpconfigport.h.
| #define MICROPY_STACK_CHECK (1) |
Definition at line 69 of file mpconfigport.h.
| #define MICROPY_USE_INTERNAL_PRINTF (0) |
Definition at line 70 of file mpconfigport.h.
| #define MP_STATE_PORT MP_STATE_VM |
Definition at line 118 of file mpconfigport.h.
| typedef intptr_t mp_int_t |
Definition at line 106 of file mpconfigport.h.
| typedef long mp_off_t |
Definition at line 108 of file mpconfigport.h.
| typedef uintptr_t mp_uint_t |
Definition at line 107 of file mpconfigport.h.