-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
platformio sample cleanup #5190
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
Open
netmindz
wants to merge
2
commits into
wled:main
Choose a base branch
from
netmindz:platformio_override-cleanup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1
−114
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -232,23 +232,6 @@ build_flags = ${common.build_flags} ${esp8266.build_flags} | |
| lib_deps = ${esp8266.lib_deps} | ||
| monitor_filters = esp8266_exception_decoder | ||
|
|
||
| [env:heltec_wifi_kit_8] | ||
| board = d1_mini | ||
| platform = ${common.platform_wled_default} | ||
| platform_packages = ${common.platform_packages} | ||
| board_build.ldscript = ${common.ldscript_4m1m} | ||
| build_unflags = ${common.build_unflags} | ||
| build_flags = ${common.build_flags} ${esp8266.build_flags} | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| [env:h803wf] | ||
| board = d1_mini | ||
| platform = ${common.platform_wled_default} | ||
| platform_packages = ${common.platform_packages} | ||
| board_build.ldscript = ${common.ldscript_4m1m} | ||
| build_unflags = ${common.build_unflags} | ||
| build_flags = ${common.build_flags} ${esp8266.build_flags} -D DATA_PINS=1 -D WLED_DISABLE_INFRARED | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| [env:esp32dev_qio80] | ||
| extends = env:esp32dev # we want to extend the existing esp32dev environment (and define only updated options) | ||
|
|
@@ -260,8 +243,7 @@ board_build.f_flash = 80000000L | |
| board_build.flash_mode = qio | ||
|
|
||
| [env:esp32dev_V4_dio80] | ||
| ;; experimental ESP32 env using ESP-IDF V4.4.x | ||
| ;; Warning: this build environment is not stable!! | ||
| ;; ESP32 env using ESP-IDF V4.4.x | ||
| ;; please erase your device before installing. | ||
| extends = esp32_idf_V4 # based on newer "esp-idf V4" platform environment | ||
| board = esp32dev | ||
|
|
@@ -292,33 +274,6 @@ extends = env:esp32s3dev_8MB_PSRAM_opi | |
| board = esp32-s3-devkitc-1 ;; generic dev board; the next line adds PSRAM support | ||
| board_build.arduino.memory_type = qio_qspi ;; use with PSRAM: 2MB or 4MB | ||
|
|
||
| [env:esp8285_4CH_MagicHome] | ||
| board = esp8285 | ||
| platform = ${common.platform_wled_default} | ||
| platform_packages = ${common.platform_packages} | ||
| board_build.ldscript = ${common.ldscript_1m128k} | ||
| build_unflags = ${common.build_unflags} | ||
| build_flags = ${common.build_flags} ${esp8266.build_flags} -D WLED_DISABLE_OTA | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| [env:esp8285_H801] | ||
| board = esp8285 | ||
| platform = ${common.platform_wled_default} | ||
| platform_packages = ${common.platform_packages} | ||
| board_build.ldscript = ${common.ldscript_1m128k} | ||
| build_unflags = ${common.build_unflags} | ||
| build_flags = ${common.build_flags} ${esp8266.build_flags} -D WLED_DISABLE_OTA | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| [env:d1_mini_5CH_Shojo_PCB] | ||
| board = d1_mini | ||
| platform = ${common.platform_wled_default} | ||
| platform_packages = ${common.platform_packages} | ||
| board_build.ldscript = ${common.ldscript_4m1m} | ||
| build_unflags = ${common.build_unflags} | ||
| build_flags = ${common.build_flags} ${esp8266.build_flags} -D WLED_USE_SHOJO_PCB ;; NB: WLED_USE_SHOJO_PCB is not used anywhere in the source code. Not sure why its needed. | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| [env:d1_mini_debug] | ||
| board = d1_mini | ||
| build_type = debug | ||
|
|
@@ -341,15 +296,6 @@ build_unflags = ${common.build_unflags} | |
| build_flags = ${common.build_flags} ${esp8266.build_flags} | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| [env:anavi_miracle_controller] | ||
| board = d1_mini | ||
| platform = ${common.platform_wled_default} | ||
| platform_packages = ${common.platform_packages} | ||
| board_build.ldscript = ${common.ldscript_4m1m} | ||
| build_unflags = ${common.build_unflags} | ||
| build_flags = ${common.build_flags} ${esp8266.build_flags} -D DATA_PINS=12 -D IRPIN=-1 -D RLYPIN=2 | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| [env:esp32c3dev_2MB] | ||
| ;; for ESP32-C3 boards with 2MB flash (instead of 4MB). | ||
| ;; this board need a specific partition file. OTA not possible. | ||
|
|
@@ -471,65 +417,6 @@ build_unflags = ${common.build_unflags} | |
| build_flags = ${common.build_flags} ${esp8266.build_flags} -D BTNPIN=0 -D RLYPIN=-1 DATA_PINS=4,12,14,13 -D WLED_DISABLE_INFRARED | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| [env:MY9291] | ||
| board = esp01_1m | ||
| platform = ${common.platform_wled_default} | ||
| platform_packages = ${common.platform_packages} | ||
| board_build.ldscript = ${common.ldscript_1m128k} | ||
| build_unflags = ${common.build_unflags} | ||
| build_flags = ${common.build_flags} ${esp8266.build_flags} -D WLED_DISABLE_OTA -D USERMOD_MY9291 | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| # ------------------------------------------------------------------------------ | ||
| # codm pixel controller board configurations | ||
| # codm-controller-0_6 can also be used for the TYWE3S controller | ||
| # ------------------------------------------------------------------------------ | ||
|
|
||
| [env:codm-controller-0_6] | ||
| board = esp_wroom_02 | ||
| platform = ${common.platform_wled_default} | ||
| platform_packages = ${common.platform_packages} | ||
| board_build.ldscript = ${common.ldscript_2m512k} | ||
| build_unflags = ${common.build_unflags} | ||
| build_flags = ${common.build_flags} ${esp8266.build_flags} | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| [env:codm-controller-0_6-rev2] | ||
| board = esp_wroom_02 | ||
| platform = ${common.platform_wled_default} | ||
| platform_packages = ${common.platform_packages} | ||
| board_build.ldscript = ${common.ldscript_4m1m} | ||
| build_unflags = ${common.build_unflags} | ||
| build_flags = ${common.build_flags} ${esp8266.build_flags} | ||
| lib_deps = ${esp8266.lib_deps} | ||
|
|
||
| # ------------------------------------------------------------------------------ | ||
| # EleksTube-IPS | ||
| # ------------------------------------------------------------------------------ | ||
| [env:elekstube_ips] | ||
| extends = esp32 ;; use default esp32 platform | ||
| board = esp32dev | ||
| upload_speed = 921600 | ||
| custom_usermods = ${env:esp32dev.custom_usermods} RTC EleksTube_IPS | ||
| build_flags = ${common.build_flags} ${esp32.build_flags} -D WLED_DISABLE_BROWNOUT_DET -D WLED_DISABLE_INFRARED | ||
| -D DATA_PINS=12 | ||
| -D RLYPIN=27 | ||
| -D BTNPIN=34 | ||
| -D PIXEL_COUNTS=6 | ||
| # Display config | ||
| -D ST7789_DRIVER | ||
| -D TFT_WIDTH=135 | ||
| -D TFT_HEIGHT=240 | ||
| -D CGRAM_OFFSET | ||
| -D TFT_SDA_READ | ||
| -D TFT_MOSI=23 | ||
| -D TFT_SCLK=18 | ||
| -D TFT_DC=25 | ||
| -D TFT_RST=26 | ||
| -D SPI_FREQUENCY=40000000 | ||
| -D USER_SETUP_LOADED | ||
| monitor_filters = esp32_exception_decoder | ||
|
Comment on lines
-506
to
-531
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a usermod example that's in the wrong place - probably a bad merge moved the header comment. I think it should get moved to the EleksTube_IPS usermod readme (and we should do the same with the RF433 example too) |
||
|
|
||
|
|
||
| # ------------------------------------------------------------------------------ | ||
| # Usermod examples | ||
|
|
||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
all buildenvs are "V4" now
-> replace with
extends = esp32dev--> remove everything else in this buildenv, only keep
board_build.f_flash = 80000000Landboard_build.flash_mode = dio