forked from wled/WLED
-
-
Notifications
You must be signed in to change notification settings - Fork 119
P4 Experimental Build #182
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
Merged
troyhacks
merged 135 commits into
MoonModules:P4_experimental
from
troyhacks:P4_experimental
Nov 19, 2024
Merged
P4 Experimental Build #182
troyhacks
merged 135 commits into
MoonModules:P4_experimental
from
troyhacks:P4_experimental
Nov 19, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)
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.
currently NPB only support BitBang drivers for -C6. This patch re-maps all RMT driver calls to BitBang.
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.
adding `#if defined(CONFIG_IDF_TARGET_ESP32C6)` whenever C3 was mentioned
lessons learned: one doesn't simply `#if defined(ESP_IDF_VERSION) && ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)` ;-P
* more debug output * added my own fork of FastLED ( looks like more bugs to solve ....)
…into C6_experimental
... instead of reduced Tasmota-Arduino
* reduce debug level * enable websockets (seems to work) * move NO_FASTLED into chip section * adjust LEDPIN and BTNPIN, to match my board
…nto P4_experimental
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding this as a draft for visibility.
IDF v5.3.1
What works now, or as good as can be expected:
What I had to do/rewrite (done):
What's on the TODO list: (not fatal)
...and of course getting local LEDs to work, as that's a blocker from being "done"