Skip to content

Commit 54c79a0

Browse files
committed
updated version
1 parent d0eb0db commit 54c79a0

File tree

333 files changed

+20937
-15685
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

333 files changed

+20937
-15685
lines changed

CONTRIBUTING.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,28 @@ Github will pick up the changes so your PR stays up-to-date.
2626
> It has many subtle and unexpected consequences on our github reposistory.
2727
> For example, we regularly lost review comments when the PR author force-pushes code changes. So, pretty please, do not force-push.
2828
29+
> [!TIP]
30+
> use [cherry-picking](https://docs.github.com/en/desktop/managing-commits/cherry-picking-a-commit-in-github-desktop) to copy commits from one branch to another.
2931
3032
You can find a collection of very useful tips and tricks here: https://github.com/wled-dev/WLED/wiki/How-to-properly-submit-a-PR
3133

34+
### Source Code from an AI agent or bot
35+
> [!IMPORTANT]
36+
> Its OK if you took help from an AI for writing your source code.
37+
>
38+
> However, we expect a few things from you as the person making a contribution to WLED:
39+
* Make sure you really understand the code suggested by the AI, and don't just accept it because it "seems to work".
40+
* Don't let the AI change existing code without double-checking by you as the contributor. Often, the result will not be complete. For example, previous source code comments may be lost.
41+
* Remember that AI are still "Often-Wrong" ;-)
42+
* If you don't feel very confident using English, you can use AI for translating code comments and descriptions into English. AI bots are very good at understanding language. However, always check if the results is correct. The translation might still have wrong technical terms, or errors in some details.
43+
44+
#### best practice with AI:
45+
* As the person who contributes source code to WLED, make sure you understand exactly what the AI generated code does
46+
* best practice: add a comment like ``'// below section of my code was generated by an AI``, when larger parts of your source code were not written by you personally.
47+
* always review translations and code comments for correctness
48+
* always review AI generated source code
49+
* If the AI has rewritten existing code, check that the change is necessary and that nothing has been lost or broken. Also check that previous code comments are still intact.
50+
3251

3352
### Code style
3453

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "esp32s3_out.ld",
5+
"partitions": "default_8MB.csv"
6+
},
7+
"core": "esp32",
8+
"extra_flags": [
9+
"-DARDUINO_ADAFRUIT_MATRIXPORTAL_ESP32S3",
10+
"-DARDUINO_USB_CDC_ON_BOOT=1",
11+
"-DARDUINO_RUNNING_CORE=1",
12+
"-DARDUINO_EVENT_RUNNING_CORE=1",
13+
"-DBOARD_HAS_PSRAM"
14+
],
15+
"f_cpu": "240000000L",
16+
"f_flash": "80000000L",
17+
"flash_mode": "qio",
18+
"hwids": [
19+
[
20+
"0x239A",
21+
"0x8125"
22+
],
23+
[
24+
"0x239A",
25+
"0x0125"
26+
],
27+
[
28+
"0x239A",
29+
"0x8126"
30+
]
31+
],
32+
"mcu": "esp32s3",
33+
"variant": "adafruit_matrixportal_esp32s3"
34+
},
35+
"connectivity": [
36+
"bluetooth",
37+
"wifi"
38+
],
39+
"debug": {
40+
"openocd_target": "esp32s3.cfg"
41+
},
42+
"frameworks": [
43+
"arduino",
44+
"espidf"
45+
],
46+
"name": "Adafruit MatrixPortal ESP32-S3 for WLED",
47+
"upload": {
48+
"flash_size": "8MB",
49+
"maximum_ram_size": 327680,
50+
"maximum_size": 8388608,
51+
"use_1200bps_touch": true,
52+
"wait_for_upload_port": true,
53+
"require_upload_port": true,
54+
"speed": 460800
55+
},
56+
"url": "https://www.adafruit.com/product/5778",
57+
"vendor": "Adafruit"
58+
}

boards/lilygo-t7-s3.json

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"build": {
3+
"arduino":{
4+
"ldscript": "esp32s3_out.ld",
5+
"memory_type": "qio_opi",
6+
"partitions": "default_16MB.csv"
7+
},
8+
"core": "esp32",
9+
"extra_flags": [
10+
"-DARDUINO_TTGO_T7_S3",
11+
"-DBOARD_HAS_PSRAM",
12+
"-DARDUINO_USB_MODE=1"
13+
],
14+
"f_cpu": "240000000L",
15+
"f_flash": "80000000L",
16+
"flash_mode": "qio",
17+
"hwids": [
18+
[
19+
"0X303A",
20+
"0x1001"
21+
]
22+
],
23+
"mcu": "esp32s3",
24+
"variant": "esp32s3"
25+
},
26+
"connectivity": [
27+
"wifi",
28+
"bluetooth"
29+
],
30+
"debug": {
31+
"openocd_target": "esp32s3.cfg"
32+
},
33+
"frameworks": [
34+
"arduino",
35+
"espidf"
36+
],
37+
"name": "LILYGO T3-S3",
38+
"upload": {
39+
"flash_size": "16MB",
40+
"maximum_ram_size": 327680,
41+
"maximum_size": 16777216,
42+
"require_upload_port": true,
43+
"speed": 921600
44+
},
45+
"url": "https://www.aliexpress.us/item/3256804591247074.html",
46+
"vendor": "LILYGO"
47+
}

build.log

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
Warning! `src_filter` configuration option in section [env:esp32dev] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
2+
Processing esp32dev (board: esp32dev; platform: https://github.com/tasmota/platform-espressif32/releases/download/2023.06.02/platform-espressif32.zip; framework: arduino)
3+
--------------------------------------------------------------------------------
4+
Library Manager: Installing SPI
5+
Verbose mode can be enabled via `-v, --verbose` option
6+
*** use existing my_config.h ***
7+
Installing node packages
8+
npm ci
9+
10+
added 68 packages, and audited 69 packages in 633ms
11+
12+
13 packages are looking for funding
13+
run `npm fund` for details
14+
15+
found 0 vulnerabilities
16+
npm run build
17+
18+
> wled@0.16.0-alpha build
19+
> node tools/cdata.js
20+
21+
22+
## ## ## ###### ######
23+
## ## ## ## ## ## ##
24+
## ## ## ## ###### ## ##
25+
## ## ## ## ## ## ##
26+
## ## ###### ###### ######
27+
build script for web UI
28+
29+
Web UI is already built
30+
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
31+
PLATFORM: Espressif 32 (2023.6.2) > Espressif ESP32 Dev Module
32+
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
33+
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
34+
PACKAGES:
35+
- framework-arduinoespressif32 @ 2.0.9
36+
- tool-esptoolpy @ 1.40602.0 (4.6.2)
37+
- tool-mklittlefs @ 1.203.210628 (2.3)
38+
- tool-mkspiffs @ 2.230.0 (2.30)
39+
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
40+
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
41+
LDF Modes: Finder ~ chain, Compatibility ~ strict
42+
Found 46 compatible libraries
43+
Scanning dependencies...
44+
Dependency Graph
45+
|-- AsyncTCP @ 3.4.7
46+
|-- AnimatedGIF @ 1.4.7
47+
|-- GifDecoder @ 1.1.0+sha.bc3af18
48+
|-- esp_dmx @ 3.1.1+sha.47db25d8
49+
|-- FastLED @ 3.6.0
50+
|-- IRremoteESP8266 @ 2.8.2
51+
|-- NeoPixelBus @ 2.8.4+sha.a0919d1
52+
|-- ESPAsyncWebServerWLED @ 2.4.2+sha.39b830c
53+
|-- AsyncMqttClient @ 0.9.0
54+
|-- QuickEspNow @ 0.8.1+sha.193e991
55+
|-- audioreactive
56+
|-- SD_MMC @ 2.0.0
57+
|-- SD @ 2.0.0
58+
|-- SPI @ 2.0.0
59+
|-- ESPmDNS @ 2.0.0
60+
|-- Wire @ 2.0.0
61+
|-- Update @ 2.0.0
62+
|-- ArduinoOTA @ 2.0.0
63+
|-- EEPROM @ 2.0.0
64+
|-- DNSServer @ 2.0.0
65+
|-- Ethernet @ 2.0.0
66+
|-- LittleFS @ 2.0.0
67+
|-- WiFi @ 2.0.0
68+
|-- NeoESP32RmtHI
69+
|-- ESP32 Async UDP @ 2.0.0
70+
|-- WebServer @ 2.0.0
71+
Building in release mode
72+
Compiling .pio/build/esp32dev/usermods/FSEQ/register_usermod.cpp.o
73+
Compiling .pio/build/esp32dev/src/bus_manager.cpp.o
74+
Compiling .pio/build/esp32dev/src/button.cpp.o
75+
Compiling .pio/build/esp32dev/src/cfg.cpp.o
76+
Compiling .pio/build/esp32dev/src/colors.cpp.o
77+
Compiling .pio/build/esp32dev/src/dmx_input.cpp.o
78+
Compiling .pio/build/esp32dev/src/dmx_output.cpp.o
79+
Compiling .pio/build/esp32dev/src/e131.cpp.o
80+
Compiling .pio/build/esp32dev/src/file.cpp.o
81+
Compiling .pio/build/esp32dev/src/hue.cpp.o
82+
In file included from usermods/FSEQ/usermod_fpp.h:3,
83+
from usermods/FSEQ/register_usermod.cpp:1:
84+
usermods/FSEQ/usermod_fseq.h:38:12: error: 'SPIClass' does not name a type; did you mean 'class'?
85+
inline SPIClass spiPort = SPIClass(VSPI);
86+
^~~~~~~~
87+
class
88+
In file included from .pio/libdeps/esp32dev/FastLED/src/FastLED.h:75,
89+
from wled00/colors.h:9,
90+
from wled00/bus_manager.cpp:25:
91+
.pio/libdeps/esp32dev/FastLED/src/fastspi.h:157:23: note: #pragma message: No hardware SPI pins defined. All SPI access will default to bitbanged output
92+
# pragma message "No hardware SPI pins defined. All SPI access will default to bitbanged output"
93+
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
94+
In file included from usermods/FSEQ/usermod_fpp.h:3,
95+
from usermods/FSEQ/register_usermod.cpp:1:
96+
usermods/FSEQ/usermod_fseq.h: In member function 'void UsermodFseq::reinit_SD_SPI()':
97+
usermods/FSEQ/usermod_fseq.h:147:5: error: 'spiPort' was not declared in this scope
98+
spiPort.begin(configPinSourceClock, configPinPoci, configPinPico, configPinSourceSelect);
99+
^~~~~~~
100+
usermods/FSEQ/usermod_fseq.h:147:5: note: suggested alternative: 'udpPort'
101+
spiPort.begin(configPinSourceClock, configPinPoci, configPinPico, configPinSourceSelect);
102+
^~~~~~~
103+
udpPort
104+
*** [.pio/build/esp32dev/usermods/FSEQ/register_usermod.cpp.o] Error 1
105+
========================== [FAILED] Took 6.31 seconds ==========================
106+
107+
Environment Status Duration
108+
------------- -------- ------------
109+
esp32dev FAILED 00:00:06.313
110+
==================== 1 failed, 0 succeeded in 00:00:06.313 ====================

0 commit comments

Comments
 (0)