| Age | Commit message (Collapse) | Author |
|
|
|
Erratum in froh.
|
|
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.
|
|
|
|
|
|
|
|
|
|
hashlib test passes on pyboard.
|
|
Previously, it truncated pointer value to 32 bits on 64-bit systems.
|
|
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.
|
|
Useful when need to call kw-receiving functions without any keywords
from C, etc.
|
|
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.
|
|
This makes it easier to re-use readline.c and pyexec.c from stmhal in
other ports.
|
|
|
|
|
|
Addresses issue #987.
|
|
|
|
|
|
https://github.com/B-Con/crypto-algorithms revision 100f4ff
|
|
|
|
|
|
- update mpconfigport.h to reflect latest unix version
- fix compilation error in modure due to msvc not allowing dynamic arrays
|
|
Addresses issue #981.
|
|
systems where another encoding is set in the locale
|
|
|
|
|
|
|
|
|
|
|
|
Also, implement for unix port.
|
|
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.
|
|
ReadTheDocs needs the root directory in its search path so it finds
topindex.html.
|
|
Also update docs to explain how CAN baudrate is determined.
|
|
Addresses issue #968.
|
|
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.
|
|
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
|
|
|
|
|
|
|
|
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>
|
|
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.
|
|
|
|
Else the directory might not exist.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
|
|
Else we end up with several instances of the variable.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
|
|
Required to build bare-arm with debugging.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
|
|
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>
|
|
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.
|
|
|
|
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.
|
|
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.
|