summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-28docs: Bump version to 1.3.7.v1.3.7Damien George
2014-11-28Update uheapq.rstinaugurator
Erratum in froh.
2014-11-28esp8266: Change bignum from mpz to longlong; move some rodata to iram.Damien George
Some rodata items can go in iram/irom segment, but not others. With this patch ESP now has 24256 bytes of heap ram. It passes 228 out of 248 tests from tests/basics directory.
2014-11-28esp8266: Provide sensible default ESP_SDK; deploy 2 the images together.Damien George
2014-11-28esp8266: Allow to override serial port.Paul Sokolovsky
2014-11-27esp8266: New port of Micro Python to ESP8266 wifi module.Damien George
2014-11-27py: Add NLR support for xtensa CPU.Damien George
2014-11-27stmhal: Enable uhashlib module; add heapq, hashlib weak links.Damien George
hashlib test passes on pyboard.
2014-11-27pfenv_printf: Properly implement %p format specifier.Paul Sokolovsky
Previously, it truncated pointer value to 32 bits on 64-bit systems.
2014-11-27builtin: Reimplement __repl_print__() in terms of print().Paul Sokolovsky
Before, __repl_print__() used libc printf(), while print() used uPy streams and own printf() implementation. This led to subtle, but confusing differences in output when just doing "foo" vs "print(foo)" on interactive prompt.
2014-11-27map: Add empty fixed map.Paul Sokolovsky
Useful when need to call kw-receiving functions without any keywords from C, etc.
2014-11-27stmhal: Remove unnecessary HAL_Delay in readline loop.Damien George
The reason for having this delay is to reduce power consumption at the REPL (HAL_Delay calls __WFI to idle the CPU). But stdin_rx_chr has a __WFI in it anyway, so this delay call is not needed. By removing this call, the readline input can consume characters much more quickly (before was limited to 1000 chrs/s), and has much reduced dependency on the specific port.
2014-11-27stmhal: Reduce coupling between USB driver and readline.Damien George
This makes it easier to re-use readline.c and pyexec.c from stmhal in other ports.
2014-11-27py: #if guard str_make_new when not needed.Damien George
2014-11-26Adding CAN filter managementHenrik Sölver
2014-11-25stmhal: Enable DAC on STM32F4DISC.Damien George
Addresses issue #987.
2014-11-22tests: Add test for hashlib.sha256 .Paul Sokolovsky
2014-11-22moduhashlib: Integrate sha256 implementation.Paul Sokolovsky
2014-11-22moduhashlib: Add sha256 implementation from "crypto-algorithms" project.Paul Sokolovsky
https://github.com/B-Con/crypto-algorithms revision 100f4ff
2014-11-22moduhashlib: Initial module skeleton.Paul Sokolovsky
2014-11-21drivers, cc3000: Cleaning up, make local functions static.Damien George
2014-11-21windows: Update config with latest featuresstijn
- update mpconfigport.h to reflect latest unix version - fix compilation error in modure due to msvc not allowing dynamic arrays
2014-11-21py: Add support for float/double arrays in array module.Damien George
Addresses issue #981.
2014-11-19Set PYTHONIOENCODING='utf-8' so that unicode tests can pass on CPython onblmorris
systems where another encoding is set in the locale
2014-11-17README: Update link to logo.Damien George
2014-11-16py: Make stream seek correctly check for ioctl fn; add seek for textio.Damien George
2014-11-17ports: Define mp_off_t.Paul Sokolovsky
2014-11-17stmhal: Switch to file.seek() implementation using stream ioctl.Paul Sokolovsky
2014-11-17tests: Add test for file.seek().Paul Sokolovsky
2014-11-17stream: Implement seek operation support via ioctl, wrapped in generic method.Paul Sokolovsky
Also, implement for unix port.
2014-11-17stream: Convert .ioctl() to take fixed number of args.Paul Sokolovsky
This is more efficient, as allows to use register calling convention. If needed, a structure pointer can be passed as argument to pass more data.
2014-11-15docs: Fix RTD build configuration.Damien George
ReadTheDocs needs the root directory in its search path so it finds topindex.html.
2014-11-15stmhal: Improve CAN init so that it can take sjw, bs1, bs2 args.Damien George
Also update docs to explain how CAN baudrate is determined.
2014-11-15stmhal: Fix HAL error raising; make test for it.Damien George
Addresses issue #968.
2014-11-15docs: Add optional sphinx_rtd_theme; add docs build instructions.evildmp
The sphinx_rtd_theme is used by ReadTheDocs to render a pretty looking documentation. If you have this theme installed locally then your locally-compiled docs will look exactly like the published documentation. Otherwise it falls back to the default theme.
2014-11-15Document parameter "data" of i2c.mem_read() more clearMatthias
Hi, i would like to add a little clarification to the parameter "data" of i2c.mem_read(): I misunderstood ``data`` can be an integer or a buffer to read into as "i can give a integer variable to read a integer into" . This pull-request adds the following clarification: ``data`` can be an integer (number of bytes to read) or a buffer to read into Thanks for your great work! Best wishes, Matthias
2014-11-15tests: Add test for hash of user defined class.Damien George
2014-11-15py: Use __hash__ method if a type defines itstijn
2014-11-09docs: select: Describe extra details.Paul Sokolovsky
2014-11-06py: Fix order-only dependencies in mkrules.mk and py.mk.Sven Wegener
Currently compilation sporadically fails, because the automatic dependency gets created *during* the compilation of objects. OBJ is a auperset of PY_O and the dependencies apply to all objects. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2014-11-06py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled.Damien George
Going from MICROPY_ERROR_REPORTING_NORMAL to MICROPY_ERROR_REPORTING_TERSE now saves 2020 bytes ROM for ARM Thumb2, and 2200 bytes ROM for 32-bit x86. This is about a 2.5% code size reduction for bare-arm.
2014-11-06py: Remove obsolute function declaration.Damien George
2014-11-05py: Add order-only dependency for py-version.hSven Wegener
Else the directory might not exist. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2014-11-05stmhal: Declare variables extern in include filesSven Wegener
Else we end up with several instances of the variable. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2014-11-05bare-arm: Add dummy __assert_func and __fatal_errorSven Wegener
Required to build bare-arm with debugging. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2014-11-05py: Deactivate more code without MICROPY_PY_SYSSven Wegener
When compiler optimization has been turned on, gcc knows that this code block is not going to be executed. But with -O0 it complains about path_items being used uninitialized. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2014-11-05unix: Allow -X heapsize number take 'w' specifier for word size adjustment.Paul Sokolovsky
The specifier should go after the number, before size suffix like 'k' or 'm'. E.g.: "-X heapsize=100wk" will use 100K heap on 32-bit system and 200K - on 64-bit.
2014-11-05py: Fix some macros defines; cleanup some includes.Damien George
2014-11-05py: Allow bytes object as argument to some str methods.Damien George
This turns failing assertions to type exceptions for things like b"123".find(...). We still don't support operations like this on bytes objects (unlike CPython), but at least it no longer crashes.
2014-11-05py: Allow +, in, and compare ops between bytes and bytearray/array.Damien George
Eg b"123" + bytearray(2) now works. This patch actually decreases code size while adding functionality: 32-bit unix down by 128 bytes, stmhal down by 84 bytes.