Commit Graph

436 Commits

Author SHA1 Message Date
Frank
4e8974a69b pio: generic build env for ESP32-S2, and some cleanup 2023-03-30 23:59:38 +02:00
netmindz
d64cbc9059 Merge branch 'MoonModules:mdev' into DMX-Input-esp_dmx 2023-03-30 19:05:19 +01:00
Frank
e8d3712d4f esp32_4MB_PSRAM changed from "M" to "S"
to provide some more space for future additions in the code.
2023-03-30 18:48:39 +02:00
Ewoud
82dc456fd7 Rename Custom Effects to ARTI-FX 2023-03-30 10:02:08 +02:00
Frank
54eb42d658 build env for -C3 with only 2MB flash
based on proposal from  in PR #2951 by @andyshinn.
2MB does not allow to have an OTA partition, so this feature is disabled.
2023-03-30 00:20:01 +02:00
Frank
a7a6f4cec6 small re-organization of build flags
* -Wno-attributes added to common flags
* USB_MSC and USB_DFU flags moved to common board sections (does not make sense with WLED to ernable these)
2023-03-30 00:03:04 +02:00
Christian Schwinne
3968a8e0dc Attempt fixing GitHub actions ESP8266 build (#3151)
(explicit toolchain version)
2023-03-28 23:19:00 +02:00
Will Tatam
4f11efb417 WLED_ENABLE_DMX_INPUT enable for now on all _V4 builds 2023-03-24 10:25:06 +00:00
Will Tatam
ed54d102ff Only supported with newer platforms 2023-03-24 09:55:25 +00:00
netmindz
bda95faafd Merge branch 'MoonModules:mdev' into DMX-Input-esp_dmx 2023-03-23 21:40:14 +00:00
Frank
33f7653338 adafruit -S2 update
... turns out that the partition file name has to end in "tinyuf2.csv" - its a special flag for internal build scripts.

espressif, I sometimes hate you .-/
2023-03-22 12:05:47 +01:00
Frank
890aa6f9ac experimental esp32 buildenv with platform = espressif32@5.2.0
experimental ESP32 buildenv using ESP-IDF V4.4.x / arduino-esp32 v2.0.5
Warning: this build environment is not stable!!
2023-03-22 00:46:27 +01:00
Frank
646cf44b83 moved register override into 8266 section,
so it cannot destroy builds for ESP32 devices
2023-03-22 00:06:25 +01:00
Frank
bf789ca97b minor cleanup 2023-03-21 23:36:50 +01:00
Frank
9b90ff10f4 buildenv improvements for -S3/-S2/-C3
- corrected some broken references
- added `platform_package =` --> use default packages
- renamed env:esp32c3 to env:esp32c3dev to avoid confusion
- added lolin_s2_mini to CI builds
2023-03-21 23:15:08 +01:00
Blaz Kristan
0cc719a823 Remove "register" override 2023-03-21 20:01:16 +01:00
Blaz Kristan
4cd026dfe9 ESP8266 core 4.1.0, ESP32 core 5.2.0 (S2,S3,C3)
NeoPixelBus 2.7.3 (adding UCS890x support)
2023-03-21 17:28:04 +01:00
Ewoud
c24adc5413 AWMC: Squelch and gain 2023-03-21 16:14:28 +01:00
Ewoud
c0da45d1a2 typo 2023-03-21 16:07:57 +01:00
Ewoud
6487a5effe Athom WLED Music Controller: 4LD Mod 2023-03-21 16:02:28 +01:00
Ewoud
01cd2ce775 Set Athom mic default to PDM legacy mode 2023-03-21 13:55:11 +01:00
Ewoud
b271168f81 Full support for Athom WLED Music Controller
- athom_music_esp32_4MB_M bin
- show flashsize in info tab and /getflash
- support of their ir-remote (24-key music)

Not supported yet
- mac addres in AP name (need to experiment with WLED_AP_SSID_UNIQUE)
2023-03-21 12:51:29 +01:00
Ewoud
8485be27f2 Merge remote-tracking branch 'upstream/main' into mdev 2023-03-21 11:39:30 +01:00
Aiden
3120b49dba Add some Athom devices (#3114)
Add some compile configurations for Athom's devices
2023-03-20 23:44:12 +01:00
Frank
d80e5cd063 Disable use of serial RX pin on some boards 2023-03-19 15:28:47 +01:00
Frank
d9535f1440 optional partition layout for 2MB boards
useful for small -C3 boards with 2MB flash memory only. Based on suggestions  from https://github.com/Aircoookie/WLED/pull/2951 .

Needs `-D WLED_DISABLE_OTA` as OTA is not possible with 2MB.

RAM:   [==        ]  22.5% (used 73724 bytes from 327680 bytes)
Flash: [========= ]  94.9% (used 1492020 bytes from 1572864 bytes)
2023-03-12 15:05:18 +01:00
Frank
cac975c046 additional board def for 16MB ethernet
the main difference is that "esp32-poe" is used as variant, instead of "esp32dev". Seems that this is needed to define a few special purpose pins on ethernet boards.

Might help to fix https://github.com/MoonModules/WLED/issues/23
2023-03-11 21:01:03 +01:00
Frank
c9f364de76 optional 4MB partition file with almost 2MB program space
optional 4MB partition layout: 1.8MB firmware (+400KB), 256KB LittleFS (-800KB); based on  "min_spiffs.csv" from arduino-esp32, but increased filesystem partition from 128KB to 256KB.
2023-03-11 20:40:12 +01:00
Frank
d6c8f44dfa optional 16MB partition file with 3MB program space
* This is basically "app3M_fat9M_16MB.csv" from arduino-esp32 2.0.7 - just changing the filesystem type from FAT to spiffs.
* deleted the older, broken "Soundreactive 16MB" partition file.

* minor fixes for pio.ini
* adding wled.ini.cpp to .gitignore (was overdue ...)
2023-03-10 16:16:28 +01:00
Ewoud
a0a0f99c3e Add esp32_16MB_M_eth
Test needed if NetDebug works on esp32_16MB_M_eth
2023-03-10 15:41:22 +01:00
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
Will Tatam
5b76df903f Inital code swapping DMX input over to use esp_dmx 2023-02-18 16:05:42 +00: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