- 15 Nov, 2014 5 commits
-
-
Damien George authored
Addresses issue #968.
-
evildmp authored
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.
-
Matthias authored
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
-
Damien George authored
-
stijn authored
-
- 08 Nov, 2014 1 commit
-
-
Paul Sokolovsky authored
-
- 06 Nov, 2014 3 commits
-
-
Sven Wegener authored
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>
-
Damien George authored
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.
-
Damien George authored
-
- 05 Nov, 2014 8 commits
-
-
Sven Wegener authored
Else the directory might not exist. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net>
-
Sven Wegener authored
Else we end up with several instances of the variable. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net>
-
Sven Wegener authored
Required to build bare-arm with debugging. Signed-off-by:
Sven Wegener <sven.wegener@stealer.net>
-
Sven Wegener authored
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>
-
Paul Sokolovsky authored
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.
-
Damien George authored
-
Damien George authored
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.
-
Damien George authored
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.
-
- 04 Nov, 2014 5 commits
-
-
Paul Sokolovsky authored
For this, introduce MICROPY_MODULE_DICT_SIZE config setting.
-
Damien George authored
This needs to be done before actually tagging the new version.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
- 03 Nov, 2014 7 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Uninitialised struct members get a default value of 0/false, so this is not strictly needed. But it actually decreases code size because when all members are initialised the compiler doesn't need to insert a call to memset to clear everything. In other words, setting 1 extra member to 0 uses less code than calling memset. ROM savings in bytes: 32-bit unix: 100; bare-arm: 44; stmhal: 52.
-
Damien George authored
Addresses issue #953.
-
Damien George authored
-
Márton Szinovszki authored
-
- 02 Nov, 2014 5 commits
-
-
Damien George authored
-
Damien George authored
-
Paul Sokolovsky authored
This build is primarily intended for benchmarking, and may have random features enabled/disabled to get high scores in synthetic benchmarks. The intent is to show/prove that MicroPython codebase can compete with CPython, when configured appropriately. But the main MicroPython aim still remains to optimize for memory usage (which inevitibly leads to performance degradation in some areas on some workloads).
-
Damien George authored
Also restrict higher frequencies to have a VCO_OUT frequency below 432MHz, as specified in the datasheet. Docs improved to list allowed frequencies, and explain about USB stability.
-
Paul Sokolovsky authored
Undefined behavior in C, needs explicit check.
-
- 31 Oct, 2014 6 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
gc.enable/disable are now the same as CPython: they just control whether automatic garbage collection is enabled or not. If disabled, you can still allocate heap memory, and initiate a manual collection.
-
Damien George authored
Addresses issue #950.
-
Damien George authored
Addresses issue #934.
-
Damien George authored
-