Commit Graph

355 Commits

Author SHA1 Message Date
Ewoud
63d8104974 esp32_4MB_PSRAM_M disable Infrared to stay < 100% 2023-03-08 14:18:41 +01:00
Ewoud
1aa3ba9fad Netdebug default enabled in _M and _XL bins and also works without Debug 2023-03-08 13:56:20 +01:00
Ewoud
fbc9f9143e pio.ini, fix 16MB boards 2023-02-27 20:14:50 +01:00
Ewoud
56342d7881 pio.ini esp32_16MB_V4_M 2023-02-27 19:50:42 +01:00
Ewoud
298c1e6c09 pio.ini: optimizations (25 lines less)
pio.ini: 
- [Debug_Flags]
- Board_ESP32_16MB in extends instead of board
2023-02-27 15:29:17 +01:00
Frank
68b730d7e8 add core debug output to esp32_4MB_M_debug 2023-02-24 16:08:40 +01:00
Ewoud
bb6662ee35 NetDebug: switch between serial/netdebug, store ip and port in settings
pio.ini: enable WLED_DEBUG_HOST in esp32_4MB_M_debug and esp32_16MB_M_debug

audio_reactive, um6050, wled.h
- replace DEBUGOUT.print(x) by DEBUGOUT(x) etc

wled.h: switch between serial/netdebug

cfg.cpp, set.cpp, wled.cpp, xml.cpp
- store netDebugPrintIP and netDebugPrintPort in cfg.json

index.js: rename info tab on off to Net Debug

settings.sync: add netdebug

net_debug.h/cpp: use global netDebugPrintIP remove debugPrintHostIP
2023-02-24 15:40:16 +01:00
Frank
c294ea0e09 pio env:esp8266pro_16MB_M 2023-02-23 21:30:55 +01:00
Frank
6f4eeea7dc buildenv corrections for -S3/-S2/-C3
* avoid mixing ESP32 "V4" and S3/S2/C3 specific build flags
* added missing flags in generic S3/S2/C3 sections
2023-02-23 20:28:44 +01:00
Ewoud
bdd8fd2faa pio.ini: _min, _max, _all -> _S, _M, _XL 2023-02-23 16:14:21 +01:00
Ewoud
6fbce9b326 Cleanup and small issues
pio.ini: cleanup debug directives (build_flags_min move to _debug), remove blynks

index.htm/js: 
- visualization in div to turn of if 1D
- scale visualizations if height>width

json.cpp, util.cpp: USER/DEBUG_PRINT changes
2023-02-23 15:23:35 +01:00
Frank
62b1422111 enable core debug messages in 16MB_max_debug configs 2023-02-22 18:06:34 +01:00
Frank
f160831d73 esp32_16MB_V4_max_debug 2023-02-22 17:32:19 +01:00
Frank
f38196f4c9 PICO board updates + fix for array overflow
platformio.ini: buildenv updates for PICO board (reduced upload speed, added "V4" environment)
wled.h: allow wifi sleep for PICO board (to reduce heat output)
xml.cpp: increase buffer arrays to avoid array bounds violations (PM_NO_PIN = 255 i.e. 4 bytes per element needed)
2023-02-22 17:22:44 +01:00
Ewoud
4a5cbc9879 Merge remote-tracking branch 'upstream/main' into mdev
Some additions:

pio.ini: add debug entries
cfg.cpp, set.cpp, xml/cpp: keep storing basic 2D setup

index.js: use ledmapFileNames

settings_2D.htm: keep using basic and advanced

FX_2Dfcn.cpp: use gaptable and also MM ledmaps

FX_fcn.cpp: extend enumerateledmaps with AC ledmapNames (but not used in UI)
2023-02-22 16:09:27 +01:00
Christian Schwinne
220718cb58 Remove Blynk support (#3102)
Change default palette for Railway to Colors 1 and 2
2023-02-21 17:07:32 +01:00
Ewoud
515c872770 Fix WLED_DISABLE_2D compile error 2023-02-15 10:59:14 +01:00
Ewoud
f62f94270d Add esp01_1MB_min 2023-02-14 19:26:56 +01:00
Ewoud
c9966c9d8f pio.ini: align non MM part with upstream 2023-02-14 18:40:02 +01:00
Ewoud
04deea9b39 PlatformIO: move MM envs to bottom 2023-02-14 18:29:38 +01:00
Ewoud
40e82166bc Ledmap persistent/consistent and showing in segment graph +small changes
pio.ini: remove ping pong clock from _all
ce.js: change on error handling
liveviewws2D: add colorAdjust
json.cpp: ledmaps will be stored in json/info 
settings_2D: fieldChange at loadJS

FX_(2D)fcn.cpp:
- loadedLedmap default 0 (default)
- loadedLedmap active then only use if index <size

index.js:
- global ledmap set to active value
- draw to drawSegments
- gradient colored leds
- add ledmaps to graphics
- add fetchAndExecute (from custom effects), used by drawSegments to get ledmap contents
- graphics bigger in non pc mode
2023-02-10 16:26:35 +01:00
Ewoud
1b3952c889 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-24 21:40:55 +01:00
Ewoud
1f921bf0c9 Bugfix for ESP8266, ESP01
UM PIR: pin default -1
xml.cpp: no D1-8 for esp01
2023-01-20 12:34:11 +01:00
Frank
8918271620 new build flag WLEDMM_WIFI_POWERON_HACK
This ensures that WiFi gets powered ON (useful for boards with small "RainSun" crystal Wi-Fi antenna)
2023-01-19 17:50:10 +01:00
Frank
72168d28b1 new build flag SR_ENABLE_DEFAULT
for boards with builtin microphone (like PICO)
2023-01-18 23:09:37 +01:00
Ewoud
ceab107602 Optimizing / clean up of d.max_gpio, d.um_p, d.rsvd, d.ro_pins 2023-01-18 13:43:33 +01:00
Ewoud
5d028b3d3f Add 4LD to esp8266_4MB_max and D0-D8,RX,TX to pin dropdowns
pio.ini: Add 4LD to esp8266_4MB_max
Settings_um and xml.cpp: add D0-D8,RX,TX to pin dropdowns
2023-01-18 12:04:01 +01:00
Ewoud
6cd07c2216 esp8266_4MB_min - 160Mhz (instead of 80) ;-)
+ small things
2023-01-17 17:54:14 +01:00
Frank
8aebb94332 esp8266_4MB_max - 160Mhz (instead of 80)
This should work with any 8266, and lead to strong speedup (and maybe fewer random flashes)
2023-01-17 17:33:46 +01:00
Ewoud
357e3638d4 New esp8266_4MB_max entry to test usermods / i2c
pio.ini: add esp8266_4MB_max with pir, dallas, relay  games (to test IMU) 

addHB: use string literal instead of var

appendConfigData to um multirelay
2023-01-17 13:07:50 +01:00
Ewoud
10f006ef18 Small changes on pin dropdowns / usermod help
platformio.ini: add wemos_shield_esp32_4MB_all_base

usermods:
- rename disableROPins to disableRO
- bme280: add appendConfigData, info and disableRO
- PWM Fan: add appendConfigData

Settings_um.htm
- add 🟢
2023-01-16 15:07:41 +01:00
Ewoud
12cd6a2738 Quickfix to let esp32_16MB_PSRAM compile: move um to _all
Moved from _max to _all:

 -D USERMOD_BATTERY ;; enable Battery usermod
  -D USERMOD_BATTERY_USE_LIPO ;; use new "decharging curve" for LiPo cells
  -D USERMOD_BH1750
  -D USERMOD_ANIMATED_STAIRCASE
2023-01-15 18:31:01 +01:00
Frank
6ad22e16c0 bugfix for -C3 buildenv
* ARDUINO_USB_CDC_ON_BOOT must be either 0 or 1 - I should read my own instruction ;-)
* minor cleanup
2023-01-15 03:07:18 +01:00
Frank
e0bf199109 new buildenv for -C3 with 4MB flash (experimental)
[env:esp32c3dev_4MB_max]
2023-01-14 22:48:23 +01:00
Ewoud
49bb9be12c Minor change: not set I2C pins for all MM configs, only on Wemos shields 2023-01-11 18:17:38 +01:00
Ewoud
9944f8dc72 global I2C and SPI pins and mpu6050 interrupt pin default to -1
As can otherwise cause conflicts, must be set in platformio explicitly to the right values

Set in platform io for _max configs
2023-01-11 17:32:19 +01:00
Frank
6cd6817cb5 always print out basic chip info at startup
because I like it.
2023-01-11 15:25:22 +01:00
Frank
b87d50fce4 new environment for "d1 mini pro" ESP8266
D1 mini pro": ESP8266EX, 160MHz, 80KB RAM, 16MB Flash
2023-01-11 14:21:34 +01:00
Frank
1406d2546b post-merge
merging upstream changes to esp32c3 with our own version for -C3
2023-01-10 22:18:19 +01:00
Ewoud
437bfc825c Merge remote-tracking branch 'upstream/main' into mdev 2023-01-10 15:39:17 +01:00
Ewoud
bba57d4771 Remove I2CSCL/SDA/SCLK/MOSI/MISOPIN rename *_DATASPI to *_MOSISPI
use HW_PIN_* instead
2023-01-09 17:41:52 +01:00
Frank
b8cc783583 pio: minor update for -C3
adding optional platform version that seems to help in some special cases.
2023-01-09 13:20:02 +01:00
Ewoud
a10f1b20ac Add _all entries for esp32 16MB with lots of usermods
platformio: add _all entries with a lot of usermods
usermod bh1750 and bme280: avoid global pin hijacking
settings.htm: remove height for compact display
2023-01-08 16:07:02 +01:00
Ewoud
544446d35e Further pin improvements
platformio
- create _all entries (wip)
- set FLD_PIN_SCL to -1 (use global)

4ld
- one bug fix and errorMessage improvements

const.h
- comments

wled.h
- do not use the I2CSDAPIN vars but HW_PIN_SDA instead
2023-01-08 13:51:27 +01:00
Ewoud
ed815beabf Fix compilation of esp32S3_8MB_max and esp32s2_tinyUF2_PSRAM_max
Using lib_deps_V4_max entry
2023-01-08 11:27:29 +01:00
Ewoud
bfa06df47c Tiny changes
0.14.0-b1.14 - 2301080
2023-01-08 10:52:22 +01:00
Ewoud
da590bac7e Add animated staircase to _max environments, add ? btn to Bat,temp,Asave 2023-01-05 17:40:13 +01:00
Ewoud
642d7d91ea i2c_sda, i2c_scl, spi_mosi, spi_miso, spi_sclk without HW_PIN_*, bh1750
platformio: 
- add bh1750 to _max
- define rotary defaults for wemos

usermod_bh1750
- Remove HW_PIN_* and replace by i2c_sda etc
- add appendConfigData

usermods mpu6050_imu, rtc, 4ld, pinmanager
- Remove HW_PIN_* 

change SDA2:pin (etc) to SDA:pin
2023-01-05 16:35:49 +01:00
Frank
2ec24242db post merge 2023-01-05 12:38:59 +01:00
Ewoud
23663a46f9 Refactor global pins settings using dropdowns and add to rotary_encoder
- replace rOption by  xOption (extend option) to show default value (⎌)
- Usermod rotary_encoder: add appendConfigData function and show help and default functions
- Settings.htm: Move Usermods(pins) below the usermods

Settings_um.htm
- remove SDAPin etc
- comment check(0,k) as not used anymore
- add xOption
- add generated global pin fields (using addField) in ldS
- remove hard coded global pin fields

set.cpp: set i2c_sda etc using new generated fields
xml.cpp: set generated fields values using i2c_sda etc and show defaults
2023-01-04 12:17:14 +01:00