Numworks Epsilon  1.4.1
Graphing Calculator Operating System
mpconfigport.h File Reference
#include <stdint.h>
#include "helpers.h"
#include <alloca.h>

Go to the source code of this file.

Macros

#define MICROPY_ENABLE_COMPILER   (1)
 
#define MICROPY_QSTR_BYTES_IN_HASH   (1)
 
#define MICROPY_ALLOC_PATH_MAX   (256)
 
#define MICROPY_ALLOC_PARSE_CHUNK_INIT   (16)
 
#define MICROPY_EMIT_X64   (0)
 
#define MICROPY_EMIT_THUMB   (0)
 
#define MICROPY_EMIT_INLINE_THUMB   (0)
 
#define MICROPY_COMP_MODULE_CONST   (0)
 
#define MICROPY_COMP_CONST   (0)
 
#define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN   (0)
 
#define MICROPY_COMP_TRIPLE_TUPLE_ASSIGN   (0)
 
#define MICROPY_MEM_STATS   (0)
 
#define MICROPY_DEBUG_PRINTERS   (0)
 
#define MICROPY_ENABLE_GC   (1)
 
#define MICROPY_GC_ALLOC_THRESHOLD   (0)
 
#define MICROPY_STACK_CHECK   (1)
 
#define MICROPY_REPL_EVENT_DRIVEN   (0)
 
#define MICROPY_HELPER_REPL   (1)
 
#define MICROPY_HELPER_LEXER_UNIX   (0)
 
#define MICROPY_ENABLE_SOURCE_LINE   (1)
 
#define MICROPY_ENABLE_DOC_STRING   (0)
 
#define MICROPY_ERROR_REPORTING   (MICROPY_ERROR_REPORTING_DETAILED)
 
#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG   (0)
 
#define MICROPY_PY_ASYNC_AWAIT   (0)
 
#define MICROPY_PY_BUILTINS_BYTEARRAY   (0)
 
#define MICROPY_PY_BUILTINS_MEMORYVIEW   (0)
 
#define MICROPY_PY_BUILTINS_ENUMERATE   (0)
 
#define MICROPY_PY_BUILTINS_FILTER   (0)
 
#define MICROPY_PY_BUILTINS_FROZENSET   (0)
 
#define MICROPY_PY_BUILTINS_REVERSED   (0)
 
#define MICROPY_PY_BUILTINS_SET   (0)
 
#define MICROPY_PY_BUILTINS_PROPERTY   (0)
 
#define MICROPY_PY___FILE__   (0)
 
#define MICROPY_PY_GC   (0)
 
#define MICROPY_PY_ARRAY   (0)
 
#define MICROPY_PY_ATTRTUPLE   (0)
 
#define MICROPY_PY_COLLECTIONS   (0)
 
#define MICROPY_PY_MATH   (1)
 
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS   (1)
 
#define MICROPY_PY_CMATH   (1)
 
#define MICROPY_PY_IO   (0)
 
#define MICROPY_PY_STRUCT   (0)
 
#define MICROPY_PY_SYS   (0)
 
#define MICROPY_MODULE_FROZEN_MPY   (0)
 
#define MICROPY_CPYTHON_COMPAT   (0)
 
#define MICROPY_LONGINT_IMPL   (MICROPY_LONGINT_IMPL_MPZ)
 
#define MICROPY_FLOAT_IMPL   (MICROPY_FLOAT_IMPL_DOUBLE)
 
#define MICROPY_PY_URANDOM   (1)
 
#define MICROPY_PY_URANDOM_EXTRA_FUNCS   (1)
 
#define MICROPY_VM_HOOK_LOOP   micropython_port_should_interrupt();
 
#define MICROPY_MAKE_POINTER_CALLABLE(p)   ((void*)((mp_uint_t)(p) | 1))
 
#define UINT_FMT   "%u"
 
#define INT_FMT   "%d"
 
#define SEEK_CUR   1
 
#define MP_PLAT_PRINT_STRN(str, len)   mp_hal_stdout_tx_strn_cooked(str, len)
 
#define MICROPY_PORT_BUILTINS
 
#define MICROPY_HW_BOARD_NAME   "minimal"
 
#define MICROPY_HW_MCU_NAME   "unknown-cpu"
 
#define MP_STATE_PORT   MP_STATE_VM
 
#define MICROPY_PORT_ROOT_POINTERS   const char *readline_hist[8];
 
#define MICROPY_PORT_BUILTIN_MODULES   { MP_ROM_QSTR(MP_QSTR_kandinsky), MP_ROM_PTR(&kandinsky_module) }
 
#define MICROPY_KBD_EXCEPTION   (1)
 

Typedefs

typedef intptr_t mp_int_t
 
typedef uintptr_t mp_uint_t
 
typedef long mp_off_t
 

Variables

const struct _mp_obj_module_t kandinsky_module
 

Macro Definition Documentation

◆ INT_FMT

#define INT_FMT   "%d"

Definition at line 72 of file mpconfigport.h.

◆ MICROPY_ALLOC_PARSE_CHUNK_INIT

#define MICROPY_ALLOC_PARSE_CHUNK_INIT   (16)

Definition at line 14 of file mpconfigport.h.

◆ MICROPY_ALLOC_PATH_MAX

#define MICROPY_ALLOC_PATH_MAX   (256)

Definition at line 13 of file mpconfigport.h.

◆ MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG

#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG   (0)

Definition at line 33 of file mpconfigport.h.

◆ MICROPY_COMP_CONST

#define MICROPY_COMP_CONST   (0)

Definition at line 19 of file mpconfigport.h.

◆ MICROPY_COMP_DOUBLE_TUPLE_ASSIGN

#define MICROPY_COMP_DOUBLE_TUPLE_ASSIGN   (0)

Definition at line 20 of file mpconfigport.h.

◆ MICROPY_COMP_MODULE_CONST

#define MICROPY_COMP_MODULE_CONST   (0)

Definition at line 18 of file mpconfigport.h.

◆ MICROPY_COMP_TRIPLE_TUPLE_ASSIGN

#define MICROPY_COMP_TRIPLE_TUPLE_ASSIGN   (0)

Definition at line 21 of file mpconfigport.h.

◆ MICROPY_CPYTHON_COMPAT

#define MICROPY_CPYTHON_COMPAT   (0)

Definition at line 55 of file mpconfigport.h.

◆ MICROPY_DEBUG_PRINTERS

#define MICROPY_DEBUG_PRINTERS   (0)

Definition at line 23 of file mpconfigport.h.

◆ MICROPY_EMIT_INLINE_THUMB

#define MICROPY_EMIT_INLINE_THUMB   (0)

Definition at line 17 of file mpconfigport.h.

◆ MICROPY_EMIT_THUMB

#define MICROPY_EMIT_THUMB   (0)

Definition at line 16 of file mpconfigport.h.

◆ MICROPY_EMIT_X64

#define MICROPY_EMIT_X64   (0)

Definition at line 15 of file mpconfigport.h.

◆ MICROPY_ENABLE_COMPILER

#define MICROPY_ENABLE_COMPILER   (1)

Definition at line 9 of file mpconfigport.h.

◆ MICROPY_ENABLE_DOC_STRING

#define MICROPY_ENABLE_DOC_STRING   (0)

Definition at line 31 of file mpconfigport.h.

◆ MICROPY_ENABLE_GC

#define MICROPY_ENABLE_GC   (1)

Definition at line 24 of file mpconfigport.h.

◆ MICROPY_ENABLE_SOURCE_LINE

#define MICROPY_ENABLE_SOURCE_LINE   (1)

Definition at line 30 of file mpconfigport.h.

◆ MICROPY_ERROR_REPORTING

#define MICROPY_ERROR_REPORTING   (MICROPY_ERROR_REPORTING_DETAILED)

Definition at line 32 of file mpconfigport.h.

◆ MICROPY_FLOAT_IMPL

#define MICROPY_FLOAT_IMPL   (MICROPY_FLOAT_IMPL_DOUBLE)

Definition at line 57 of file mpconfigport.h.

◆ MICROPY_GC_ALLOC_THRESHOLD

#define MICROPY_GC_ALLOC_THRESHOLD   (0)

Definition at line 25 of file mpconfigport.h.

◆ MICROPY_HELPER_LEXER_UNIX

#define MICROPY_HELPER_LEXER_UNIX   (0)

Definition at line 29 of file mpconfigport.h.

◆ MICROPY_HELPER_REPL

#define MICROPY_HELPER_REPL   (1)

Definition at line 28 of file mpconfigport.h.

◆ MICROPY_HW_BOARD_NAME

#define MICROPY_HW_BOARD_NAME   "minimal"

Definition at line 90 of file mpconfigport.h.

◆ MICROPY_HW_MCU_NAME

#define MICROPY_HW_MCU_NAME   "unknown-cpu"

Definition at line 91 of file mpconfigport.h.

◆ MICROPY_KBD_EXCEPTION

#define MICROPY_KBD_EXCEPTION   (1)

Definition at line 113 of file mpconfigport.h.

◆ MICROPY_LONGINT_IMPL

#define MICROPY_LONGINT_IMPL   (MICROPY_LONGINT_IMPL_MPZ)

Definition at line 56 of file mpconfigport.h.

◆ MICROPY_MAKE_POINTER_CALLABLE

#define MICROPY_MAKE_POINTER_CALLABLE (   p)    ((void*)((mp_uint_t)(p) | 1))

Definition at line 65 of file mpconfigport.h.

◆ MICROPY_MEM_STATS

#define MICROPY_MEM_STATS   (0)

Definition at line 22 of file mpconfigport.h.

◆ MICROPY_MODULE_FROZEN_MPY

#define MICROPY_MODULE_FROZEN_MPY   (0)

Definition at line 54 of file mpconfigport.h.

◆ MICROPY_PORT_BUILTIN_MODULES

#define MICROPY_PORT_BUILTIN_MODULES   { MP_ROM_QSTR(MP_QSTR_kandinsky), MP_ROM_PTR(&kandinsky_module) }

Definition at line 110 of file mpconfigport.h.

◆ MICROPY_PORT_BUILTINS

#define MICROPY_PORT_BUILTINS
Value:
{ MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj }, \
{ MP_OBJ_NEW_QSTR(MP_QSTR_input), (mp_obj_t)&mp_builtin_input_obj },
#define MP_OBJ_NEW_QSTR(qst)
Definition: obj.h:92
uint64_t mp_obj_t
Definition: obj.h:39

Definition at line 83 of file mpconfigport.h.

◆ MICROPY_PORT_ROOT_POINTERS

#define MICROPY_PORT_ROOT_POINTERS   const char *readline_hist[8];

Definition at line 104 of file mpconfigport.h.

◆ MICROPY_PY___FILE__

#define MICROPY_PY___FILE__   (0)

Definition at line 43 of file mpconfigport.h.

◆ MICROPY_PY_ARRAY

#define MICROPY_PY_ARRAY   (0)

Definition at line 45 of file mpconfigport.h.

◆ MICROPY_PY_ASYNC_AWAIT

#define MICROPY_PY_ASYNC_AWAIT   (0)

Definition at line 34 of file mpconfigport.h.

◆ MICROPY_PY_ATTRTUPLE

#define MICROPY_PY_ATTRTUPLE   (0)

Definition at line 46 of file mpconfigport.h.

◆ MICROPY_PY_BUILTINS_BYTEARRAY

#define MICROPY_PY_BUILTINS_BYTEARRAY   (0)

Definition at line 35 of file mpconfigport.h.

◆ MICROPY_PY_BUILTINS_ENUMERATE

#define MICROPY_PY_BUILTINS_ENUMERATE   (0)

Definition at line 37 of file mpconfigport.h.

◆ MICROPY_PY_BUILTINS_FILTER

#define MICROPY_PY_BUILTINS_FILTER   (0)

Definition at line 38 of file mpconfigport.h.

◆ MICROPY_PY_BUILTINS_FROZENSET

#define MICROPY_PY_BUILTINS_FROZENSET   (0)

Definition at line 39 of file mpconfigport.h.

◆ MICROPY_PY_BUILTINS_MEMORYVIEW

#define MICROPY_PY_BUILTINS_MEMORYVIEW   (0)

Definition at line 36 of file mpconfigport.h.

◆ MICROPY_PY_BUILTINS_PROPERTY

#define MICROPY_PY_BUILTINS_PROPERTY   (0)

Definition at line 42 of file mpconfigport.h.

◆ MICROPY_PY_BUILTINS_REVERSED

#define MICROPY_PY_BUILTINS_REVERSED   (0)

Definition at line 40 of file mpconfigport.h.

◆ MICROPY_PY_BUILTINS_SET

#define MICROPY_PY_BUILTINS_SET   (0)

Definition at line 41 of file mpconfigport.h.

◆ MICROPY_PY_CMATH

#define MICROPY_PY_CMATH   (1)

Definition at line 50 of file mpconfigport.h.

◆ MICROPY_PY_COLLECTIONS

#define MICROPY_PY_COLLECTIONS   (0)

Definition at line 47 of file mpconfigport.h.

◆ MICROPY_PY_GC

#define MICROPY_PY_GC   (0)

Definition at line 44 of file mpconfigport.h.

◆ MICROPY_PY_IO

#define MICROPY_PY_IO   (0)

Definition at line 51 of file mpconfigport.h.

◆ MICROPY_PY_MATH

#define MICROPY_PY_MATH   (1)

Definition at line 48 of file mpconfigport.h.

◆ MICROPY_PY_MATH_SPECIAL_FUNCTIONS

#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS   (1)

Definition at line 49 of file mpconfigport.h.

◆ MICROPY_PY_STRUCT

#define MICROPY_PY_STRUCT   (0)

Definition at line 52 of file mpconfigport.h.

◆ MICROPY_PY_SYS

#define MICROPY_PY_SYS   (0)

Definition at line 53 of file mpconfigport.h.

◆ MICROPY_PY_URANDOM

#define MICROPY_PY_URANDOM   (1)

Definition at line 58 of file mpconfigport.h.

◆ MICROPY_PY_URANDOM_EXTRA_FUNCS

#define MICROPY_PY_URANDOM_EXTRA_FUNCS   (1)

Definition at line 59 of file mpconfigport.h.

◆ MICROPY_QSTR_BYTES_IN_HASH

#define MICROPY_QSTR_BYTES_IN_HASH   (1)

Definition at line 11 of file mpconfigport.h.

◆ MICROPY_REPL_EVENT_DRIVEN

#define MICROPY_REPL_EVENT_DRIVEN   (0)

Definition at line 27 of file mpconfigport.h.

◆ MICROPY_STACK_CHECK

#define MICROPY_STACK_CHECK   (1)

Definition at line 26 of file mpconfigport.h.

◆ MICROPY_VM_HOOK_LOOP

#define MICROPY_VM_HOOK_LOOP   micropython_port_should_interrupt();

Definition at line 61 of file mpconfigport.h.

◆ MP_PLAT_PRINT_STRN

#define MP_PLAT_PRINT_STRN (   str,
  len 
)    mp_hal_stdout_tx_strn_cooked(str, len)

Definition at line 80 of file mpconfigport.h.

◆ MP_STATE_PORT

#define MP_STATE_PORT   MP_STATE_VM

Definition at line 102 of file mpconfigport.h.

◆ SEEK_CUR

#define SEEK_CUR   1

Definition at line 78 of file mpconfigport.h.

◆ UINT_FMT

#define UINT_FMT   "%u"

Definition at line 71 of file mpconfigport.h.

Typedef Documentation

◆ mp_int_t

typedef intptr_t mp_int_t

Definition at line 73 of file mpconfigport.h.

◆ mp_off_t

typedef long mp_off_t

Definition at line 76 of file mpconfigport.h.

◆ mp_uint_t

Definition at line 74 of file mpconfigport.h.

Variable Documentation

◆ kandinsky_module

const struct _mp_obj_module_t kandinsky_module

Definition at line 20 of file modkandinsky.c.