40 Commits (7d8edeff4e81e89ed8833d9933effd1e2431f7f1)

Author SHA1 Message Date
Damien George 17d9b5006d stmhal: Fix off-by-one error when checking for valid I2C and SPI bus. 10 years ago
Damien George 0e6f5e08e1 stmhal: Allow to name I2C busses, and give them names for pyboard. 10 years ago
Damien George d15fe5a6b3 stmhal: Make I2C busses and their pins configurable in mpconfigboard.h. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George 05005f679e py: Remove mp_obj_str_builder and use vstr instead. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George 185cb0d943 stmhal: Use OSError with POSIX error code for HAL errors. 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
blmorris 86f0b31bcf Change boolean 'use_16bit_addr' to int 'addr_size', can be either 8 or 16 bits, default value is 8 10 years ago
blmorris 847a6b30b1 Incorporate stylistic changes suggested by @dhylands 10 years ago
blmorris e687fdbcbc Add keyword argument 'memaddr_use_16b' to i2c.mem_read and mem_write methods 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Damien George 5fc400ccdb stmhal: Document physical pins for SPI, I2C, UART busses. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George baa2afbb58 stmhal: Fix typos in class documentation. 11 years ago
Paul Sokolovsky 9b71b16a94 unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George 8d09640b22 stmhal: Add documentation in comments, and script to generate HTML. 11 years ago
Damien George dbc81df5d4 Simplify names for argcheck.c / arg parsing. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 34f01c2ca1 stmhal: Add some documentation to I2C, SPI and USART modules. 11 years ago
Damien George eb8bdf4df3 stmhal, SPI and I2C: Improvements to functionality and consistency. 11 years ago
Damien George ff91156d34 stmhal: Improved configurability for I2C and SPI busses. 11 years ago
Dave Hylands f70630c58f Fix i2c and spi to compile for Netduino Plus 2 11 years ago
Damien George 57e415859a stmhal: Tidy up and improve consistency across modules. 11 years ago
Damien George d689430e79 stmhal: Add SPI class. 11 years ago
Damien George 38ae014e42 stmhal: Update ADC, DAC and I2C objects to use new buffer protocol. 11 years ago
Damien George 1381146382 stmhal: Fix C bindings of I2C.read/write. 11 years ago
Damien George 2822d4e6ce stmhal: Add I2C functions for pure master read/write. 11 years ago
Damien George e95da5b784 stmhal: Add I2C.scan method, to scan all devices on the bus. 11 years ago
Damien George 8a1cab952f py: Fix mp_get_buffer, and use it in more places. 11 years ago
Damien George 60427864b1 stmhal: Move I2C objects to ROM. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
Damien George 3e1a5c10c5 py: Rename old const type objects to mp_type_* for consistency. 11 years ago
Damien George eed6f26bed stmhal: Use rt_check_nargs to check number of arguments. 11 years ago
Damien George 9b196cddab Remove mp_obj_type_t.methods entry and use .locals_dict instead. 11 years ago
Damien George c12b2213c1 Change mp_method_t.name from const char * to qstr. 11 years ago
Damien George 6cfda3084d stmhal: Add I2C support; change accel driver to use new I2C. 11 years ago