aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-05unix/Makefile: Split long line for coverage target, easier to modify.Damien George
2017-01-05tests/unix: Improve formatfloat.c test coverage using C.Rami Ali
2017-01-05tests/float: Improve formatfloat.c test coverage using Python.Rami Ali
2017-01-05tests: Improve warning.c test coverage.Rami Ali
2017-01-05tests/run-tests: Allow to skip set tests.Paul Sokolovsky
If sets are not enabled, set literals lead to SyntaxError during parsing, so it requires feature_check. Set tests are skipped based on set_*.py pattern.
2017-01-04all: Consistently update signatures of .make_new and .call methods.Paul Sokolovsky
Otherwise, they serve reoccurring source of copy-paste mistakes and breaking nanbox build.
2017-01-04docs/library/esp: Document esp.set_native_code_location() function.Damien George
2017-01-04esp8266/modules/flashbdev: Add RESERVED_SECS before the filesystem.Damien George
Starting at esp.flash_user_start(), the reserved sectors are for general purpose use, for example for native code generation. There is currently one sector reserved as such.
2017-01-04esp8266/Makefile: Put firmware-ota.bin in build/, for consistency.Paul Sokolovsky
2017-01-04esp8266/general: Add "Scarcity of runtime resources" section.Paul Sokolovsky
With warnings of need to close files, sockets, etc.
2017-01-04tests/pyb/uart: Update test to match recent change to UART timeout_char.Damien George
2017-01-04docs/esp8266/tutorial: Close socket after reading page content.Max
2017-01-03drivers/onewire: Enable pull up on data pin.Dave Hylands
The driver seems to be be enabling the pullup resistor in most places, but not this one. Making this one little change allows onewire devices to be used with no external pullup resistor.
2017-01-03esp8266/modesp: Fix a typo, print -> printf.TheSpooler
2017-01-03py/asmarm: Fix assembler's PASS_EMIT constant name.Damien George
2017-01-03esp8266/modesp: Make check_fw() work with OTA firmware.Paul Sokolovsky
2017-01-02esp8266/Makefile: Produce OTA firmware as firmware-ota.bin.Paul Sokolovsky
2017-01-02esp8266/scripts/inisetup: Dump FS starting sector/size on error.Paul Sokolovsky
Should allow to diagnose/try to recover FS easier.
2016-12-31unix/moduselect: Fix nanbox build with recent changes.Paul Sokolovsky
2016-12-31unix/moduselect: If file object passed to .register(), return it in .poll().Paul Sokolovsky
This makes unix "uselect" compatible with baremetal "uselect". Previosuly, unix version accepted file/socket objects, but internally converted that to file descriptors, and that's what .poll() returned. To acheive new behavior, file-like objects are stored internally in an array, in addition to existing array of struct pollfd. This array is created only on first case of file-like object being passed to .register(). If only raw fd's are passed, there will be no additional memory used comparing to the original implementation.
2016-12-30docs/library/machine.I2C: Fix I2C constructor docs to match impl.Damien George
2016-12-30docs/esp8266/tutorial: Update intro to add Getting the firmware section.Andrew Mulholland
Add a "Getting the firmware" section to better describe how to get hold of the MicroPython firmware, especially if you have a 512kb module.
2016-12-29cc3200/README: Reorganize and update to the current state of affairs.Paul Sokolovsky
Try to put sections in more logical order, and information about cc3200tool to be the default flashing method.
2016-12-29cc3200: Add targets to erase flash, deploy firmware using cc3200tool.Paul Sokolovsky
cc3200tool, https://github.com/ALLTERCO/cc3200tool is a (mostly, some binary blobs present) open-source, Linux-friendly tool to flash a cc3200 devices. It's an alternative to fully proprietary, Windows-only Uniflash from TI. The provided make targets are for erasing flash, flashing the uPy bootloader and firmware, and flashing vendor's WiFi firmware "servicepacks" (the latter needs to be downloaded from vendor side, a link is present inside Makefile).
2016-12-29tests/unix: Improve runtime_utils.c test coverage.Rami Ali
2016-12-29tests/cmdline: Improve repl.c autocomplete test coverage.Rami Ali
2016-12-29tests/thread: Improve modthread.c test coverage.Rami Ali
2016-12-29tests/extmod: Improve ubinascii.c test coverage.Rami Ali
2016-12-29cc3200: make: Rename "deploy" target to "deploy-ota".Paul Sokolovsky
There should be target to deploy uPy over wired (UART) connection, and wired and OTA targets should be named differently.
2016-12-28cc3200/README: (Re)add information about accessing REPL on serial.Paul Sokolovsky
2016-12-28cc3200: Enable UART REPL by default.Paul Sokolovsky
To allow access and testing without complex access methods like WiFi. Enabled for both WiPy and TI LaunchXL.
2016-12-28py/unicode: Comment-out unused function unichar_isprint.Damien George
2016-12-28tests/micropython: Add test for micropython.stack_use() function.Rami Ali
2016-12-28stmhal/uart: Increase inter-character timeout by 1ms.Damien George
Sys-tick resolution is 1ms and a value of 2 will give a delay between 1ms and 2ms (whereas a value of 1 gives a delay between 0ms and 1ms, which is too short).
2016-12-28stmhal/uart: Provide a custom function to transmit over UART.Damien George
The HAL_UART_Transmit function has changed in the latest HAL version such that the Timeout is a timeout for the entire function, rather than a timeout between characters as it was before. The HAL function also does not allow one to reliably tell how many characters were sent before the timeout (if a timeout occurred). This patch provides a custom function to do UART transmission, completely replacing the HAL version, to fix the above-mentioned issues.
2016-12-28tests/basics: Add tests to improve coverage of binary.c.Rami Ali
2016-12-28py/objint: Simplify mp_int_format_size and remove unreachable code.Damien George
One never needs to format integers with a base larger than 16 (but code can be easily extended beyond this value if needed in the future).
2016-12-28py/mpprint: Add assertion for, and comment about, valid base values.Damien George
2016-12-28py/parsenum: Fix warning for signed/unsigned comparison.Damien George
2016-12-28tests/basics: Add tests for parsing of ints with base 36.Damien George
2016-12-28py/mpz: Fix assertion in mpz_set_from_str which checks value of base.Damien George
2016-12-28py/parsenum: Simplify and generalise decoding of digit values.Damien George
This function should be able to parse integers with any value for the base, because it is called by int('xxx', base).
2016-12-27cc3200: Re-add support for UART REPL (MICROPY_STDIO_UART setting).Paul Sokolovsky
UART REPL support was lost in os.dupterm() refactorings, etc. As os.dupterm() is there, implement UART REPL support at the high level - if MICROPY_STDIO_UART is set, make default boot.py contain os.dupterm() call for a UART. This means that changing MICROPY_STDIO_UART value will also require erasing flash on a module to force boot.py re-creation.
2016-12-27py/misc.h: Typo fix in comment.Paul Sokolovsky
2016-12-25tests/heapalloc_inst_call: Test for no alloc for simple object calls.Paul Sokolovsky
2016-12-24tests/utimeq_stable: Test for partial stability of utimeq queuing.Paul Sokolovsky
2016-12-24extmod/modutimeq: Make time_less_than be actually "less than", not less/eq.Paul Sokolovsky
This fixes an obvious case of non-fair scheduling of 2 tasks with the same deadline.
2016-12-23extmod/modutimeq: Fix printf in dump().Paul Sokolovsky
2016-12-23examples/hwapi/hwconfig_console: Don't alloc memory in value().Paul Sokolovsky
2016-12-23stmhal, esp8266: Enable utimeq module.Paul Sokolovsky