Commit Graph

46 Commits (2cd166b57370ab4877ec2d9666225faeac6127ce)

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