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: micropython/micropython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: webduinoio/micropython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 7 files changed
  • 2 contributors

Commits on Oct 31, 2025

  1. 優化 ESP32_GENERIC:禁用藍牙並強化 WiFi/MQTT 性能

    主要變更:
    
    1. 禁用藍牙支援:
       - 移除 sdkconfig.ble,新增 sdkconfig.optimize
       - 設定 MICROPY_PY_BLUETOOTH (0)
       - 韌體減少 195KB(-11.9%)
    
    2. 記憶體優化:
       - Python heap 設為 80KB(保留更多給網路堆疊)
       - 可用記憶體:~180KB(足夠應用使用)
    
    3. WiFi/MQTT 網路優化:
       - WiFi 緩衝區:16 靜態 RX + 64 動態 RX/TX
       - TCP 窗口:16KB(預設 5.7KB)
       - TCP 郵箱:32(預設 6)
       - 啟用 TCP Keepalive(適合 MQTT 長連接)
       - 並發連接:16(預設 12)
    
    4. 相容性修復:
       - 修復 machine_timer.c 與 ESP-IDF 5.3.1 相容性
       - 注釋 esp_clk_tree_enable_src(此版本不可用)
    
    適用場景:需要穩定 WiFi/MQTT 連接的 IoT 應用
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    Marty and claude committed Oct 31, 2025
    Configuration menu
    Copy the full SHA
    d4c112a View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2025

  1. 修正 ESP32-S3 編譯問題:停用 I2C target 模式

    停用 ESP32_GENERIC_S3 板型的 I2C target(從設備)模式,
    以解決與 ESP-IDF v5.3.1 API 不相容的編譯錯誤。
    
    - 在 mpconfigboard.h 中設定 MICROPY_PY_MACHINE_I2C_TARGET=0
    - I2C master(主設備)模式仍正常可用
    - 更新編譯依賴鎖定檔案
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    
    Co-Authored-By: Claude <noreply@anthropic.com>
    Marty and claude committed Nov 7, 2025
    Configuration menu
    Copy the full SHA
    39c4871 View commit details
    Browse the repository at this point in the history
Loading