Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C6 experiments #138

Draft
wants to merge 24 commits into
base: mdev
Choose a base branch
from
Draft

C6 experiments #138

wants to merge 24 commits into from

Commits on Jun 13, 2024

  1. ESP32-C6 buildenv

    due to Arduino 3.0.1, a few updated libraries are required:
    * Tasmota Platform - official platfomio lacks arduino support for C6
    * FastLED (latest + C6 build patches)
    * AsyncTCP (latest + C6 build patches)
    * AsyncWebServer (latest + C6 build patches)
    * NeoPixelBus (lastest)
    softhack007 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    a68c1a8 View commit details
    Browse the repository at this point in the history
  2. bus manager: ledc (PWM) driver disabled for -C6

    ledc drivers have a different API in Arduino V3.0.1.
    --> temporarily disable PWM support for C6, until we find the time to adopt to the new API.
    softhack007 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    931788f View commit details
    Browse the repository at this point in the history
  3. added WLED_NO_RMT_PIXELBUS for -C6

    currently NPB only support BitBang drivers for -C6.
    This patch re-maps all RMT driver calls to BitBang.
    softhack007 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    b19902b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    246e2e9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e843d8a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    404c88c View commit details
    Browse the repository at this point in the history
  7. pinmanager update for -C6

    The ESP32-C6 chip features 31 physical GPIO pins (GPIO0 ~ GPIO30). Each pin can be used as a general-purpose I/O, or to be connected to an internal peripheral signal.
    
    restrictions:
    -----------------
    
    SPI0/1: GPIO24 ~ GPIO30 are usually used for SPI flash and not recommended for other uses.
    
    USB-JTAG: GPIO12 and GPIO13 are used by USB-JTAG by default. If they are reconfigured to operate as normal GPIOs, USB-JTAG functionality will be disabled.
    
    Strapping pin: GPIO4, GPIO5, GPIO8, GPIO9, and GPIO15 are strapping pins. For more information, please refer to datasheet.
    
    For chip variants with an SiP flash built in, GPIO24 ~ GPIO30 are dedicated to connecting the SiP flash; GPIO10 ~ GPIO11 are not led out to any chip pins; therefore, only the remaining 22 GPIO pins are available.
    
    For chip variants without an in-package flash, GPIO14 is not led out to any chip pins.
    softhack007 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    3bf3a25 View commit details
    Browse the repository at this point in the history
  8. several places where -C6 should be treated like -C3

    adding `#if defined(CONFIG_IDF_TARGET_ESP32C6)` whenever C3 was mentioned
    softhack007 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    784affd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9fdb4c6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1a66d6e View commit details
    Browse the repository at this point in the history
  11. hack to make 8266 compile again

    lessons learned:
    one doesn't simply `#if defined(ESP_IDF_VERSION) && ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)`   ;-P
    softhack007 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    7b42a70 View commit details
    Browse the repository at this point in the history
  12. fix for fix

    softhack007 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    6d4b611 View commit details
    Browse the repository at this point in the history
  13. Update platformio.ini

    * more debug output
    * added my own fork of FastLED ( looks like more bugs to solve ....)
    softhack007 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    4ddead4 View commit details
    Browse the repository at this point in the history
  14. Update platformio.ini

    softhack007 authored Jun 13, 2024
    Configuration menu
    Copy the full SHA
    ee5f09a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    af9cfae View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    27617ec View commit details
    Browse the repository at this point in the history
  17. Update platformio.ini

    softhack007 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    f21350d View commit details
    Browse the repository at this point in the history
  18. use full arduino framework

    ... instead of reduced Tasmota-Arduino
    softhack007 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    3a13278 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    d07fe96 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. FASTLED_NO_FASTLED

    softhack007 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    656d6ae View commit details
    Browse the repository at this point in the history
  2. Update platformio.ini

    * reduce debug level
    * enable websockets (seems to work)
    * move NO_FASTLED into chip section
    * adjust LEDPIN and BTNPIN, to match my board
    softhack007 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    45ccab2 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Configuration menu
    Copy the full SHA
    6cfb1f8 View commit details
    Browse the repository at this point in the history
  2. post-merge fixes

    softhack007 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    dc0371f View commit details
    Browse the repository at this point in the history
  3. upgrade to arduino 3.0.3

    softhack007 committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    5e160b8 View commit details
    Browse the repository at this point in the history