arduino-esp32/cores/esp32
Davide Perini 66c9c0b1a6
Add ability for boards to provide a custom pixel order in neopixelWrite() (#10128)
* fix(esp32): Fixed the hint for the builtin neopixleWrite() function

* change(esp32): Added neopixelWriteOrdered() function

* change(esp32): Added neopixelWriteOrdered() function

* change(esp32): Added neopixelWriteOrdered() function

* change(esp32): Added the possibility to specify LED color order

* change(esp32): Added the possibility to specify LED color order

* feat(rgbled): add license information

* feat(rgbled): add color order enum

* feat(rgbled): add color order feature

* feat(rgbled): change color order for lolin_s3_mini

* fix(rgbled): suffix

* fix(rgbled): suffix

* ci(pre-commit): Apply automatic fixes

* fix(rgbled): it lacks GRB case

Made GRB default + switch/case exceptions.

* fix(rgbled): add guard for rgb_led_color_order_t

If RGB_BUILTIN_LED_COLOR_ORDER is not defined, the type rgb_led_color_order_t won't be declared.

* fix(rgb-led): Implement rgbLedWriteOrdered()

* ci(pre-commit): Apply automatic fixes

* Remove const to allow changing the order

---------

Co-authored-by: Rodrigo Garcia <rodrigo.garcia@espressif.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: me-no-dev <hristo@espressif.com>
2024-08-20 01:29:13 +03:00
..
apps/sntp Update IDF to 3.2-3276a13 and esptool.py to 2.5.0 (#1878) 2018-09-21 08:39:36 +02:00
libb64 refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Arduino.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
base64.cpp Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
base64.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
binary.h Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
cbuf.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
cbuf.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
chip-debug-report.cpp feat: Print chip features bitfield (#10080) 2024-07-31 21:44:13 +03:00
chip-debug-report.h ESP-IDF v5.1 (#7733) 2023-10-05 14:54:25 +03:00
Client.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Esp.cpp fix(esp): Fix getFlashChipMode breaking on S3 and C3 (#9758) 2024-06-03 13:04:42 +03:00
Esp.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-adc.c Update analogContinuous function for passing pins as const and constexpr (#10044) 2024-07-22 11:59:18 +03:00
esp32-hal-adc.h Update analogContinuous function for passing pins as const and constexpr (#10044) 2024-07-22 11:59:18 +03:00
esp32-hal-bt.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-bt.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-cpu.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-cpu.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-dac.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-dac.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-gpio.c RMT Legacy Driver option (#9941) 2024-06-28 12:06:58 +03:00
esp32-hal-gpio.h fix(gpio): Add missing include for digitalPinCanOutput (#10070) 2024-07-29 12:49:45 +03:00
esp32-hal-i2c-slave.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-i2c-slave.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-i2c.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-i2c.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-ledc.c fix(ledc): Fix freeing channel if not used anymore (#10094) 2024-07-31 15:16:55 +03:00
esp32-hal-ledc.h feat(ledc): Allow attaching multiple pins to 1 channel (#10032) 2024-07-16 15:52:45 +03:00
esp32-hal-log.h fix(esp-hal-log):Provide a default TAG name for USE_ESP_IDF_LOG logging macro (#9686) 2024-05-27 16:34:40 +03:00
esp32-hal-matrix.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-matrix.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-misc.c fix(xtal): Add a way to change the XTAL frequency for SparkFun ESP32 Thing (#9844) 2024-06-13 10:26:54 +03:00
esp32-hal-periman.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-periman.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-psram.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-psram.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-rgb-led.c Add ability for boards to provide a custom pixel order in neopixelWrite() (#10128) 2024-08-20 01:29:13 +03:00
esp32-hal-rgb-led.h Add ability for boards to provide a custom pixel order in neopixelWrite() (#10128) 2024-08-20 01:29:13 +03:00
esp32-hal-rmt.c feat(rmt): Solve neopixel issue (#9906) 2024-06-20 16:33:06 -03:00
esp32-hal-rmt.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-sigmadelta.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-sigmadelta.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-spi.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-spi.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-time.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-timer.c fix(timer): Add check to avoid crashing (#10069) 2024-07-29 13:09:22 +03:00
esp32-hal-timer.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-tinyusb.c feat(usb): Support the new USB IDF API (#9761) 2024-06-03 15:45:31 +03:00
esp32-hal-tinyusb.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-touch.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-touch.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp32-hal-uart.c fix(uart): clock source (#10172) 2024-08-16 16:42:18 +03:00
esp32-hal-uart.h fix(hal-uart): truncated tx/rx buffer size (uint16_t -> uint32_t) (#9554) 2024-04-29 18:14:22 +03:00
esp32-hal.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp8266-compat.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
esp_arduino_version.h fix(core): Update versions to 3.0.4 (#10106) 2024-08-02 12:18:35 +03:00
extra_attr.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
firmware_msc_fat.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
firmware_msc_fat.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
FirmwareMSC.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
FirmwareMSC.h Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
FunctionalInterrupt.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
FunctionalInterrupt.h Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
HardwareI2C.h Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
HardwareSerial.cpp fix(uart): Sets XTAL as clock source for uart (#10087) 2024-08-01 12:09:59 +03:00
HardwareSerial.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
HashBuilder.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
HEXBuilder.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
HEXBuilder.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
HWCDC.cpp fix(cdc): Disable SOF interrupt and CDC reset on begin() (#9628) 2024-05-15 13:58:45 +02:00
HWCDC.h fix(cdc): Disable SOF interrupt and CDC reset on begin() (#9628) 2024-05-15 13:58:45 +02:00
io_pin_remap.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
IPAddress.cpp fix(net): Fix IPv4 address construction from ip_addr_t and comparison (#9724) (#9725) 2024-05-30 14:18:46 +03:00
IPAddress.h fix(net): Add back the friend classes required for Ethernet.h to work (#9635) 2024-05-15 13:15:10 +02:00
MacAddress.cpp change(idf): Rename component example and fix compilation warnings (#9801) 2024-06-10 15:30:18 +03:00
MacAddress.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
main.cpp fix(xtal): Add a way to change the XTAL frequency for SparkFun ESP32 Thing (#9844) 2024-06-13 10:26:54 +03:00
MD5Builder.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
MD5Builder.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
pgmspace.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Print.cpp Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
Print.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Printable.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Server.h Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
SHA1Builder.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
SHA1Builder.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
stdlib_noniso.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
stdlib_noniso.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Stream.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Stream.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
StreamString.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
StreamString.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Tone.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
Udp.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
USB.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
USB.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
USBCDC.cpp fix(cdc): Disable SOF interrupt and CDC reset on begin() (#9628) 2024-05-15 13:58:45 +02:00
USBCDC.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
USBMSC.cpp feat(usbmsc): Add is_writable function to the USBMSC class. (#9569) 2024-05-13 15:10:45 +02:00
USBMSC.h feat(usbmsc): Add is_writable function to the USBMSC class. (#9569) 2024-05-13 15:10:45 +02:00
WCharacter.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
wiring_private.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
wiring_pulse.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
wiring_shift.c refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
WMath.cpp Refactor repository with pre-commit hooks (#9515) 2024-04-15 19:40:56 +03:00
WString.cpp refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00
WString.h refactor(style): Change some style options (#9526) 2024-04-19 18:16:55 +03:00