Commit Graph

3787 Commits

Author SHA1 Message Date
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
1e423f2a22 npm build 2023-01-17 15:25:26 +01:00
Ewoud
34e93c6361 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-17 15:24:32 +01:00
Ewoud
e537c48796 Ini mini bug fixed 2023-01-17 13:15:28 +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
Blaž Kristan
39edb1ad37 Merge pull request #2891 from mxklb/pr_fxsegs
Refactored DMX effect mode + new segment controls
2023-01-16 22:38:02 +01:00
Blaz Kristan
dd08751f3f Hide 2D if not compiled. 2023-01-16 22:09:43 +01:00
Ewoud
9065b684b3 genPreset bugfixes 2023-01-16 22:04:54 +01:00
Blaz Kristan
ef6a9184ba A few more flash bytes saved. 2023-01-16 21:55:12 +01:00
Blaž Kristan
575fb6fc60 Merge pull request #3022 from Aircoookie/disable-more
Disable MQTT more.
2023-01-16 21:44:00 +01:00
Frank
f71a8e8752 a small change to revive my -C3 device
...this was a little innocent comment in the examples provided by the device manufacturer.
It seems that sometimes the WiFi radio does not switch on, and `WiFi.setTxPower(WIFI_POWER_5dBm);` properly initialized the "Raisun".
2023-01-16 19:59:40 +01:00
Blaz Kristan
4147d6c67e FX: GameOfLife
- better glider detection
- correct behaviour during transition
- optimisations
2023-01-16 18:53:52 +01:00
Ewoud
69345df28a setMode and genPresets changes
version 0.14.0-b1.16

FX_fcn.cpp: setMode: map, sound, rev, mir reset to oldvars

index.js: refactor genPresets (fx id as preset id), reset to defaults

fx.cpp: fire flicker and firenoise pal=0 as default
2023-01-16 18:31:17 +01:00
mxklb
115c17ab90 Corrected wrong comments 2023-01-16 17:30:55 +01:00
mx
d892c7290c Merge branch 'Aircoookie:main' into pr_fxsegs 2023-01-16 17:28:44 +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
Frank
d87e6a6dcd npm run build
yo-man
2023-01-15 23:09:04 +01:00
Frank
a320068bbe I2C: allow any GPIO on 8266 (experimental)
as it turns out, also on 8266 any pin can be assigned to I2C. Only SPI pins are fixed, and GPIO16 should not be used as it does not support interrupts.
2023-01-15 22:13:46 +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
Ewoud
a31b45d05e Merge remote-tracking branch 'upstream/main' into mdev 2023-01-15 17:19:44 +01:00
Ewoud
474243938c Hardware pin defaults in i2c and spi pin dropdowns
bugfix: replace oappend(SET_F(name)); by oappend(_name);

const.h: remove unset of 8266 variables as no behind the scene actions, this is just bad behavior and the pin drop downs will show this bad behavior

xml.cpp: show hardware defaults as ⍼ in dropdowns (better icon needed)
2023-01-15 17:08:39 +01:00
Blaz Kristan
63d8a902d5 Loading defaults on "fxdef". 2023-01-15 15:21:39 +01:00
Blaz Kristan
43152fcf19 Bugfix.
- d.max_gpio in usermod settings.
2023-01-15 15:19:48 +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
6adab4fe91 small update 2023-01-14 23:37: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
Frank
880afdf877 stability improvement for CDC Serial 2023-01-14 22:42:42 +01:00
Ewoud
06e9beda5a pin drop down bug fix 2023-01-14 18:40:36 +01:00
Ewoud
c3cc9d9803 Fixed esp8266 compile error and set version date 2023-01-14 17:45:57 +01:00
Ewoud
90c0870e74 pinDropDown: make reserved and read only aware and disable if needed
AudioReactive: add disableROPins on WS, SCK, MCLK and SCL
4LD:  add disableROPins  on CLK

settingsum: 
- addfield: max 49 pins, if (global interface) also disabled, rename if to global, show 🔴 if pin claimed
- add disableROPins
- pinDropdownsPost
- rename SDA to if:SDA (etc) so it is part of claimed pins (also in set.cpp and xml.cpp)

xml.cpp:
- appendGPIOinfo(): get rsvd and ro_gpio from pinManager.isPinOk instead of hardcoded
- getSettingsJS: add pinDropdownsPost
2023-01-14 17:30:43 +01:00
Blaz Kristan
1f135f1fa5 "i" start index bugfix #3024 2023-01-14 16:01:46 +01:00
Ewoud
b289b63f13 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-13 11:40:20 +01:00
Blaz Kristan
c71d378eab New FX Distortion Waves
Updated FX Lissajous
2023-01-12 21:58:54 +01:00
Blaz Kristan
6fa5689aaf Bugfix.
- segment off
2023-01-12 20:36:50 +01:00
Blaz Kristan
d78bef72ea Disable MQTT more.
Disable Alexa more.
2023-01-12 20:35:34 +01:00
Blaz Kristan
e410de9552 Bugfix.
- fadePixelColorXY()
- clearing 2D segment on mirror or reverse change
- FX update (DNA Spiral, Colored bursts)
2023-01-12 19:13:07 +01:00
Ewoud
91aed65f99 Generate presets !
Fix 1d/2d default in customeffect, games and weather

index.htm: add buttons and text area for genPresets

index.js: add genPresets, uploadFileWithText and savePresetsGen

fx,cpp: set fire 2012 default palette 0 (fire colors)

Bonus: battery USERMOD_BATTERY_MEASUREMENT_PIN default -1
2023-01-12 17:32:11 +01:00
Ewoud
6cc62c59ad Merge remote-tracking branch 'upstream/main' into mdev
- removed !isM checks on ledmap cause supported in WLED MM
2023-01-12 09:27:20 +01:00
Blaz Kristan
8dc262b415 Bugfixes.
- faster random palette blends
- remove UI ledmap selection for 2D
- FX updates (DNA Spiral, Colored bursts, Metaballs)
2023-01-11 23:08:08 +01:00
Frank
1e8fcfb0aa I2C pin settings bugfix (8266)
* It was not possible any more to set I2C pins back to "-1", to disable I2C.
This fixes the problem.
* HW_PIN_SDA / HW_PIN_SCL may contain "-1" --> use PIN numbers directly on 8266 (I2C pins cannot be changed any way on 8266)
2023-01-11 22:26:35 +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
Ewoud
037d7ce456 bugfix game of life on 8266 2023-01-11 17:05:26 +01:00
Ewoud
18851c31f8 Game of life back to 0.13 style !
To avoid eternal cycles of spacehips and gliders etc
Works on esp8266 too
2023-01-11 16:59:15 +01:00
Frank
9b3e419281 small fix
compiler complained that it cannot find the right "abs()" implementation. So let's help 'em.
2023-01-11 15:40:23 +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
94032af61d ESP8266 hardware info
* basic HW info, similar to ESP32
* minor stability improvement for 8266
2023-01-11 13:58:21 +01:00
Abhi Gulati
7fa494815f Fix a typo (#3014) 2023-01-11 11:21:45 +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