-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Add all release environments to platformio.ini #736
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
Conversation
When adding an RGBW device to Alexa and then selecting a white color tone, Alexa will send CT values to the device. Having a warm white or cold white strip should use 100% of that strip and then add the RGB colors to get either a warmer color or a colder one.
Added IR remote with 40 keys to use with RGBW stripes.
...not implemented for ESP32 yet ESP32 Solid RGBW defines moved from env:esp32dev to env:esp32 ESP32 Solid RGBW defines
Update readme.md
To turn off IR remote use "0" in the settings, use 1 to 4 for different IR remote types.
adapt the logic to use CW and WW for different CT-values
Changed code from #define WLED_DISABLE_ANALOG_LEDS to #define WLED_USE_ANALOG_LEDS
NightLight used to brighten the light combined with fading from the actual (primary) color to the secondary color
RLYPIN definition dependant on WLED_USE_ANALOG_LEDS Corrected list-item indents (readme.md) updated to match upstream master (briLast in wled00.ino)
RLYPIN definition dependant on WLED_USE_ANALOG_LEDS Fixed headline and corrected list-item indents (readme.md) updated to match upstream master (briLast in wled00.ino)
...to map the releases
|
As a broder "solution" why not expand the platformio_override example to have all of the disable, enable, pin_option flags so that it's a one-file point for users to be able to tweak the build for the interface-level customizations? It already has the disables, but LEDPIN, IR_PIN, BTN_PIN, RLYMDE, etc can be added |
...instead of [email protected] (both on arduino 2.6.3)
|
like this ? |
|
i would go with copying the comments too so it's clear what each means. so, if all you want to do it make WLED work with your favourite flavour of ESP board and breakout, then you can follow lots of online how-tos for setting up platformIO in various IDEs and then just make a platformio_override with your tweaks. At least until any of these are configurable in a UI. |
|
Hmm does anybody know how to exclude some environments from travis?
|
|
perhaps change the travis.yaml to use platformio run instead of platformio ci in the script section. the run command follows platformio.ini (and you'll need to change the platformio.ini to uncomment the release build line). Travis does allow some custom files, but I've used this for a secrets file so don't know if platformio.ini is also a possible option. |
|
ah...something like this in travis.yml:
The residual risk being an issue in the platformio.ini file for other builds or forgetting to sync up changes in the common sections. |
|
...unfortunately I cannot compile with -D DEBUG_ESP_CORE enabled 😢 ...I'm just trying an expplicit "include" of environments in Travis.Ci ... |
|
Awesome, thanks! Ready for merge? |
|
DEBUG is building now, but the "include" in the YAML did not work 😢 but: ready to merge. Will have a closer look into |
|
One solution would be to have a |
| # This reduces the OTA size with ~45KB, so it's especially useful on low memory boards (512k/1m). | ||
| # ------------------------------------------------------------------------------ | ||
| build_flags = -g -w -DMQTT_MAX_PACKET_SIZE=1024 -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH | ||
| build_flags = -g -w -DMQTT_MAX_PACKET_SIZE=1024 -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change intentional ? Also maybe it would be better to try this: #732 (comment)
Hi @Aircoookie,
I added the custom configurations (like LEDPIN or WS2801 and APA102) to the environments so that we get all configured in the PIO and the users can build everything like distributed in the releases.