Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | extmod/modlwip: Add .write() stream method. | Paul Sokolovsky | 2016-03-09 |
| | |||
* | extmod/modlwip: Still process remaining incoming data of a closed socket. | Damien George | 2016-03-09 |
| | | | | | | | | | It can happen that a socket gets closed while the pbuf is not completely drained by the application. It can also happen that a new pbuf comes in via the recv callback, and then a "peer closed" event comes via the same callback (pbuf=NULL) before the previous event has been handled. In both cases the socket is closed but there is remaining data. This patch makes sure such data is passed to the application. | ||
* | extmod/modlwip: Check for state change during recv busy-wait loop. | Damien George | 2016-03-09 |
| | | | | | For example, the peer may close the connection while recv is waiting for incoming data. | ||
* | extmod/modlwip: Add stream .read() and .readline() methods. | Paul Sokolovsky | 2016-03-09 |
| | |||
* | extmod/modlwip: Add dummy .makefile() method. | Paul Sokolovsky | 2016-03-09 |
| | |||
* | extmod/modlwip: Add stream protocol read method. | Paul Sokolovsky | 2016-03-09 |
| | |||
* | esp8266: Move pyb.freq to machine.freq. | Damien George | 2016-03-09 |
| | |||
* | docs: Add esp8266 quick reference page, with basic info. | Damien George | 2016-03-08 |
| | |||
* | py/objboundmeth: Allocate arg state on stack if heap alloc fails. | Damien George | 2016-03-08 |
| | | | | | | | | | | If the heap is locked, or memory allocation fails, then calling a bound method will still succeed by allocating the argument state on the stack. The new code also allocates less stack than before if less than 4 arguments are passed. It's also a tiny bit smaller in code size. This was done as part of the ESA project. | ||
* | stmhal: Add stmhal-specific README.md with extra details for this port. | Damien George | 2016-03-08 |
| | |||
* | stmhal: Switch from dfu-util to tools/pydfu.py for deflt deploy method. | Damien George | 2016-03-08 |
| | | | | | | | | tools/pydfu.py is now the recommended way of deploying a DFU file. Old behaviour of dfu-util can be obtained by passing USE_PYDFU=0 when invoking make. The main README.md file has been updated to reflect this change. | ||
* | tests/run-tests: Simplify handling of newline in output from tests. | Damien George | 2016-03-08 |
| | | | | | Now, all output has newlines converted to \n, regardless of port or platform. | ||
* | extmod/modlwip: Implement dummy setsockopt(). | Paul Sokolovsky | 2016-03-08 |
| | |||
* | esp8266/main: Module to run on boot is "boot", not "main". | Paul Sokolovsky | 2016-03-08 |
| | |||
* | extmod/modlwip: Add .print() method. | Paul Sokolovsky | 2016-03-08 |
| | |||
* | esp8266: Put more code in iROM section. | Damien George | 2016-03-08 |
| | | | | | Also explicitly name the py/*.o files in the linker file, to enable easy testing of putting certain ones in iRAM. | ||
* | extmod/modlwip: Update make_new() arguments for recent refactor. | Paul Sokolovsky | 2016-03-08 |
| | |||
* | esp8266/Makefile: Add define for ESP8266 lwIP. | Paul Sokolovsky | 2016-03-08 |
| | |||
* | esp8266: Enable modlwip. | Damien George | 2016-03-08 |
| | |||
* | esp8266: Don't gc-collect BSS. | Paul Sokolovsky | 2016-03-08 |
| | | | | | | None of the other ports do, since introduction of mp_state_ctx_t. In the case of current esp8266 port, heap is inside BSS, so scanning it picked up a lot of dead pointers. | ||
* | py/emitglue: Get persistent bytecode working on Linux ARM platform. | Markus Fix | 2016-03-07 |
| | |||
* | stmhal: Fix some typos in stm32f411 files, regarding FS layout and CSV. | Dave Hylands | 2016-03-07 |
| | |||
* | stmhal: Fix typo in stm32f401.ld file, regarding flash size. | Dave Hylands | 2016-03-07 |
| | |||
* | stmhal: Make spi use mp_hal_gpio_set_af | Dave Hylands | 2016-03-07 |
| | |||
* | tests/run-tests: Fix logic when selecting test-dirs for a given target. | Damien George | 2016-03-07 |
| | |||
* | stmhal: Unify comments in stm32f4xx_hal_conf.h across all boards. | Pavol Rusnak | 2016-03-07 |
| | | | | To make it easier to spot differences. | ||
* | tests/recursive_iternext.py: Make low-heap friendly. | Paul Sokolovsky | 2016-03-07 |
| | |||
* | esp8266: Enable stack overflow checking. | Paul Sokolovsky | 2016-03-07 |
| | |||
* | py/stackctrl: Add mp_stack_set_top() to explicitly set stack top value. | Paul Sokolovsky | 2016-03-07 |
| | | | | Useful for embedded targets with fixed stack layout. | ||
* | tests/print_exception: Use exception which prints the same regardless of config. | Paul Sokolovsky | 2016-03-07 |
| | | | | | | NameError may either include offending name or not. Unfortunately, this change makes test float-dependent. And using integer division leads to different error message than CPython. | ||
* | test/string_format_fp30: Variant of string_format for 30-bit stuffed float. | Paul Sokolovsky | 2016-03-06 |
| | |||
* | test/float2int_fp30: Variant of float2int for 30-bit stuffed float. | Paul Sokolovsky | 2016-03-06 |
| | |||
* | tests: Remove commented out tests so test script is not too big. | Damien George | 2016-03-06 |
| | |||
* | tests: Reduce large object allocations so tests can run with small heap. | Damien George | 2016-03-06 |
| | |||
* | esp8266: Allow Makefile's BAUD variable to be overridden. | Damien George | 2016-03-06 |
| | |||
* | esp8266/uart: Add uart_flush() function. | Paul Sokolovsky | 2016-03-05 |
| | |||
* | esp8266: Support raising KeyboardInterrupt on Ctrl+C. | Paul Sokolovsky | 2016-03-05 |
| | |||
* | esp8266/etshal.h: More prototypes of ESP8266 SDK/BootROM functions. | Damien George | 2016-03-05 |
| | |||
* | esp8266/modmachine: Add Pin class from modpyb. | Paul Sokolovsky | 2016-03-05 |
| | |||
* | esp8266/modpybpin: Add support for GPIO16. | Paul Sokolovsky | 2016-03-05 |
| | | | | GPIO16 is actually special-function I/O, though some boards have LED there. | ||
* | esp8266: Expose simple pin API at C level. | Damien George | 2016-03-05 |
| | |||
* | esp8266: Implement Pin.__call__() and Pin.OPEN_DRAIN mode. | Damien George | 2016-03-05 |
| | | | | | OPEN_DRAIN is of course synthesised. All pin modes are tested and working. | ||
* | esp8266: Add custom _assert() function. | Paul Sokolovsky | 2016-03-05 |
| | | | | | | Enabling standard assert() (by removing -DNDEBUG) produces non-bootable binary (because all messages go to .rodata which silently overflows). So, for once-off debugging, have a custom _assert(). | ||
* | esp8266/modmachine: Timer: Add ONE_SHOT and PERIODIC symbolic constants. | Paul Sokolovsky | 2016-03-04 |
| | |||
* | esp8266/modmachine: Use etshal.h. | Paul Sokolovsky | 2016-03-04 |
| | |||
* | esp8266/etshal.h: Add timer functions prototypes. | Paul Sokolovsky | 2016-03-04 |
| | |||
* | esp8266/modmachine: Changing params of a timer requires disarming it first. | Paul Sokolovsky | 2016-03-04 |
| | |||
* | esp8266/modmachine: Basic implementation of Timer for OS virtual timers. | Paul Sokolovsky | 2016-03-04 |
| | |||
* | esp8266: Enable modmachine. | Paul Sokolovsky | 2016-03-04 |
| | |||
* | esp8266: Add modmachine with mem* arrays. | Paul Sokolovsky | 2016-03-04 |
| |