Commit Graph

436 Commits

Author SHA1 Message Date
Frank
4bafc222f9 library upgrades for -S3 [env:esp32S3_8MB_max]
still trying to find the root case of problems on -S3 with 4LD and temperature usermods.
2022-12-03 22:58:49 +01:00
cschwinne
efc476e50b Disable register keyword to reduce compiler warnings
Minor formatting improvements
"ps" string optimization
Removed travis envs
2022-12-03 20:55:17 +01:00
Frank
f9e31e0b56 update for env:esp32S3_8MB_max
- better allocation of default pins
- un-flag DMX output (driver hangs)
- un-flag Temperature (usermod setups hangs)
- temporarily un-flag I2C usermods. They also hang during init - probably a different I2C driver is needed. Will investigate later.
2022-12-02 19:10:33 +01:00
Ewoud
fc4170292a Very small updates 2022-11-30 19:53:10 +01:00
Frank
dc80a85c55 update V4 targets to new NeoPixelBus 2.7.1
makuna/NeoPixelBus @ 2.7.1 was just released. This upgrades all "V4" targets to use the new release.
2022-11-29 22:18:15 +01:00
Frank
c8bc917aaf color management: experimental CIE1931 lookup table
CIE table is better to preserve low brightness colors (original gamma table will map many low values to 0)
2022-11-29 21:26:34 +01:00
Ewoud
e799cb5bd1 CustomFX, platformIO and bin name: small updates
platformio: 
- remove ABL_MILLIAMPS_DEFAULT from build_flags_min, set default 1500 in const.h
- add default in wemos_shield_esp32_4MB_max_base
- add wemos_shield_esp32_16MB_SPM1423_max

arti_wled.h: bugfix use all leds in 2D
usermod_v2_customeffects.h: fill black if call==0

index.js and xml.cpp: bin name: replace one _ by ' ' to enable line wrap in info tab and ota update
2022-11-29 15:32:26 +01:00
Frank
1f0b53ce7a prepare for merge with upstream
- prepare for merging upstream
--> audiorective files should stay the same after merging!
- makuna just release NeoPixelBus 2.7.1 -> use for "V4" build
2022-11-29 13:49:17 +01:00
Ewoud
8f4c6d625d Fix typo USE_ALT_DISPl/LAY 2022-11-28 20:42:09 +01:00
Ewoud
91c2ce0d8f Merge remote-tracking branch 'origin/ac_main' into mdev 2022-11-28 19:58:51 +01:00
Frank
4cedcf6ad8 PIO: fix platformV4_packages
It seems that "platformio/framework-arduinoespressif32@ ~3.20004.220825" was removed/renamed very recently.
2022-11-26 22:26:18 +01:00
Frank
9a44f0c869 small update for env:esp32s3dev_8MB_PSRAM
- corrected board
- added link to workaround
2022-11-26 15:13:54 +01:00
Ewoud
78e9f5bd1a Clean up UserMod settings: grouping of variables and add preInfo to variables (#2894)
* Grouping um settings, add pre and post Info, update  SR & 4LD settings

Settings_um.htm: 
- modify addField (grouping)
- addInfo (pre and post texts)

Add preInfo to audio reactive and 4ld usermod

Extra:
platformio: wemos_shield: add audio reactive usermod and update to alt display

* um settings: cpp: lowercase, js: initcap

* um settings: txt only pre, txt2 only post and initCap as function

* Fix rotary encoder info string

Co-authored-by: Blaž Kristan <blaz@kristan-sp.si>
2022-11-26 03:44:04 +01:00
Frank
f03abf2600 workaround for broken env esp32s3dev_8MB_PSRAM
- Error: Unknown board ID 'esp32-tinys3'
temporarily use `` until a working solution is found.
2022-11-26 01:33:46 +01:00
JPZV
d5eee5b56c Fixes platformio.ini for the ESP32 S3 (#2905)
* Update missing package for ESP32-S3
There was a missing package version for env:esp32s3dev_8MB. platformio/framework-arduinoespressif32@3.20004.220825 doesn't exist any more

* Fixes Compiling error for ESP32 S3 with octal (qspi_opi) memory mode
For details: platformio/platform-espressif32#912 and platformio/platform-espressif32#914

* Added env:esp32s3dev_8MB_PSRAM to platformio.ini
Also, reverted back to espressif32@5.1.1 for env:esp32s3dev_8MB

* small maintainer edit
Co-authored-by: Frank <91616163+softhack007@users.noreply.github.com>
2022-11-25 23:49:49 +01:00
Frank
8899704f91 Mic Profile for SPM1423
* added mic profile for SPM1423 (a new microphone board with PDM interface).
* npm run build (yo-man).
2022-11-24 12:28:11 +01:00
Frank
18693dc96a CS5343 optimization
-updated Mic Profile (Line-in)
- squelch=2 is enough
2022-11-21 12:13:46 +01:00
Frank
45159a5085 small update for Line-In shield config 2022-11-20 20:08:25 +01:00
Frank
cfe6fbb00c es7243 additional error checking
- es7243: check for valid SCK and MCLK
- minor UI improvements
2022-11-19 17:35:44 +01:00
Frank
8b25dc275e allow basic compilation with WLED std envs
- very basic compilation support in [env:esp32c3dev], [env:lolin_s2_mini]
- minor updates for [env:esp32s3dev_8MB]
2022-11-19 03:10:53 +01:00
Ewoud
aef16b5199 platformio: add squelch, gain, profile defaults and mic / lineIn envs
audio_reactive.h: 
- add SR_SQUELCH, SR_GAIN and SR_FREQ_PROF
- Set AGC default to 1
- Rename DMTYPE to SR_DMTYPE

platformio.ini: 
- _base entries: remove env:
- wemos_shield_esp32_4MB_max_base
- add wemos_shield_esp32_4MB_ICS4343x_max
- add wemos_shield_esp32_4MB_SPM1423_max
- add wemos_shield_esp32_4MB_LineIn_max
- update esp32_pico_4MB_max
2022-11-18 16:57:07 +01:00
Frank
583c8b4d5c platformio.ini: adding some optional flags
can be used to reduce compile time, and to reduce FLASH size.
2022-11-18 14:31:50 +01:00
Frank
daa685d618 add optional "disable" flags in platformio.ini 2022-11-15 18:32:08 +01:00
Ewoud
3b21f02442 Fix Ledmap dropdown in presets
platformio: cosmetic updates
index.js: ledmap: show filename instead of nr
update.htm: remove installed bin prompt
json.cpp: deserializeState: assign loadLedmap from root, serializeState: assign loadLedmap to root / remove from root
presets.cpp: savePreset: assign loadLedmap from sObj
util.cpp: init ledMaps to 0
2022-11-15 11:42:25 +01:00
Frank
f0d0f0deff platformio: new entry esp32_4MB_V4_min
* added esp32_4MB_V4_min, without all the feature clutter
* added optional build flags in all MM environments
2022-11-10 13:33:30 +01:00
Frank
744775ab40 platformIO ESP32: IDF V4 environments
* added esp32_4MB_V4_max, esp32_16MB_V4_max
* wemos D1 shields: added audio defaults for Line-In and PDM, added default I2C pins

* minor cleanups
2022-11-10 13:01:47 +01:00
Ewoud
c3c3ff39b5 Change WLEDSR to WLEDMM in comments 2022-11-09 12:14:42 +01:00
Ewoud
492fd294de Merge remote-tracking branch 'origin/main' into mdev 2022-11-08 18:12:43 +01:00
Frank
4b5627ac72 platformio.ini updates
* esp32_4MB_PSRAM_max: free 5% FLASH by disabling some WLED features
* new build env for ESP32 pico board
* small updates for esp32S3
2022-11-07 17:59:58 +01:00
Ewoud
46ee25b46b Platformio: further refactoring and bug fixing
platformio:
- min and max as postfix instead of prefix
- add common_mm entry for MM build_flags and lib_deps
- add esp32_4MB_V4_max_base entry for V4

const.h and FX_(2D)fcn.cpp: add IRAM_ATTR_YN to switch off if not esp32 (esp8266 not enough iram for this)

json.cpp: start stop compatibility only if 2D not disabled
2022-11-01 18:18:03 +01:00
Ewoud
0474be3069 Platformio: Refactor PSRAM, S3 and 8266 entries
package.json: -mmod -> _MM

platformio.ini: refactored:
   esp32mdev_PSRAM -> min_esp32_4MB_PSRAM
  esp32s3-mdev -> min_esp32S3_8MB (compile error!)
  esp8266mdev -> min_esp8266_4MB (link error!)

(using extends)

json.cpp: getMinFreeHeap not for esp8266
2022-10-30 10:40:35 +01:00
Ewoud
305c9c5566 Use WLED_RELEASE_NAME to generate bin names and show the name in update
Package.json: set version to mmod numbering
platformio.ini: refactor mmod entries using extend and WLED_RELEASE_NAME
update.htm: change to installed bin
wled.h: add releaseString
xml.cpp: set bin name
2022-10-28 12:25:10 +02:00
Ewowi
80adc3f560 platformio increase max usermods, Manual OTA Update to MoonMod releases 2022-10-25 16:59:40 +02:00
Ewowi
2b55985e96 Merge remote-tracking branch 'origin/dev' into mdev 2022-10-25 16:23:16 +02:00
Dimitry
7cac609c06 Add ADS1115 usermod (#2752)
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2022-10-21 03:25:36 +02:00
Ewowi
cb45f293dd Added extra usermods in esp32devmax
Directly on branch mdev and not in small changes as mistakenly mdev was merged into small changes and couldnt be undone
2022-10-16 14:52:53 +02:00
Ewowi
56011d5769 Merge branch 'small-changes' into mdev 2022-10-16 11:25:37 +02:00
Ewowi
db27ffab4b platformio.ini changes
Recent changes in mdev back to this branch
- devums to devmax
- Asyncwebserver to 2.0.7
- expressif updates
- new chips updates
- new warnings

esp32mdevmax
- activate 4ld, and rotary and 'hope' there are no conflicts with MPU6050 (sharing i2s bus)
2022-10-16 11:23:11 +02:00
Ewowi
3377b7644e Merge branch 'expand-1DEffects' into mdev 2022-10-16 11:04:23 +02:00
Frank
a9d09b9658 enable more compiler warnings 2022-10-14 14:33:37 +02:00
Blaž Kristan
2440d8e3d1 Merge branch '0_14' of https://github.com/Aircoookie/WLED into dev 2022-10-13 07:51:52 +02:00
Ewowi
bd6ef0464f Merge remote-tracking branch 'origin/dev' into mdev 2022-10-10 16:35:25 +02:00
cschwinne
e78bf240ca ESP32-C3: Do not default LEDPIN to reserved pin 16 2022-10-07 04:22:59 +02:00
Blaz Kristan
113ee73609 Newer AsyncWebServer. 2022-10-06 18:25:19 +02:00
Frank
b404ae1fe4 Merge remote-tracking branch 'origin/small-changes' into mdev 2022-10-04 14:42:59 +02:00
Frank
85e56a6678 Add support for building for 16MB "TwilightLord" ESP32
- board definition
- minimal changes to esp32mdevums (un-comment to use)
2022-10-04 14:35:54 +02:00
Frank
e093d2c8ba Merge remote-tracking branch 'origin/mdev_new-FrameWork4' into mdev 2022-10-04 11:21:39 +02:00
Frank
6447d5f6bb update for "classic" ESP32
`-D ARDUINO_USB_CDC_ON_BOOT=0` is needed for "classic" ESP32, to avoid crash+bootloop at startup.
2022-10-04 11:17:33 +02:00
Ewowi
6aa189fb65 Merge remote-tracking branch 'origin/dev' into mdev 2022-10-01 12:05:49 +02:00
Ewowi
fea487c950 Merge branch 'games-usermod' into mdev 2022-09-27 15:31:11 +02:00