summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* tests/extmod: Improve test coverage of ure module.Rami Ali2017-01-17
|
* py/runtime: Refactor default case of switch to remove assert(0).Damien George2017-01-17
|
* py/objexcept: Replace if-cond and assert(0) with simple assert.Damien George2017-01-17
|
* py/emitnative: Remove assert(0)'s or replace with mp_not_implemented.Damien George2017-01-17
|
* py/parse: Refactor code to remove assert(0)'s.Damien George2017-01-17
| | | | | This helps to improve code coverage. Note that most of the changes in this patch are just de-denting the cases of the switch statements.
* tests/basics: Improve runtime.c test coverage.Rami Ali2017-01-17
|
* tests/io: Improve test coverage of io.BufferedWriter.Rami Ali2017-01-17
|
* tests: Update tests, and add new ones, for recent generator tweaks.Damien George2017-01-17
|
* py/objgenerator: Don't raise RuntimeError if GeneratorExit ignored.Damien George2017-01-17
| | | | In this case it's allowed to be ignored.
* py/objgenerator: When throwing an object, don't make an exc instance.Damien George2017-01-17
| | | | Arguments to throw() for generators don't need to be exceptions.
* py/runtime: Fix handling of throw() when resuming generator.Damien George2017-01-17
| | | | | | If GeneratorExit is injected as a throw-value then that should lead to the close() method being called, if it exists. If close() does not exist then throw() should not be called, and this patch fixes this.
* py/runtime: Refactor assert(0) to improve coverage.Damien George2017-01-17
|
* tests: Improve frozen import test coverage.Rami Ali2017-01-16
|
* py/builtinimport: Remove unreachable code and change obj-import comment.Damien George2017-01-16
|
* py/builtinimport: Raise ValueError for bad relative import, per CPython.Damien George2017-01-16
|
* unix/coverage: Move coverage #if guard back to top of file.Damien George2017-01-16
|
* tests/import: Improve builtinimport.c test coverage.Rami Ali2017-01-16
|
* tests: Improve stream.c test coverage.Rami Ali2017-01-16
|
* stmhal: fix wrong usage of gcc -print-libgcc-file-namePavol Rusnak2017-01-12
|
* stmhal: Support PortG on STM32L476 and STM32L486.Dave Hylands2017-01-12
|
* extmod/modframebuf: optimize fill_rect subroutine callOleg Korsak2017-01-08
|
* tests: Update test suite to be compatible with CPython 3.6.Damien George2017-01-09
| | | | | | | | CPython 3.6 has a few changes that, when run on uPy's test suite, give a different output to CPython 3.5. uPy currently officially supports the 3.4 language definition, but it's useful to be able to run the test suite with 3.4/3.5/3.6 versions of CPython. This patch makes such changes to support 3.6.
* docs: Bump version to 1.8.7.v1.8.7Damien George2017-01-08
|
* tests/unix/extra_coverage: Add tests for importing frozen packages.Damien George2017-01-08
|
* py/builtinimport: Fix bug when importing names from frozen packages.Damien George2017-01-08
| | | | | | | | The commit d9047d3c8a99603884db25076c37778f50633ca6 introduced a bug whereby "from a.b import c" stopped working for frozen packages. This is because the path was not properly truncated and became "a//b". Such a path resolves correctly for a "real" filesystem, but not for a search in the list of frozen modules.
* drivers/onewire/ds18x20: Fix negative temperature calc for DS18B20.syndycat2017-01-08
|
* cc3200/modwlan: Add network.WLAN.print_ver() diagnostic function.Paul Sokolovsky2017-01-07
| | | | Prints NWP/MAC/PHY version, as affected by servicepack installed.
* docs/usocket: Clarify that socket timeout raises OSError exception.Paul Sokolovsky2017-01-07
|
* tests/array*: Allow to skip test if "array" is unavailable.Paul Sokolovsky2017-01-07
|
* tests/types1: Split out set type test to set_types.Paul Sokolovsky2017-01-06
| | | | set isn't the most basic type and can be disabled by a port.
* docs/library/esp: Remove para and add further warning about flash.Damien George2017-01-06
| | | | There is no longer space reserved by default for native code.
* esp8266/modules/flashbdev: Change RESERVED_SECS to 0.Damien George2017-01-06
| | | | | | | | | This effectively reverts the change that introduced this new constant. The reason is so that users do not need to rebuild the filesystem on their modules when upgrading the firmware. Users can change RESERVED_SECS by hand if they need the feature, and in future firmware it may default to a non-zero value.
* esp8266/modules/flashbdev: Remove now-unused function set_bl_flash_size.Damien George2017-01-06
|
* esp8266/modules/flashbdev: Remove code to patch bootloader flash size.Paul Sokolovsky2017-01-05
| | | | | | | 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.
* unix/Makefile: Allow cache-map-lookup optimisation with frozen bytecode.Damien George2017-01-05
|
* tools/mpy-tool.py: Add support for OPT_CACHE_MAP_LOOKUP_IN_BYTECODE.Damien George2017-01-05
| | | | | | | 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).
* py/mkrules.mk: Add MPY_CROSS_FLAGS option to pass flags to mpy-cross.Damien George2017-01-05
| | | | So that ports can pass their own custom options to mpy-cross.
* tests/unix/extra_coverage: Add basic tests to import frozen str and mpy.Damien George2017-01-05
|
* unix: Enable and add basic frozen str and frozen mpy in coverage build.Damien George2017-01-05
|
* unix/Makefile: Split long line for coverage target, easier to modify.Damien George2017-01-05
|
* tests/unix: Improve formatfloat.c test coverage using C.Rami Ali2017-01-05
|
* tests/float: Improve formatfloat.c test coverage using Python.Rami Ali2017-01-05
|
* tests: Improve warning.c test coverage.Rami Ali2017-01-05
|
* tests/run-tests: Allow to skip set tests.Paul Sokolovsky2017-01-05
| | | | | | 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.
* all: Consistently update signatures of .make_new and .call methods.Paul Sokolovsky2017-01-04
| | | | | Otherwise, they serve reoccurring source of copy-paste mistakes and breaking nanbox build.
* docs/library/esp: Document esp.set_native_code_location() function.Damien George2017-01-04
|
* esp8266/modules/flashbdev: Add RESERVED_SECS before the filesystem.Damien George2017-01-04
| | | | | | 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.
* esp8266/Makefile: Put firmware-ota.bin in build/, for consistency.Paul Sokolovsky2017-01-04
|
* esp8266/general: Add "Scarcity of runtime resources" section.Paul Sokolovsky2017-01-04
| | | | With warnings of need to close files, sockets, etc.
* tests/pyb/uart: Update test to match recent change to UART timeout_char.Damien George2017-01-04
|