Arne
a0ca243955
Move dmx_input pin allocations from wled.cpp to dmx.cpp
2025-01-16 11:20:19 +00:00
Will Miles
204e72e9eb
Merge pull request #4213 from willmmiles/static-class-to-namespace
...
Complete transition of UsermodManager and PinManager away from classes
2025-01-08 21:38:10 -05:00
ladyada
dcf89e0dbd
simplify logic
2025-01-03 16:37:26 -05:00
ladyada
35d92f43c0
>sigh< https://github.com/espressif/arduino-esp32/issues/10683
2025-01-02 20:54:19 -05:00
ladyada
12db60885f
try debug
2024-12-31 17:02:52 -05:00
ladyada
d637260dc3
typo fix
2024-12-31 16:42:49 -05:00
ladyada
0937064e18
fix pin availability calculations for ESP32-mini modules
2024-12-31 16:40:11 -05:00
Frank
749d34cd30
pinmanager support for S3 WROOM-2 (pin 33-37 reserved for flash)
2024-11-01 21:31:57 +01:00
Will Miles
32eee3365a
PinManager: Make in to namespace
...
Namespaces are the C++ language construct for grouping global functions.
2024-10-20 11:11:23 -04:00
Blaz Kristan
b50e6e0d90
Static PinManager & UsermodManager
...
- saves a few bytes of flash
2024-09-19 21:44:11 +02:00
Blaz Kristan
ac8f919304
Serial improvements (can RX, canTX)
...
PinManager bugfix for unsigned long long
2024-09-17 16:21:52 +02:00
PaoloTK
f16ed4697f
fix isReadOnlyPin() logic
2024-09-14 18:58:53 +02:00
Blaz Kristan
e3d9417b84
Minor fixes
...
- rely on HAL for RO pins and max pins
- remove isPinDefined() and do clash check inline
- JS fix to use HAL max pins
2024-09-14 11:39:56 +02:00
PaoloTK
daf0bcfac3
bug fix on pin already defined check
2024-09-12 18:12:38 +02:00
PaoloTK
c5435ec1fa
Merge remote-tracking branch 'AC/bus-config' into compile_different_busses
2024-09-11 23:04:37 +02:00
PaoloTK
eb06e575c2
add check for pin reassigned conflict with pin defined for current bus
2024-09-10 01:03:19 +02:00
Blaz Kristan
c5b31e2f63
Bugfix
2024-09-06 17:56:36 +02:00
PaoloTK
d79d5dbadd
remove getReadOnlyPins() function
2024-09-03 17:29:38 +02:00
PaoloTK
9bb979f2e8
bug fix
2024-09-01 21:46:30 +02:00
PaoloTK
c942345453
bug fix
2024-09-01 21:35:09 +02:00
PaoloTK
fcc344ba99
add read/only pin logic and check
2024-09-01 21:31:19 +02:00
Blaz Kristan
820df0c596
PinManager update
...
- LEDC: allocate same timer for CCT PWM
- use SOC constants
BusManager update
- use allocateMultiplePins for BusPwm
2024-08-27 00:21:24 +02:00
Blaz Kristan
cd1ede38a7
Size & speed optimisations
2024-07-11 21:22:58 +02:00
Blaz Kristan
0ff4016250
WLED 0.15.0-b4 release
...
- LED settings update (limit to available outputs)
- minor fixes
2024-06-29 20:22:47 +02:00
Blaz Kristan
e753f3849e
Revert "WLED 0.15.0-b4 release"
...
Messed FX_fcn.cpp CRLF conversion
2024-06-29 20:18:30 +02:00
Blaz Kristan
7b248c8fb2
WLED 0.15.0-b4 release
...
- LED settings update (limit to available outputs)
- minor fixes
2024-06-29 16:36:27 +02:00
Blaz Kristan
a106342439
PICO & WROVER runtime support
...
return of GPIO16
2024-04-04 23:09:59 +02: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
Blaz Kristan
41129cf379
Sqeeze every byte
2024-02-25 17:08:01 +01:00
Blaz Kristan
989bdfb0d5
Reduce string RAM usage for ESP8266 debug builds
2024-02-17 11:33:42 +01:00
Blaz Kristan
276a93605d
Multiupdate
...
- allow DMX for S2 & C3 (ESPDMX, needs testing)
- (debug) string cleanup & optimisation
- WLED_BRAND for AP SSID
2024-02-09 22:15:29 +01:00
Blaz Kristan
1f81fb9284
Implement JSON buffer in PSRAM to free up DRAM.
2023-12-21 21:30:17 +01:00
Frank
4a3bc486d0
two more "shadowed locals"
...
In these case, there seem to be no bug, but simply renaming the "inner" variables improves code readability.
2023-04-14 13:09:25 +02:00
Blaž Kristan
506b6b51ce
whitespace cleanup
2023-01-06 09:24:29 +01:00
Frank
e7f07f5bfc
pinmanager robustness improvement
...
make sure that array bounds are not violated in pinManager class.
2022-12-05 17:04:54 +01:00
Blaz Kristan
c253464b2a
PinManager::isPinOk() rewrite
...
Button pullup/pulldown fix for ESP32.
2022-09-24 12:25:06 +02:00
Frank
da02a68e60
allocatePin() debug message when Pin is not OK.
...
This debug message should help to understand GPIO config problems.
2022-09-17 20:42:34 +02:00
Blaz Kristan
8402de601f
More fixes for GPIOs.
...
UI fixes.
2022-09-13 21:41:51 +02:00
Blaz Kristan
ac15b227da
isPinOk() for S2 & C3
2022-09-13 19:50:13 +02:00
Frank
56f2513aba
Basic support for -S3
...
- bus_wrapper: currently no support for I2S methods
- pin_manager: different number of PWM channels, different isPinOk()
2022-09-11 00:09:59 +02:00
Blaz Kristan
1de009a80d
I2C & SPI fixes. Global interface.
2022-08-14 13:05:59 +02:00
bole5
7ee14724fc
Improve Pin Manager Debugging ( #2532 )
2022-02-08 00:03:20 +01:00
Blaž Kristan
41c9bb63a0
Pin manager support for sharing multipin buses.
2021-12-14 09:38:38 +01:00
cschwinne
d31e4c7815
Added getPinOwner
...
Only disable builtin LED if bus to avoid breaking other things on the pin
2021-11-17 11:13:07 +01:00
Henry Gabryjelski
1d4487b6cd
Ethernet configuration fix, improve PinManager ( #2123 )
...
* Improved pin manager, ethernet config
* Ethernet is configured prior even to LED pins
* Pin Manager allocation / deallocation functions
now take an "ownership" tag parameter, helping
avoid accidentally free'ing pins that were allocated
by other code
* Pin Manager now has ability to allocate multiple
pins at once; Simplifies error handling
* Fix operator precedence error
Bitwise AND has lower precedence than the
relational "greater than" operator.
* PinManager update for some user modules
* don't build everything...
* Final step to reduce RAM overhead
* update comment
* remove macros
* Remove leftover allocated
* Init ethernet after settings saved
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2021-08-23 14:14:48 +02:00
cschwinne
b934634159
First light from busmanager! (still not usable though)
2021-01-16 00:50:43 +01:00
cschwinne
854501385e
Bus progress
2020-12-07 01:39:42 +01:00
cschwinne
0c73ecf6a8
Added Pin Manager
2020-11-15 12:41:51 +01:00