Will Tatam
2adf745d06
Update env:usermods to use V4
2025-01-15 11:22:33 +00:00
Will Tatam
ef2eb0764c
Merge branch 'main' into usermod-libs
2025-01-15 11:00:52 +00:00
Will Miles
32607ee74c
Revert incorrect testing platformio.ini
2025-01-15 02:26:34 +00:00
Will Miles
8fd905215f
Integrate usermods environment
...
Move the "all usermods" logic in to the platformio script, so the
'usermods' environment can be built in any checkout without extra setup
commands.
2025-01-14 22:21:26 +00:00
Will Tatam
53c1856038
Enable GIF support for all esp32 builds
2025-01-14 18:47:06 +00:00
Christian Schwinne
7c03f716a8
Include gif library for all esp32 variants
2025-01-14 18:29:30 +00:00
Will Tatam
deb0306347
Merge branch 'main' into gif-fix
2025-01-14 18:26:41 +00:00
Will Tatam
a37b953e72
Set flash_mode to qio for esp32c3dev to maintain current behaviour
2025-01-14 12:44:40 +00:00
Will Tatam
bba5188594
Add the safe option of flash_mode for esp32c3dev, qio also possible
2025-01-14 12:43:06 +00:00
Will Tatam
7dc633581d
Merge branch 'V4-tasmota' of github.com:netmindz/WLED into V4-tasmota
2025-01-14 12:29:19 +00:00
Will Tatam
bd00d012e2
Remove esp8266_2m_tasmota as not a V4 change and no suitable tasmota build using the currently used Arduino Core version of 3.1.2
2025-01-14 12:29:03 +00:00
Will Miles
0b8721c25e
Fix usermod libArchive setting
...
Monkey-patch PlatformIO to intercept the build process after library
dependencies are loaded, but before the build is fully analyzed. This
lets us enforce libArchive=False for usermods without making that
setting global across all libraries.
The rest of the fixup code is integrated at the same call site for
simplicity.
2025-01-14 02:48:00 +00:00
Will Tatam
022e4986ee
Revert "Update to Tasmota Arduino Core 2.0.18" - Frank says to stay on
...
2.0.9
This reverts commit b421f7ae87 .
2025-01-14 00:24:37 +00:00
Will Tatam
2c9c413e79
Merge branch 'usermod-libs' into usermod-libs-migration
2025-01-14 00:22:07 +00:00
Will Tatam
650853c177
Use flash_mode = dio
2025-01-13 21:09:05 +00:00
Will Tatam
f920fdecfe
Add esp32dev back to default_envs
2025-01-13 21:02:28 +00:00
Will Tatam
4e4f823141
Update comment
2025-01-13 20:57:49 +00:00
Will Tatam
b421f7ae87
Update to Tasmota Arduino Core 2.0.18
2025-01-13 20:56:48 +00:00
Will Tatam
ca80d0489b
Add env:esp8266_2m_tasmota
2025-01-13 20:30:10 +00:00
Will Tatam
7e9f7d4101
set board_build.flash_mode to fix missing sdkconfig.h
2025-01-13 18:39:21 +00:00
Will Tatam
f240a33935
Remove platform_package override
2025-01-13 18:33:30 +00:00
Will Tatam
5bd0a26126
Remove platform_package override
2025-01-13 16:39:58 +00:00
Will Tatam
29ee551b06
Swap to tasmota/platform-espressif32
2025-01-13 15:38:25 +00:00
Will Tatam
5b5e4157e3
Add esp32dev_v4 env
2025-01-13 11:12:14 +00:00
Will Tatam
3c19692312
Cleanup copy-paste of platform and platform_packages - use the proper common esp32_idf_V4
2025-01-13 10:58:32 +00:00
Will Miles
f2626b0fc0
Remove now-obsolete AR_build_flags
2025-01-12 17:09:33 +00:00
Will Miles
cc9e9b109c
Fix usermod library builds
...
Manage include folders via a second platformio script, fixing builds and
removing all the extra boilerplate from usermod library.json files.
2025-01-12 17:07:36 +00:00
Will Tatam
2381e323c1
Define dependencies for ADS1115 usermod
2025-01-11 22:54:28 +00:00
Will Tatam
d64cedd3fc
Build custom_usermods = audioreactive auto_save animartrix
2025-01-11 22:38:57 +00:00
Will Tatam
c16d83fab0
Build custom_usermods = audioreactive auto_save animartrix
2025-01-11 22:36:06 +00:00
Will Tatam
cbed841414
Include basic usermods in CI
2025-01-11 22:12:36 +00:00
Will Miles
71b0e8e937
Convert AnimARTrix usermod to library
...
Borrowed library definition from @netmindz's work on #4476 .
2025-01-11 13:32:28 -05:00
Will Miles
b8685f2c39
Convert usermods to static libraries
...
Redesign the usermod system so that usermods are implemented as
PlatformIO libraries instead of headers. This permits them to call for
dependencies, and eliminates the compiler flags for enabling each one,
allowing the build cache to behave better.
The usermod list is built using some linker magic to construct a static
list in ROM memory. This eliminates the need for wasting SRAM on
something fixed at build time.
2025-01-11 12:08:29 -05:00
Frank
3d3c475d1b
define board_build.partitions and build_unflags in standard envs
...
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.
2024-12-15 22:20:52 +01:00
Will Tatam
6aef0e145c
Remove TOSTRING for releaseString and add quotes to WLED_RELEASE_NAME
2024-11-23 16:31:07 +00:00
Frank
3c2c5bedc5
LEDPIN --> DATA_PINS
2024-11-01 21:42:54 +01:00
Frank
1898be2fe1
S3 WROOM-2 buildenv
...
this chip has 16MB or 32MB flash, and requires .memory_type = opi_opi
2024-11-01 21:13:43 +01:00
Will Miles
2bb2caf2d2
Enable NON32XFER_HANDLER on ESP8266
...
This is a platform feature that asks forgiveness for PROGMEM misuse:
it adds a handler such that incorrectly used PROGMEM will work without
crashing, just really, *really* inefficiently.
Given that most of our real-world use cases for PROGMEM strings are
relatively infrequent text calls, we can err on the side of developer
convenience and address performance problems if and when they arise.
2024-10-23 20:01:42 -04:00
Frank
7db1989093
fix major performance regression in ArduinoFFT
...
since v2.0.0, we cannot override the internal sqrt function by #define --> moved to build_flags.
Average FFT time on esp32 : 4.5ms --> 1.8ms
2024-10-22 14:42:48 +02:00
Frank
7fa25ca7ae
pio update - flash size of non-standard boards
...
* adding missing flash size flags that were lost between 0.14 and 0.15
(necessary if you don't flash using esptool)
* adding env:esp32dev_16M for 16MB flash (serg74 esp32-16M, twilightlord esp32 16M)
2024-09-30 11:25:58 +02:00
Blaž Kristan
0806c7fbdb
Merge pull request #4142 from willmmiles/fix-webserver-pin
...
Fix AsyncWebServer version pin
2024-09-14 22:51:19 +02:00
Blaz Kristan
5708d7a6b8
Build bump, changelog update
2024-09-14 22:30:56 +02:00
Will Miles
2264cc5d10
Use tag to pin AsyncWebServer version
2024-09-14 16:11:46 -04:00
Blaz Kristan
3a5eb8c5d2
WLED 0.15.0-b5 release
...
- Audioreactive usermod always included
2024-09-10 16:07:37 +02:00
Frank
c1c707c77a
8266 compatibility builds for older chips (another attempt t o solve #3690 and #3685 )
...
some users have reported that releases after 0.14.0 are not working reliably. So we add a few "compat" for 8266 that try to reproduce the buildenv of 0.14.0 as much as possible.
* platform and platform_packages from 0.14.0
* not using PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48
* due to smaller IRAM, we had to move some functions back from IRAM to normal flash (may cause slowdown)
2024-09-04 11:38:03 +02:00
Will Miles
ff39a8db3f
Fix PWM crashes on ESP8266
...
Vendor in the ESP8266 Arduino core PWM library, with a fix for a nasty
NMI crash bug. Sometimes the NMI return instruction seems to fail,
resulting in an infinite loop as the PC gets stuck. Work around this
by backing up and restoring the PC if needed.
2024-06-27 21:30:05 -04:00
Blaz Kristan
f4475b9d2a
Dynamic parallel I2S output
...
- update NeoPixelBus to v2.8.0
- use single/mono I2S + 4x RMT for 5 outputs or less
- use parallel x8 I2S + 8x RMT for >5 outputs (limit of 300 LEDs per output)
2024-06-12 18:00:00 +02:00
Christian Struck
67df5d6dcc
fix: ESP32-S3 rev v0.2 seems to need the wifi fix
2024-06-01 09:09:01 +02:00
Blaz Kristan
4afed48f58
Use libc trigonometric functions on ESP32 by default
...
- use custom (space saving) functions on ESP8266
2024-05-10 15:59:11 +02:00
Frank
2607c44fbb
make objdump work
...
Script update based on latest version from Tasmota
* add support for all esp32 variants
* add "-C" : Decode (demangle) low-level symbol names into user-level C++ names.
2024-05-06 11:00:41 +02:00
Frank
1048bf993a
use lolin_s3_mini for esp32-S3 4MB buildenv
2024-04-27 23:34:35 +02:00
Blaz Kristan
5d271d21bc
INI cleanup
...
added 8M ESP32 and 16M ESP32-S3
2024-04-23 18:55:36 +02:00
Frank
4e4493e627
Merge pull request #3902 from Aircoookie/arduino_2_0_9
...
update esp32 platform to arduino-esp32 v2.0.9
2024-04-23 15:56:08 +02:00
Frank
1154905818
upgrading WROVER to use new platform
2024-04-23 15:49:39 +02:00
Frank
0d3ea848c2
"big partition" added - 300KB FS and coredump support(from WLEDMM)
2024-04-23 15:27:44 +02:00
Blaz Kristan
5c502b1fe4
Bump arduinoFFT, organise partitions
2024-04-17 22:49:33 +02:00
Blaz Kristan
3e20724058
ArduinoFFT update
...
shadow variables
2024-04-17 18:52:35 +02:00
Frank
442d7a7226
arduino-esp32 v2.0.9
2024-04-15 14:08:28 +02:00
Blaz Kristan
ba9ce4adf2
PIO env. PSRAM fix for S3 & S3 with 4M flash
...
- audioreactive always included for S3 & S2
2024-04-08 16:32:21 +02:00
Blaž Kristan
3b0e6ec65c
Merge pull request #3667 from ccruz09/main
...
usermod support for Adafruit MAX17048 module
2024-04-04 20:25:14 +02:00
Will Miles
6f7ac93d84
Update to AsyncWebServer v2.2.1
...
Fix use-after-free issue and slightly improve code size. Note that the
version is changed to a hard pin, so future updates can be validated
before getting picked up by new clones, and old version builds
are reproducible.
2024-04-01 11:25:31 -04:00
Carlos Cruz
fa5d60ca26
Merge branch '0_15' into main
2024-04-01 11:02:02 -04:00
Will Miles
2900bda8f9
Select ESP8266 framework version via platform
...
By explicitly listing an unversioned framework dependency in
'platform_packages', we were overriding the selection via the 'platform'
specification, allowing PlatformIO to select any random version.
Remove this line to allow 'platform' to add the framework dependency
with the expected version.
2024-03-29 09:33:12 -04:00
Blaz Kristan
5f37c19d42
PSRAM fix & CCT IC
...
- prevent PSRAM use on ESP32 rev.1 without compile fix
- add runtime selection for CCT IC (Athom 15W bulb)
2024-03-28 16:03:06 +01:00
Blaz Kristan
47f44680a3
Multi-update
...
- 0.15.0-b2
- WS2805 support (NeoPixelBus 2.7.9)
- generic PSRAM support (ESP32 rev.1 still needs compile fix)
- BREAKING: default LEDPIN 2 (due to PSRAM)
- PinManager optimisations
2024-03-24 17:37:11 +01:00
Blaž Kristan
78096803ea
Merge branch '0_15' into fw1906_0_15
2024-03-20 19:51:32 +01:00
Blaž Kristan
f1987b9544
Merge pull request #3828 from willmmiles/0_15-asyncwebserver-2.2.0-features
...
ESPAsyncWebServer 2.2.0 + features
2024-03-20 19:50:06 +01:00
Christian Schwinne
247de600af
Fix missing GIF enable macros
2024-03-17 22:57:15 +01:00
Blaz Kristan
7c8df97968
Merge branch 'main' into 0_15
2024-03-17 12:21:35 +01:00
Will Miles
12bf04826a
Update ESPAsyncWebServer to v2.2.0
2024-03-16 12:12:48 -04:00
Robert
c74db95c14
Add FW1906 support
2024-03-13 20:44:33 +11:00
Blaz Kristan
9d70ec56f2
Distinguish 160MHz binaries
2024-03-11 23:22:14 +01:00
Blaz Kristan
0398ec40b7
Merge branch 'main' into v0142-beta2
2024-03-11 23:00:17 +01:00
Blaz Kristan
f55465f8b8
Fix AsyncWebServer library
2024-03-11 18:02:03 +01:00
Blaz Kristan
a2368a75f7
Fix AsynWebServer lib
...
Add 160MHz builds for ESP8266
2024-03-11 17:41:17 +01:00
Christian Schwinne
b2afac8914
GIFs work again in principle
2024-03-10 21:36:13 +01:00
Christian Schwinne
6322ab9f07
.
2024-03-09 22:00:18 +01:00
Christian Schwinne
21d0f10dd7
Fix AR compilation
2024-03-09 21:59:45 +01:00
Christian Schwinne
7e17011ebc
Revert "Merge branch 'gif' into 0_15"
...
This reverts commit cb5eb9edc7 , reversing
changes made to da5c12f466 .
2024-03-09 20:00:41 +01:00
Carlos Cruz
ab13db73e7
Added files to usermod directory and changes to platform.ini to support Adafruit MAX17048 module. ( #2 )
...
Co-authored-by: Azots <78281612+Azots@users.noreply.github.com>
2024-03-09 13:06:30 -05:00
Christian Schwinne
cb5eb9edc7
Merge branch 'gif' into 0_15
2024-03-09 18:23:59 +01:00
Blaz Kristan
b305fd8865
Fix for ArduinoFFT
2024-03-07 20:52:18 +01:00
Blaz Kristan
1fc0680c71
160MHz clock & alternate AWS
2024-03-02 14:12:57 +01:00
Blaz Kristan
989bdfb0d5
Reduce string RAM usage for ESP8266 debug builds
2024-02-17 11:33:42 +01:00
Woody
7fe6541b7c
Merge branch '0_15' into GitHub-Actions
2024-02-01 18:05:39 +01:00
Blaz Kristan
d10d7dc298
upload speed and clarifications
2024-01-30 19:44:10 +01:00
Blaz Kristan
063af1dbc7
core description fix
2024-01-30 19:26:37 +01:00
Woody
df1c8a64e5
Update GitHub Actions workflow
...
This also adds a WLED_RELEASE_NAME for esp32s3dev_8MB_PSRAM_opi
2024-01-24 16:11:51 +01:00
Blaž Kristan
2b022e1871
Update platformio.ini
...
Added WROVER model and removed flash options for ESP32-S2
2024-01-19 14:18:54 +01:00
Blaz Kristan
78aeca6399
Trim platformio.ini & add info to sample
2024-01-18 18:28:01 +01:00
Christian Schwinne
9378fc7276
Merge remote-tracking branch 'origin/0_15' into gif
2024-01-16 21:53:08 +01:00
Will Tatam
46337ca554
Add ANIMartRIX usermod
2024-01-11 20:20:53 +00:00
Blaž Kristan
c4d214f5c0
Merge pull request #3598 from WoodyLetsCode/pio
...
Automatically build UI before compiling
2024-01-09 19:05:04 +01:00
Will Miles
9c4d3cd6e2
platformio.ini: Add MPU6050 library dep
2024-01-07 15:50:15 -05:00
Woody
e778b02c0c
Automatically build UI before compiling
2024-01-07 01:06:52 +01:00
Frank
51b3d7cb4a
Merge pull request #3569 from raymondhardy/ESP32-S3-WROOM-1-N16R8
...
new buildenv for esp32s3dev_16MB_PSRAM_opi dev board (LilyGo T7-S3)
2024-01-03 22:20:01 +01:00
Frank
3baff4e675
Merge pull request #3572 from drasch/fix/esp32c3-2mb-flash-size
...
fix(esp32c3-2mb): correct flash size for c3 board with only 2MB
2024-01-03 22:18:24 +01:00
Frank
f513cae66e
code spell checking - part1 (core)
...
I've found a code spellchecker, so this is what can be corrected easily. Changes are only affecting comments, readme and a few user-visible strings. So no functional impact expected.
2023-12-14 03:49:54 +01:00
skinnyquiver
84802d9065
[fix] Uses extends as per softhack007 comment
2023-12-05 10:36:31 -06:00
David Rasch
90d696d826
fix(esp32c3-2mb): correct flash size for c3 board with only 2MB
2023-12-05 10:54:32 -05:00