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

update platformio override example file (solves #4395) #4398

Merged
merged 8 commits into from
Dec 16, 2024

Conversation

softhack007
Copy link
Collaborator

@softhack007 softhack007 commented Dec 15, 2024

  • Solved platformIO errors due to undefined references and undefined environments
  • Adjusted description of build_flags to match version 0.15
  • Added "extends" to esp32 build environments
  • moved default build_unflags and board_build.partitions into the main platformio.ini, so custom builds can inherit them with extends =
  • Additional example environment for pico32-D4 board (see https://github.com/srg74/WLED-ESP32-pico)

I have successfully built some randomly picked firmware envs, however did not test all of them.

* WLED_tasmota_1M not existing
* always use ${esp32.default_partitions}
* fix build error in wemos_shield_esp32
* DEFAULT_LED_PIN --> DATA_PINS
* DEFAULT_LED_COUNT --> PIXEL_COUNTS
* DEFAULT_LED_TYPE --> LED_TYPES
* USERMOD_AUDIOREACTIVE --> ${esp32.AR_build_flags}
directly inherits default platform from esp32
this one is actually for https://github.com/srg74/WLED-ESP32-pico

Its a simple example how to configure WLED for a custom board with build-in microphone and special purpose pins.
to ensure that build_unflags and board_build.partitions are always having a useful default value. Values can be overridden in custom buildenvs.

saves us a few lines lin platformio_override.sample.ini.
the trick is to pin TFT_eSPI version 2.5.33
@softhack007 softhack007 merged commit d4976ac into main Dec 16, 2024
38 checks passed
@softhack007 softhack007 deleted the 4395-platformio_override branch December 16, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

platformio_override.sample.ini does not work - 'No option 'default_partitions' in section: 'esp32_idf_V4''
1 participant