| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-12-01 | extmod/modframebuf: Add back legacy FrameBuffer1 "class". | Damien George | |
| For backwards compatibility. It simple creates a frame buffer with the MVLSB format. | |||
| 2016-12-01 | drivers/display/ssd1306.py: Update to use FrameBuffer not FrameBuffer1 | Radomir Dopieralski | |
| 2016-12-01 | extmod/modframebuf: Make FrameBuffer handle 16bit depth. | Radomir Dopieralski | |
| Rename FrameBuffer1 into FrameBuffer and make it handle different bit depths via a method table that has getpixel and setpixel. Currently supported formats are MVLSB (monochrome, vertical, LSB) and RGB565. Also add blit() and fill_rect() methods. | |||
| 2016-11-30 | extmod/modurandom: Allow to build with float disabled. | Damien George | |
| 2016-11-30 | stmhal/adc: Make channel "16" always map to the temperature sensor. | Damien George | |
| The temperature sensor on F4 and F7 MCUs is mostly, but not always, on channel 16. To retain compatibility across all these MCUs this patch maps the user-facing channel 16 to the internal temperature sensor. | |||
| 2016-11-30 | stmhal/adc: Add support for F767 MCU. | Damien George | |
| 2016-11-30 | stmhal/adc: Add ADCAll.read_vref method, returning "3.3v" value. | Damien George | |
| 2016-11-30 | stmhal/adc: Make ADCAll.read_core_temp return accurate float value. | Damien George | |
| It now uses factory calibration values to get a more accurate value, and returns a float instead of an integer. | |||
| 2016-11-30 | stmhal/adc: Provide more accurate measure of VBAT and VREFINT. | Damien George | |
| By using factory calibration values. | |||
| 2016-11-30 | zephyr/zephyr_getchar: Update to Zephyr 1.6 unified kernel API. | Paul Sokolovsky | |
| 2016-11-30 | zephyr: Add .gitignore to ignore Zephyr's "outdir" directory. | Paul Sokolovsky | |
| That's where Zephyr keeps object files and produced executables. | |||
| 2016-11-30 | py/asmthumb: Fix build for F7 MCUs after recent code refactoring. | Damien George | |
| 2016-11-29 | stmhal/adc: Add "mask" selection parameter to pyb.ADCAll constructor. | Damien George | |
| The "mask" parameter is used to select which pins the ADCAll constructor will initialise to analog mode. It defaults to all pins (0xffffffff), which is backwards compatible with previous behaviour. | |||
| 2016-11-28 | stmhal: Add address parameters to openocd config files. | Nicholas Graumann | |
| Also make l4 config the default for STM32L476DISC board. | |||
| 2016-11-28 | stmhal: Add OpenOCD configuration for STM32L4. | Nicholas Graumann | |
| 2016-11-28 | stmhal: Add back GPIO_BSRRL and GPIO_BSRRH constants to stm module. | Damien George | |
| These were inadvertently removed with a recent upgrade to CMSIS, where those registers were no longer defined in the CMSIS headers, and hence no longer extracted. | |||
| 2016-11-28 | py: Factor out common code from assemblers into asmbase.[ch]. | Damien George | |
| All assemblers should "derive" from mp_asm_base_t. | |||
| 2016-11-26 | stmhal: Add support for flash storage on STM32F415. | Dave Hylands | |
| 2016-11-26 | tests/basics: Enable tests for list slice getting with 3rd arg. | Damien George | |
| Also add a test to check case when 3rd arg is 0. | |||
| 2016-11-26 | tests/basics: Change dict_fromkeys test so it doesn't use generators. | Damien George | |
| And then it can run with the native emitter. | |||
| 2016-11-26 | py/compile: Remove comment about TODO for short circuiting for if-stmt. | Damien George | |
| Short circuiting is handled correctly by c_if_cond, and constants within short-circuit expressions are optimised by the parser. | |||
| 2016-11-26 | tests/basics: Add tests for if-expressions. | Damien George | |
| 2016-11-26 | tests/basics: Add test for dict.fromkeys where arg is a generator. | Damien George | |
| Improves coverage because it tests the case where the arg does not have a __len__ slot. | |||
| 2016-11-25 | stmhal/machine_i2c: Provide HW implementation of I2C peripherals for F4. | Damien George | |
| With this patch machine.I2C() uses HW I2C peripheral blocks on F4 MCUs. Software I2C is used for other MCUs. | |||
| 2016-11-25 | stmhal/i2c: Expose the pyb_i2c_obj_t struct and some relevant functions. | Damien George | |
| So they can be used by other parts of the code. | |||
| 2016-11-25 | stmhal/i2c: Add support for I2C4 hardware block on F7 MCUs. | Damien George | |
| 2016-11-24 | stmhal: Add beginnings of port-specific machine.I2C implementation. | Damien George | |
| This allows one to construct an I2C object using ids that are specific to the stmhal port, eg machine.I2C('X'). Right now the implementation of I2C uses software I2C but the idea is to just change the C-level I2C protocol functions to hardware implementations later on. | |||
| 2016-11-24 | extmod/machine_i2c: Add hook to constructor to call port-specific code. | Damien George | |
| If MICROPY_PY_MACHINE_I2C_MAKE_NEW is defined then it is called when an I2C object is constructed with an id which is not -1. | |||
| 2016-11-24 | extmod/machine_i2c: Expose soft I2C obj and readfrom/writeto funcs. | Damien George | |
| For external use by ports if needed. | |||
| 2016-11-23 | extmod/machine_i2c: Remove trivial function wrappers. | Damien George | |
| 2016-11-23 | extmod/machine_i2c: Add 'stop' argument to i2c readfrom/writeto meths. | Damien George | |
| 2016-11-23 | extmod/machine_i2c: Make i2c.write[to] methods return num of ACKs recvd. | Damien George | |
| 2016-11-23 | extmod/machine_i2c: Add 'nack' argument to i2c.readinto. | Damien George | |
| 2016-11-23 | extmod/machine_i2c: Make C-level functions return -errno on I2C error. | Damien George | |
| 2016-11-23 | extmod/machine_i2c: Remove unneeded i2c_write_mem/i2c_read_mem funcs. | Damien George | |
| 2016-11-23 | extmod/machine_i2c: Rewrite mem xfer funcs in terms of C-level protocol. | Damien George | |
| 2016-11-23 | extmod/machine_i2c: Rewrite i2c.scan in terms of C-level protocol. | Damien George | |
| 2016-11-23 | extmod/machine_i2c: Add argument to C funcs to control stop generation. | Damien George | |
| 2016-11-23 | extmod/machine_i2c: Add a C-level I2C-protocol, refactoring soft I2C. | Damien George | |
| 2016-11-23 | docs/library/machine.I2C: Refine definitions of I2C methods. | Damien George | |
| 2016-11-22 | stmhal/i2c: Remove use of legacy I2C_NOSTRETCH_DISABLED option. | Damien George | |
| In the new HAL this is renamed to I2C_NOSTRETCH_DISABLE. | |||
| 2016-11-22 | tests/basics: Improve user class coverage. | Rami Ali | |
| 2016-11-22 | tests/extmod: Improve ujson coverage. | Rami Ali | |
| 2016-11-22 | py/objtype: Implement __call__ handling for an instance w/o heap alloc. | Paul Sokolovsky | |
| By refactoring and reusing code from objboundmeth. | |||
| 2016-11-21 | stmhal: Updates to get F411 MCUs compiling with latest ST HAL. | Damien George | |
| 2016-11-21 | tests/micropython: Move alloc-less traceback test to separate test file. | Damien George | |
| The native emitter doesn't provide proper traceback info so this test should not be run in that case. | |||
| 2016-11-21 | tests/micropython: Add test for creating traceback without allocation. | Damien George | |
| 2016-11-21 | stmhal/i2c: Use the HAL's I2C IRQ handler for F7 and L4 MCUs. | Damien George | |
| The custom IRQ handler only works for F4 MCUs, which have the SR1 register. | |||
| 2016-11-21 | unix/Makefile: Update freedos target for change of USELECT config name. | Damien George | |
| 2016-11-21 | extmod/moduselect: Fix comment describing endif. | Damien George | |
