49 Commits (1d0423419b6da1f865ad73e1a95f26e724770ab7)

Author SHA1 Message Date
Damien George 24c3e9b283 py/modstruct: Fix struct.pack_into with unaligned offset of native type. 5 years ago
Tom McDermott 1022f9cc35 py/modstruct: Fix struct.unpack with unaligned offset of native type. 5 years ago
Damien George f03601779e extmod: Convert legacy uppercase macro names to lowercase. 6 years ago
Paul Sokolovsky 38151f35c1 extmod/moductypes: Add aliases for native C types. 6 years ago
Paul Sokolovsky 9d864bde04 extmod/moductypes: Implement __int__ for PTR. 6 years ago
Paul Sokolovsky 2411f42ccb extmod/moductypes: Make sizeof() accept "layout" parameter. 6 years ago
Paul Sokolovsky 9fbd12f2fa extmod/moductypes: Accept OrderedDict as a structure description. 6 years ago
Paul Sokolovsky 18f45d2e23 extmod/moductypes: Remove BITFIELD from aggregate types enum. 6 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Damien George 0f12082f5b py,extmod,stmhal: Use "static inline" for funcs that should be inline. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Paul Sokolovsky 9e8f316392 extmod/moductypes: Fix bigint handling for 32-bit ports. 8 years ago
Stefan Agner b84e1231c9 extmod/uctypes: Allow full 32-bit address range. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George b894551772 extmod/uctypes: Change param type from void* to byte*. 9 years ago
Damien George da161fd9f0 extmod/uctypes: Finish support for FLOAT32 and FLOAT64 types. 9 years ago
Damien George 12154b1774 extmod/uctypes: Use mp_binary_get_val helper when extracting value. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Dave Hylands 66d0c1052a extmod: Fix uctypes size calculation for bitfields 9 years ago
Antonin ENFRUN 26ed00118b uctypes: Implement assignment for scalar array 9 years ago
Paul Sokolovsky d4a874b81e extmod/moductypes: sizeof operation depends on layout type of structure. 9 years ago
Paul Sokolovsky add6f4556e extmod/moductypes: set_aligned(): Handle INT64/UINT64. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky 20f85feecc extmod/moductypes: When dealing with UINT64, use mp_obj_new_int_from_ull(). 9 years ago
Paul Sokolovsky 393d0c1679 extmod/moductypes: Implement buffer protocol. 9 years ago
Paul Sokolovsky 1679696612 moductypes: Swap address and descriptor args in constructor. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George b1bbe966c4 py: Combine load_attr and store_attr type methods into one (attr). 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George abc1959e2c py, unix, lib: Allow to compile with -Wold-style-definition. 10 years ago
Damien George 3765ea419a extmod: Prefix py/ for includes from py core directory. 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 10 years ago
Damien George be6d8be91e py: Rename mp_obj_int_get to mp_obj_int_get_truncated; fix struct.pack. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Paul Sokolovsky 8bb71f0b06 moductypes: Make .sizeof() work with bytearrays. 10 years ago
Paul Sokolovsky 6d287a6a02 moductypes: When dereferencing a field which is array of uint8, use bytearray. 10 years ago
Paul Sokolovsky 2559e13957 moductypes: Make sure we can apply .sizeof() to all aggregate types. 10 years ago
Damien George 9336ee320a py: Make mp_binary_set_val work on big endian machine. 10 years ago
Dave Hylands 39296b40d4 Fix timer overflow code. 10 years ago
Damien George e875e3882d extmod: Fix type-punned-ptr error. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George 105e32f1a5 stmhal: Enable moductypes by default. 10 years ago
Paul Sokolovsky 5f47ebbf82 moductypes: Remove debug inclusion of stdio.h . 10 years ago
Damien George bb4c6f35c6 py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself. 10 years ago
Paul Sokolovsky 2097c8b1e1 moductypes: Add symbolic constants to specify bitfield position/length. 10 years ago
Paul Sokolovsky 8215847b4d moductypes: Foreign data interface module, roughly based on ctype ideas. 11 years ago