Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sparkfun/micropython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: micropython/micropython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 8 commits
  • 13 files changed
  • 3 contributors

Commits on Aug 1, 2025

  1. esp32/mpconfigport: Disable I2CTarget on ESP32-C6 to reduce code size.

    I2CTarget costs about 8k of flash size on ESP32-S2, and about 11k on
    ESP32-C6.  The ESP32-C6 only has about 8k remaining, so disable I2CTarget
    on that SoC until more flash can be made available.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    3c9546e View commit details
    Browse the repository at this point in the history
  2. github/workflows: Add a CI job to build ESP32-C2 and ESP32-C6 boards.

    So that all six supported SoCs are built by CI.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    658a2e3 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2025

  1. py/parse: Fix missing nlr_pop call in complex path of binary_op_maybe.

    Reproducer (needs to be run as one compilation unit):
    
        ans = (-1) ** 2.3
        aa
    
    Fixes issue micropython#17815.
    
    Signed-off-by: Jeff Epler <jepler@gmail.com>
    jepler authored and dpgeorge committed Aug 2, 2025
    Configuration menu
    Copy the full SHA
    c0252d7 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2025

  1. lib/micropython-lib: Update submodule to latest.

    This brings in:
    - lora: fix SNR value in SX126x received packets
    - utop: add initial implementation for ESP32
    - utop: print MicroPython memory info
    - utop: print IDF heap details
    - urllib.urequest: add support for headers to urequest.urlopen
    - aiorepl: use blocking reads for raw REPL and raw paste
    - errno: add ENOTCONN constant
    - logging: allow logging.exception helper to handle tracebacks
    - aioble-l2cap: raise correct error if l2cap disconnects during send
    - abc: add ABC base class
    - aiohttp: fix partial reads by using readexactly
    - aiorepl: handle stream shutdown
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Aug 3, 2025
    Configuration menu
    Copy the full SHA
    7c8ae78 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2025

  1. renesas-ra/mpconfigport: Enable MICROPY_TIME_SUPPORT_Y1969_AND_BEFORE.

    This setting was missed in df05cae.  It's
    needed for this port to pass its `tests/ports/renesas-ra/modtime.py` test.
    
    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Aug 4, 2025
    Configuration menu
    Copy the full SHA
    255d74b View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2025

  1. ports: Allow MICROPY_PY_MACHINE_I2C_TARGET to be disabled by board cfg.

    Signed-off-by: Damien George <damien@micropython.org>
    dpgeorge committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    d5ecda0 View commit details
    Browse the repository at this point in the history
  2. esp32/machine_timer: Enable timer clock source for ESP32C6.

    Otherwise the PLL is not enabled.  These changes are adapted from
    `timer_legacy.h` in ESP-IDF.
    
    This work was funded through GitHub Sponsors.
    
    Signed-off-by: Angus Gratton <angus@redyak.com.au>
    projectgus authored and dpgeorge committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    ce109af View commit details
    Browse the repository at this point in the history
  3. esp32/machine_timer: Fix machine.Timer() tick frequency on ESP32C2,C6.

    Also future-proofs this code for other chips. Apart form C6 and C2, all
    currently supported chips use APB clock for GPTIMER_CLK_SRC_DEFAULT.
    
    ESP32-C2 uses 40MHz PLL but APB_CLK_FREQ was 26MHz.
    ESP32-C6 uses 80MHz PLL but APB_CLK_FREQ was 40MHz.
    
    Implementation now gets the correct frequency from ESP-IDF.
    
    This work was funded through GitHub Sponsors.
    
    Signed-off-by: Angus Gratton <angus@redyak.com.au>
    projectgus authored and dpgeorge committed Aug 7, 2025
    Configuration menu
    Copy the full SHA
    593ae04 View commit details
    Browse the repository at this point in the history
Loading