micropython/extmod
Radomir Dopieralski 219245e10f extmod/machine_i2c: Add support for the addrsize parameter in mem xfers.
The memory read/write I2C functions now take an optional keyword-only
parameter that specifies the number of bits in the memory address.
Only mem-addrs that are a multiple of 8-bits are supported (otherwise
the behaviour is undefined).

Due to the integer type used for the address, for values larger than 32
bits, only 32 bits of address will be sent, and the rest will be padded
with 0s. Right now no exception is raised when that happens. For values
smaller than 8, no address is sent. Also no exception then.

Tested with a VL6180 sensor, which has 16-bit register addresses.

Due to code refactoring, this patch reduces stmhal and esp8266 builds
by about 50 bytes.
2016-09-28 14:45:29 +10:00
..
crypto-algorithms
lwip-include
re1.5
uzlib extmod/uzlib/: Update uzlib to v2.0.3. 2016-09-24 16:07:18 +03:00
fsusermount.c esp8266/modous: Add os.umount method to unmount a filesystem. 2016-08-26 12:45:21 +10:00
fsusermount.h esp8266/modous: Add os.umount method to unmount a filesystem. 2016-08-26 12:45:21 +10:00
machine_i2c.c extmod/machine_i2c: Add support for the addrsize parameter in mem xfers. 2016-09-28 14:45:29 +10:00
machine_i2c.h
machine_mem.c
machine_mem.h
machine_pinbase.c extmod/machine_pinbase: Fix nanbox build. 2016-06-19 00:26:57 +03:00
machine_pinbase.h
machine_pulse.c
machine_pulse.h
machine_spi.c extmod: Add machine_spi with generic SPI C-protocol and helper methods. 2016-09-01 15:07:20 +10:00
machine_spi.h extmod: Add machine_spi with generic SPI C-protocol and helper methods. 2016-09-01 15:07:20 +10:00
misc.h
modbtree.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modframebuf.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modlwip.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modubinascii.c extmod/modubinascii: Fix crc32() function on 32-bit platforms. 2016-09-21 21:40:18 +03:00
modubinascii.h extmod/modubinascii: implement binascii.crc32 2016-08-24 10:42:46 +02:00
moductypes.c extmod/uctypes: Allow full 32-bit address range. 2016-09-21 21:37:08 +03:00
moduhashlib.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
moduheapq.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modujson.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
moduos_dupterm.c extmod/moduos_dupterm: Reuse dupterm_arr_obj for write operations. 2016-07-07 02:16:24 +03:00
modurandom.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modure.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modussl_axtls.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modussl_mbedtls.c extmod/modussl_mbedtls: Add server_hostname param for wrap_socket(). 2016-09-23 01:44:23 +03:00
moduzlib.c extmod/moduzlib: DecompIO: Add support for gzip-formatted streams. 2016-09-24 15:30:11 +03:00
modwebrepl.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modwebsocket.c all: Remove 'name' member from mp_obj_module_t struct. 2016-09-22 00:23:16 +10:00
modwebsocket.h
vfs_fat.c extmod/vfs_fat: Add fat_vfs_statvfs(), reused from stmhal. 2016-09-27 13:48:45 +10:00
vfs_fat_diskio.c
vfs_fat_ffconf.c
vfs_fat_file.c
vfs_fat_file.h
vfs_fat_lexer.c
vfs_fat_misc.c
virtpin.c
virtpin.h