The MicroPython project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Matt Trentini 0bc1d10557 rp2/Makefile: Add support for BOARD_VARIANTS. 3 weeks ago
..
argcheck.c py: Add option to compile without any error messages at all. 1 year ago
asmarm.c py/asmarm: Add asm_arm_ldrh_reg_reg_offset() helper func. 4 months ago
asmarm.h py/asm: Add ASM_LOAD16_REG_REG_OFFSET macro for load-u16 with offset. 4 months ago
asmbase.c py/emit: Suppress unreachable bytecode/native code that follows jump. 3 months ago
asmbase.h py/emit: Suppress unreachable bytecode/native code that follows jump. 3 months ago
asmthumb.c py/asmthumb: Provide implementations of clz/ctz for msvc. 4 months ago
asmthumb.h py/asmthumb: Make ARMv7-M instruction use dynamically selectable. 4 months ago
asmx64.c py/asmx64: Support full range of regs in asm_x64_lea_disp_to_r64. 5 months ago
asmx64.h py/asm: Add ASM_LOAD16_REG_REG_OFFSET macro for load-u16 with offset. 4 months ago
asmx86.c py/asm: Add funcs/macros to emit machine code for logical-shift-right. 2 years ago
asmx86.h py/asm: Add ASM_LOAD16_REG_REG_OFFSET macro for load-u16 with offset. 4 months ago
asmxtensa.c py/asmxtensa: Fix use of l32i/s32i when offset won't fit in encoding. 6 months ago
asmxtensa.h py/asm: Add ASM_LOAD16_REG_REG_OFFSET macro for load-u16 with offset. 4 months ago
bc.c py/bc: Remove unused mp_opcode_format function. 4 months ago
bc.h py/bc: Remove unused mp_opcode_format function. 4 months ago
bc0.h py: Change jump-if-x-or-pop opcodes to have unsigned offset argument. 6 months ago
binary.c py: Clean up formatting of union definitions. 1 month ago
binary.h py/binary: Change mp_uint_t to size_t for index, size, align args. 3 years ago
builtin.h py/builtinimport: Allow overriding of mp_builtin___import__. 1 month ago
builtinevex.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
builtinhelp.c py/obj: Add accessors for type slots and use everywhere. 1 week ago
builtinimport.c py/builtinimport: Allow overriding of mp_builtin___import__. 1 month ago
compile.c py/compile: Support large integers in inline-asm data directive. 2 months ago
compile.h py: Rework bytecode and .mpy file format to be mostly static data. 7 months ago
dynruntime.h py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
dynruntime.mk py/dynruntime.mk: Allow building assembly source in natmods. 2 months ago
emit.h py/emit: Remove logic to detect last-emit-was-return-value. 3 months ago
emitbc.c py/emit: Suppress unreachable bytecode/native code that follows jump. 3 months ago
emitcommon.c py/compile: De-duplicate constant objects in module's constant table. 4 months ago
emitglue.c py/emitnative: Access qstr values using indirection table qstr_table. 4 months ago
emitglue.h py/emitnative: Access qstr values using indirection table qstr_table. 4 months ago
emitinlinethumb.c py/emitinlinethumb: Make float instruction use dynamically selectable. 4 months ago
emitinlinextensa.c py: Use unsigned comparison of chars. 2 years ago
emitnarm.c py/emitnative: Access qstr values using indirection table qstr_table. 4 months ago
emitnative.c py/emitnative: Fix STORE_ATTR viper code-gen when value is not a pyobj. 3 months ago
emitnthumb.c py/emitnative: Access qstr values using indirection table qstr_table. 4 months ago
emitnx64.c py/emitnative: Access qstr values using indirection table qstr_table. 4 months ago
emitnx86.c py/emitnative: Access qstr values using indirection table qstr_table. 4 months ago
emitnxtensa.c py/emitnative: Access qstr values using indirection table qstr_table. 4 months ago
emitnxtensawin.c py/emitnative: Access qstr values using indirection table qstr_table. 4 months ago
formatfloat.c py/formatfloat: Use pow(10, e) instead of pos/neg_pow lookup tables. 2 months ago
formatfloat.h all: Use the name MicroPython consistently in comments 5 years ago
frozenmod.c py: Rework bytecode and .mpy file format to be mostly static data. 7 months ago
frozenmod.h py/builtin: Clean up and simplify import_stat and builtin_open config. 4 months ago
gc.c py/gc: Reduce code size when MICROPY_GC_SPLIT_HEAP is disabled. 2 months ago
gc.h py/gc: Allow the GC heap to be split over multiple memory areas. 2 months ago
grammar.h py/compile: Implement PEP 526, syntax for variable annotations. 2 years ago
lexer.c py/persistentcode: Remove unicode feature flag from .mpy file. 5 months ago
lexer.h py/builtin: Clean up and simplify import_stat and builtin_open config. 4 months ago
make_root_pointers.py py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. 2 months ago
makecompresseddata.py py/makecompresseddata.py: Make compression deterministic. 2 years ago
makemoduledefs.py py/makemoduledefs.py: Emit useful error for legacy MP_REGISTER_MODULE. 4 months ago
makeqstrdata.py py/qstr: Separate hash and len from string data. 8 months ago
makeqstrdefs.py py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. 2 months ago
makeversionhdr.py py/makeversionhdr: Add --tags arg to git describe. 1 year ago
malloc.c py/malloc: Introduce m_tracked_calloc, m_tracked_free functions. 5 months ago
map.c py/obj: Add static safety checks to mp_obj_is_type(). 2 months ago
misc.h py/objtype: Optimise slot RAM usage for instance types. 1 week ago
mkenv.mk all: Fix paths to mpy-cross and micropython binaries. 2 months ago
mkrules.cmake rp2/Makefile: Add support for BOARD_VARIANTS. 3 days ago
mkrules.mk py/mkrules.mk: Add link to build troubleshooting on failure. 2 weeks ago
modarray.c all: Remove third argument to MP_REGISTER_MODULE. 4 months ago
modbuiltins.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
modcmath.c all: Remove third argument to MP_REGISTER_MODULE. 4 months ago
modcollections.c all: Remove third argument to MP_REGISTER_MODULE. 4 months ago
modgc.c all: Remove third argument to MP_REGISTER_MODULE. 4 months ago
modio.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
modmath.c all: Remove third argument to MP_REGISTER_MODULE. 4 months ago
modmicropython.c all: Remove third argument to MP_REGISTER_MODULE. 4 months ago
modstruct.c py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 1 month ago
modsys.c py/modsys: Use MP_REGISTER_ROOT_POINTER(). 2 months ago
modthread.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
moduerrno.c all: Remove third argument to MP_REGISTER_MODULE. 4 months ago
mpconfig.h py/obj: Remove basic mp_obj_type_t sparse representation. 1 week ago
mperrno.h py/mperrno: Add MP_ECANCELED error code. 1 year ago
mphal.h all: Rename absolute time-based functions to include "epoch". 2 years ago
mpprint.c py/mpprint: Fix length calculation for strings with precision-modifier. 2 years ago
mpprint.h py/mpprint: Fix formatting typo with mp_print_ext_t struct name. 2 months ago
mpstate.c all: Use the name MicroPython consistently in comments 5 years ago
mpstate.h py/gc: Reduce code size when MICROPY_GC_SPLIT_HEAP is disabled. 2 months ago
mpthread.h all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
mpz.c py/mpz: Fix bugs with bitwise of -0 by ensuring all 0's are positive. 9 months ago
mpz.h py/mpz: Fix bugs with bitwise of -0 by ensuring all 0's are positive. 9 months ago
nativeglue.c py/bc: Provide separate code-state setup funcs for bytecode and native. 5 months ago
nativeglue.h py/bc: Provide separate code-state setup funcs for bytecode and native. 5 months ago
nlr.c all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
nlr.h all: Reformat remaining C code that doesn't have a space after a comma. 5 months ago
nlraarch64.c py/nlraarch64: Add underscore prefix to function symbols for Darwin ABI. 1 year ago
nlrpowerpc.c py/nlrpowerpc: Fix generation of ppc64 code on ppc32 build. 2 months ago
nlrsetjmp.c py/nlr: Factor out common NLR code to macro and generic funcs in nlr.c. 5 years ago
nlrthumb.c all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
nlrx64.c py/nlrx64: Correct the detection of Darwin ABI. 1 year ago
nlrx86.c all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
nlrxtensa.c all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
obj.c py/obj: Merge getiter and iternext mp_obj_type_t slots. 1 week ago
obj.h py/obj: Optimise code size and performance for make_new as a slot. 1 week ago
objarray.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objarray.h py/objstr: Consolidate methods for str/bytes/bytearray/array. 2 months ago
objattrtuple.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objbool.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objboundmeth.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objcell.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objclosure.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objcomplex.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objdeque.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objdict.c py/obj: Optimise code size and performance for make_new as a slot. 1 week ago
objenumerate.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objexcept.c py/obj: Optimise code size and performance for make_new as a slot. 1 week ago
objexcept.h py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objfilter.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objfloat.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objfun.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objfun.h py: Rework bytecode and .mpy file format to be mostly static data. 7 months ago
objgenerator.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objgenerator.h all: Use the name MicroPython consistently in comments 5 years ago
objgetitemiter.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objint.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objint.h py/modsys: Use consistent naming pattern for module-level const objects. 2 years ago
objint_longlong.c py/obj: Add static safety checks to mp_obj_is_type(). 2 months ago
objint_mpz.c py/obj: Add static safety checks to mp_obj_is_type(). 2 months ago
objlist.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objlist.h py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objmap.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objmodule.c py/objmodule: Add support for __dict__. 1 week ago
objmodule.h py/objmodule: Support delegating failed attr lookups. 7 months ago
objnamedtuple.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objnamedtuple.h py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objnone.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objobject.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objpolyiter.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objproperty.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objrange.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objreversed.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objset.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objsingleton.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objslice.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objstr.c py/objstr: Don't treat bytes as unicode in str.count. 4 days ago
objstr.h py/objstr: Always validate utf-8 for mp_obj_new_str. 1 month ago
objstringio.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objstringio.h py/objstringio: If created from immutable object, follow copy on write policy. 5 years ago
objstrunicode.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objtuple.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
objtuple.h all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
objtype.c py/obj: Optimise code size and performance for make_new as a slot. 1 week ago
objtype.h py/obj: Optimise code size and performance for make_new as a slot. 1 week ago
objzip.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
opmethods.c py/obj: Add accessors for type slots and use everywhere. 1 week ago
pairheap.c py/pairheap: Properly unlink node on pop and delete. 3 years ago
pairheap.h py/pairheap: Add helper function to initialise a new node. 3 years ago
parse.c py/parse: Allow const types other than int to optimise as true/false. 6 days ago
parse.h py/parse: Factor obj extract code to mp_parse_node_extract_const_object. 6 months ago
parsenum.c py/objstr: Optimise mp_obj_new_str_from_vstr for known-safe strings. 1 month ago
parsenum.h py/parsenum: Optimise when building with complex disabled. 3 months ago
parsenumbase.c all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
parsenumbase.h all: Use the name MicroPython consistently in comments 5 years ago
persistentcode.c py: Include filename in errors from loading/saving files via "open". 1 week ago
persistentcode.h py/persistentcode: Introduce .mpy sub-version. 1 week ago
profile.c py/obj: Convert make_new into a mp_obj_type_t slot. 1 week ago
profile.h py: Rework bytecode and .mpy file format to be mostly static data. 7 months ago
py.cmake py/py.cmake: Introduce MICROPY_INC_CORE as a list with core includes. 1 year ago
py.mk py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. 2 months ago
pystack.c py: Introduce and use mp_raise_type_arg helper. 1 year ago
pystack.h all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
qstr.c py/qstr: Change qstr hash type from mp_uint_t to size_t. 2 months ago
qstr.h py/qstr: Change qstr hash type from mp_uint_t to size_t. 2 months ago
qstrdefs.h py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 7 months ago
reader.c py: Include filename in errors from loading/saving files via "open". 1 week ago
reader.h py: Allow lexer to raise exceptions during construction. 6 years ago
repl.c shared/readline: Make tab insert an indent when it follows whitespace. 5 months ago
repl.h py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 7 months ago
ringbuf.c py/ringbuf: Add peek16 method. 3 years ago
ringbuf.h extmod/modbluetooth: Make modbluetooth event not a bitfield. 2 years ago
runtime.c py/runtime: Add mp_raise_OSError_with_filename helper function. 1 week ago
runtime.h py/runtime: Add mp_raise_OSError_with_filename helper function. 1 week ago
runtime0.h py/obj: Add support for __float__ and __complex__ functions. 2 months ago
runtime_utils.c py: mp_call_function_*_protected(): Pass-thru return value if possible. 5 years ago
scheduler.c py/scheduler: Use MP_REGISTER_ROOT_POINTER(). 2 months ago
scope.c py: Rework bytecode and .mpy file format to be mostly static data. 7 months ago
scope.h py/emitcommon: Don't implicitly close class vars that are assigned to. 5 months ago
sequence.c all: Use MP_ERROR_TEXT for all error messages. 3 years ago
showbc.c py: Change jump-if-x-or-pop opcodes to have unsigned offset argument. 6 months ago
smallint.c all: Use the name MicroPython consistently in comments 5 years ago
smallint.h py/smallint: Introduce MP_SMALL_INT_BITS macro. 6 months ago
stackctrl.c all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
stackctrl.h py/stackctrl: Prevent unused-var warning when stack checking disabled. 1 year ago
stream.c py/obj: Add accessors for type slots and use everywhere. 1 week ago
stream.h py/obj: Add accessors for type slots and use everywhere. 1 week ago
unicode.c all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
unicode.h py/objstr: Add check for valid UTF-8 when making a str from bytes. 5 years ago
usermod.cmake rp2: Add support for USER_C_MODULES to CMake build system. 2 years ago
vm.c py/vm: Consistently indent #if guards to match the code they surround. 3 months ago
vmentrytable.h py/vmentrytable: Ignore GCC -Woverride-init. 2 years ago
vstr.c all: Reformat C and Python source code with tools/codeformat.py. 3 years ago
warning.c py: Update my copyright info on some files. 4 years ago