Skip to content

Tags: pybricks/micropython

Tags

v1.25.0-16-g73cbdab14

Toggle v1.25.0-16-g73cbdab14's commit message
py: make math and cmath modules extensible

Change math and cmath module registration from normal to extensible.
This lets the fallback umath and ucmath names work when importing.

v1.25.0-16-g19d900c62

Toggle v1.25.0-16-g19d900c62's commit message
lib/stm32lib: Use Pybricks fork.

We need some fixes not relevant to MicroPython so we have to use our
own fork now.

v1.25.0-15-gbabfbb371

Toggle v1.25.0-15-gbabfbb371's commit message
lib/stm32lib: Use Pybricks fork.

We need some fixes not relevant to MicroPython so we have to use our
own fork now.

v1.25.0-16-gcf90b66f7

Toggle v1.25.0-16-gcf90b66f7's commit message
lib/stm32lib: Use Pybricks fork.

We need some fixes not relevant to MicroPython so we have to use our
own fork now.

v1.20.0-25-g9305b73d7

Toggle v1.20.0-25-g9305b73d7's commit message
py/gc: Ensure gc_alloc calls MICROPY_GC_HOOK_LOOP at least once.

If MICROPY_GC_HOOK_LOOP runs an event loop only once in N iterations,
it is important that it starts at 0 to ensure that it is called at least once. This
fixes the hook loop not being called often enough in certain special cases like:

while True:
    a = "{}".format("h"[0] * 2)

Idea by David Lechner <[email protected]>

Signed-off-by: Laurens Valk <[email protected]>

v1.20.0-24-g6fc590244

Toggle v1.20.0-24-g6fc590244's commit message
py/stackctrl: Add gcc pragmas to ignore dangling-pointer warning.

This warning became apparent in gcc 13.

Signed-off-by: Damien George <[email protected]>

v1.20.0-24-g4038f33d2

Toggle v1.20.0-24-g4038f33d2's commit message
fixup! ports/unix/modummap: add new ummap module

v1.20.0-23-g185a32a5b

Toggle v1.20.0-23-g185a32a5b's commit message
tests/extmod/ussl_basic: Fix .exp file.

Since the test calls close twice, we expect to get the ioctl printed
twice.

Signed-off-by: David Lechner <[email protected]>

v1.20.0-23-g6c633a8dd

Toggle v1.20.0-23-g6c633a8dd's commit message
pybricks: Revert "extmod/modussl_mbedtls: Fix support for ioctl(MP_ST…

…REAM_POLL)."

This reverts commit ed58d6e.

This is causing ev3dev tests to fail.

v1.20.0-22-gde6956584

Toggle v1.20.0-22-gde6956584's commit message
py/gc: MICROPY_GC_HOOK_LOOP improvements.

- Add MICROPY_GC_HOOK_LOOP to gc_info() and gc_alloc(). Both of these
  can be long running (many milliseconds) which is too long to be
  blocking in some applications.
- Pass loop variable to MICROPY_GC_HOOK_LOOP(i) macro so that
  implementers can use it, e.g. to improve performance by only calling
  a function every X number of iterations.
- Drop outer call to MICROPY_GC_HOOK_LOOP in gc_mark_subtree().