282 Commits
Author SHA1 Message Date
Michael Miller cf720f8b07 v2.6.3 (#473) 2.6.3 2021-05-24 20:56:32 -07:00
Michael Miller 0362fcda31 Esp8266 v3 updates (#472)
Fix to use standard IRAM_ATTR now supported between Esp8266 and ESP32
2021-05-24 20:53:54 -07:00
Stefan Agner b6626fd758 Fix clang-tidy pointer cast error (#471)
* Fix clang-tidy pointer cast error

clang-tidy reports:

./src/internal/NeoEsp8266DmaMethod.h:317:46: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [clang-diagnostic-error]
            _i2sBufDesc[indexDesc].buf_ptr = reinterpret_cast<uint32_t>(is2Buffer);
                                             ^
./src/internal/NeoEsp8266DmaMethod.h:492:58: error: cast from pointer to smaller type 'uint32_t' (aka 'unsigned int') loses information [clang-diagnostic-error]
                    (finished_item + 1)->next_link_ptr = reinterpret_cast<uint32_t>(finished_item);

Use pointers instead of integers for pointers. This makes quite some
casts unnecessary.

* Use struct slc_queue_item* as datatype for next pointer
2021-05-24 09:08:49 -07:00
programminghoch10 8fd2c9fd30 Fixed typo in ReadMe.md (#468) 2021-04-21 09:49:30 -07:00
Michael Miller 41d3906cdf Esp32S2 Defaults not set (#465) 2021-04-16 17:49:00 -07:00
Michael Miller 5e492ea925 Modern cast cleanup (#462)
* static_cast

* cleanup and building
2021-04-13 10:45:35 -07:00
Michael Miller 2480634ca7 Minor Style updates (#461) 2021-04-12 15:17:40 -07:00
Louis BeaudoinandLouis Beaudoin b90992fdc2 ESP32 Hardware SPI Improvements - Options for using both SPI peripherals, and DMA (#441)
* Fix header file comment

* Add TwoWireHspiImpl and Example

* Add start of TwoWireEsp32DmaSpiImple (Currently just able to use HSPI and VSPI in parallel, no DMA)

* Update names for TwoWireEsp32DmaSpi and set set spi_bus using template not constructor

* Update example with new functionality and bugfixes

* DotStarEsp32DmaSpiMethod -

* Add 5MHz option to all SPI-based classes

* DotStarGenericMethod - Give option to use Vspi alias of Spi class if wanting to specify which SPI peripheral is used on the ESP32
- Add missing DotStarHspiHzMethod

* TwoWireHspiImple - bring up to date with applySettings() method

* DotStarTest_Esp32Advanced example - update to show how to change clock speed at runtime
- Remove commented out pins cluttering up example

* DotStarTest_Esp32DmaSpi example -

Co-authored-by: Louis Beaudoin <louis@embedded-creations.com>
2021-04-12 14:59:09 -07:00
Juerd Waalboer cc17ec6fa1 ESP32 i2s: instead of runtime exception, silently upgrade pixelCount (#459)
Fixes #457

This workaround, compared to the old implementation of throwing an exception,
is simpler, makes the compiled program 260 smaller, and unbreaks existing code
that uses a pixel count of 1 that used to work prior to 2cce77e9 (v2.6.2).

This fix basically does the same thing as the recommended fix on the caller
side, except without bothering the caller. It does make `.GetPixelCount()`
return 2 instead of the provided number of pixels, but the resulting program is
arguably less broken than it is with the failing check at construction, and not
likely to really be much of an issue anyway.
2021-04-05 16:05:46 -07:00
Michael Miller a6da4b728b Expose uint16 for direct access (#454) 2021-03-23 14:26:33 -07:00
Drzony 7dbb95401e Fix for compiler warnings with -Wextra (#447) 2021-03-21 16:22:17 -07:00
Michael Miller 7b9f315acc Update Version Info (#452) 2.6.2 2021-03-21 14:48:56 -07:00
s-hadingerandStephan Hadinger f16a39f7af ESP32 force bitbang in IRAM (#446)
* ESP32 force bitbang in IRAM

* Split send_pixels into inverted and non-inverted

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-03-13 15:42:01 -08:00
Michael Miller dccf8d5709 Better String Convert (#448) 2021-03-13 15:23:20 -08:00
Michael Miller e54a06736e Neo segment working (#443)
Finally have some to test with
2021-03-03 16:42:12 -08:00
Michael Miller 1b56c2e7f7 builds (#440) 2021-02-18 14:36:17 -08:00
Mike Dunston bf41c61398 Add support for Tx1812 LED (#435) 2021-02-16 16:41:16 -08:00
h3ndrikandMichael Miller edecdcef01 add TM1829 support (#378)
Co-authored-by: Michael Miller <Makuna@hotmail.com>
2021-02-16 13:23:24 -08:00
Michael Miller 1a0bf55363 Spi dynamic speed (#434) 2021-02-16 10:46:20 -08:00
Michael Miller 816de24962 Spi dynamic speed (#432) 2021-02-16 10:23:02 -08:00
Michael Miller b76a42bb5a Default Back to i2s method (#431) 2021-02-14 17:16:06 -08:00
Michael Miller 8161894491 i2s MALLOC_CAP_DMA (#430) 2021-02-14 16:42:59 -08:00
Michael Miller 13b7d2e377 Esp32 i2s (#427)
* dynamic i2s bus numbers

* stabile and consistent shows

* faster to start send
2021-02-11 17:22:10 -08:00
Michael Miller 7a73ffc7b4 Clear Buffer (#426) 2021-02-10 20:25:47 -08:00
Michael Miller 663c6492f4 Color and Init (#425) 2021-02-10 17:33:24 -08:00
Michael Miller d07f7aa0ab More Speeds and Color Order (#423) 2021-02-10 13:36:05 -08:00
Michael Miller 923b0e2312 IncrementVersion (#416) 2.6.1 2021-01-31 13:54:55 -08:00
Michael Miller 0846cfbc93 explicit constructor (#415) 2021-01-26 23:28:12 -08:00
Michael Miller 5e7b58ed49 unitialized end time (#413) 2021-01-25 15:13:56 -08:00
feedc0de 79edeccb29 Fixed compiler error with esp idf version 4 (#380) 2021-01-25 00:05:16 -08:00
Michael Miller ed3eeb1f1b Dynamic channels (#411) 2021-01-24 15:44:13 -08:00
Michael Miller fc6ae8ed18 missing semocolon (#409) 2021-01-18 16:24:48 -08:00
Michael Miller be3c15bb10 APA106 Timing Improvements (#406) 2021-01-16 15:26:25 -08:00
Michael Miller a0941ca0ee Fix pgm_read_byte warning (#405) 2021-01-16 15:25:13 -08:00
Michael Miller c9689ef694 Update Lpd6803ColorFeatures.h (#403)
endianess fixes
2021-01-15 13:03:17 -08:00
Michael Miller 3910763e57 Building (#402) 2021-01-14 22:38:05 -08:00
Michael Miller de32dd9cc8 Rgb color enhancements (#391)
* Rgb48Color

* Rgb16Color

* Discord readme
2020-12-26 09:54:21 -08:00
Michael Miller f33d78d3dc Update Support links 2020-12-13 13:01:25 -08:00
Michael Miller a3ccc89dcb Update Esp32_i2s.c (#382) 2020-11-13 09:46:24 -08:00
Drzony 93b072a52a Added SPI to dependencies (#381) 2020-11-06 09:09:32 -08:00
Michael Miller 296e2c30c5 New Version (#371) 2.6.0 2020-09-20 13:33:41 -07:00
Michael Miller 0c41010e20 remove tabs (#370) 2020-09-20 10:29:49 -07:00
Michael Miller c7b0c66fc0 NoSettings (#369)
LPD8806 missing no settings enhancement
2020-09-20 10:09:43 -07:00
Andreas Merkle a05b70893f Filename fixed. (#367) 2020-09-01 11:44:00 -07:00
Michael Miller 5e205c8814 Esp32 Fixes (#366)
Fix improper ifdef/else/endif
DRAM_ATTR on ISR const data
ISR allows LEVEL1 int
2020-08-29 11:55:44 -07:00
Michael Miller 23751b1c6d Rmt iram Esp32 workaround (#363)
This makes it compatible with the released Esp32, not a long term solution
2020-08-27 23:24:22 -07:00
Michael Miller 5cae8107fc Revert "Compiles for S2 (#362)" (#364)
This reverts commit ff7e996e92.
2020-08-27 23:22:31 -07:00
Michael Miller ff7e996e92 Compiles for S2 (#362) 2020-08-27 23:19:32 -07:00
Michael Miller 0f45e8d481 Fix 8bit math (#360) 2020-07-27 11:38:47 -07:00
Michael Miller ad38b97f8b Esp32 s2 i2s (#358)
* More Init Cleanup

* cleanup
2020-06-17 15:11:34 -07:00