| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-01-06 | esp8266/modules/flashbdev: Remove now-unused function set_bl_flash_size. | Damien George | |
| 2017-01-05 | esp8266/modules/flashbdev: Remove code to patch bootloader flash size. | Paul Sokolovsky | |
| This code is no longer pertinent for some time - since switchover to SDK2.0, there must be correct flash size set for bootloader, or there's a risk of flash data corruption. And indeed, the correct flash size is by default auto-detected by esptool.py 1.2. | |||
| 2017-01-05 | unix/Makefile: Allow cache-map-lookup optimisation with frozen bytecode. | Damien George | |
| 2017-01-05 | tools/mpy-tool.py: Add support for OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. | Damien George | |
| With caching of map lookups in the bytecode, frozen bytecode can still work but must be stored in RAM, not ROM. This patch allows mpy-tool.py to generate code that works with this optimisation, but it's not recommended to use it on embedded targets (because of lack of RAM). | |||
| 2017-01-05 | py/mkrules.mk: Add MPY_CROSS_FLAGS option to pass flags to mpy-cross. | Damien George | |
| So that ports can pass their own custom options to mpy-cross. | |||
| 2017-01-05 | tests/unix/extra_coverage: Add basic tests to import frozen str and mpy. | Damien George | |
| 2017-01-05 | unix: Enable and add basic frozen str and frozen mpy in coverage build. | Damien George | |
| 2017-01-05 | unix/Makefile: Split long line for coverage target, easier to modify. | Damien George | |
| 2017-01-05 | tests/unix: Improve formatfloat.c test coverage using C. | Rami Ali | |
| 2017-01-05 | tests/float: Improve formatfloat.c test coverage using Python. | Rami Ali | |
| 2017-01-05 | tests: Improve warning.c test coverage. | Rami Ali | |
| 2017-01-05 | tests/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-04 | all: 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-04 | docs/library/esp: Document esp.set_native_code_location() function. | Damien George | |
| 2017-01-04 | esp8266/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-04 | esp8266/Makefile: Put firmware-ota.bin in build/, for consistency. | Paul Sokolovsky | |
| 2017-01-04 | esp8266/general: Add "Scarcity of runtime resources" section. | Paul Sokolovsky | |
| With warnings of need to close files, sockets, etc. | |||
| 2017-01-04 | tests/pyb/uart: Update test to match recent change to UART timeout_char. | Damien George | |
| 2017-01-04 | docs/esp8266/tutorial: Close socket after reading page content. | Max | |
| 2017-01-03 | drivers/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-03 | esp8266/modesp: Fix a typo, print -> printf. | TheSpooler | |
| 2017-01-03 | py/asmarm: Fix assembler's PASS_EMIT constant name. | Damien George | |
| 2017-01-03 | esp8266/modesp: Make check_fw() work with OTA firmware. | Paul Sokolovsky | |
| 2017-01-02 | esp8266/Makefile: Produce OTA firmware as firmware-ota.bin. | Paul Sokolovsky | |
| 2017-01-02 | esp8266/scripts/inisetup: Dump FS starting sector/size on error. | Paul Sokolovsky | |
| Should allow to diagnose/try to recover FS easier. | |||
| 2016-12-31 | unix/moduselect: Fix nanbox build with recent changes. | Paul Sokolovsky | |
| 2016-12-31 | unix/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-30 | docs/library/machine.I2C: Fix I2C constructor docs to match impl. | Damien George | |
| 2016-12-30 | docs/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-29 | cc3200/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-29 | cc3200: 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-29 | tests/unix: Improve runtime_utils.c test coverage. | Rami Ali | |
| 2016-12-29 | tests/cmdline: Improve repl.c autocomplete test coverage. | Rami Ali | |
| 2016-12-29 | tests/thread: Improve modthread.c test coverage. | Rami Ali | |
| 2016-12-29 | tests/extmod: Improve ubinascii.c test coverage. | Rami Ali | |
| 2016-12-29 | cc3200: 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-28 | cc3200/README: (Re)add information about accessing REPL on serial. | Paul Sokolovsky | |
| 2016-12-28 | cc3200: 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-28 | py/unicode: Comment-out unused function unichar_isprint. | Damien George | |
| 2016-12-28 | tests/micropython: Add test for micropython.stack_use() function. | Rami Ali | |
| 2016-12-28 | stmhal/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-28 | stmhal/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-28 | tests/basics: Add tests to improve coverage of binary.c. | Rami Ali | |
| 2016-12-28 | py/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-28 | py/mpprint: Add assertion for, and comment about, valid base values. | Damien George | |
| 2016-12-28 | py/parsenum: Fix warning for signed/unsigned comparison. | Damien George | |
| 2016-12-28 | tests/basics: Add tests for parsing of ints with base 36. | Damien George | |
| 2016-12-28 | py/mpz: Fix assertion in mpz_set_from_str which checks value of base. | Damien George | |
| 2016-12-28 | py/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-27 | cc3200: 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. | |||
