updated libraries

This commit is contained in:
stuce-bot 2025-06-30 21:41:49 +02:00
parent d5d5d000b3
commit 3b7e68065a
102 changed files with 3020 additions and 1624 deletions

View file

@ -0,0 +1,18 @@
#include "FastLED.h"
#if defined(__AVR__)
#include "avr_test.h"
#elif defined(ESP32)
#include "esp_test.h"
#endif
void setup() {
Serial.begin(115200);
Serial.println("Setup");
}
void loop() {
Serial.println("Loop");
delay(100);
}

View file

@ -0,0 +1,13 @@
#pragma once
#include "FastLED.h"
void avr_tests() {
#if FASTLED_USE_PROGMEM != 1
#error "FASTLED_USE_PROGMEM is not 1 for AVR"
#endif
#if SKETCH_HAS_LOTS_OF_MEMORY != 0
#error "SKETCH_HAS_LOTS_OF_MEMORY is not 0 for AVR"
#endif
}

View file

@ -0,0 +1,13 @@
#pragma once
#include "FastLED.h"
void esp_8266_tests() {
#if FASTLED_USE_PROGMEM != 1
#error "FASTLED_USE_PROGMEM is not 1 for AVR"
#endif
#if SKETCH_HAS_LOTS_OF_MEMORY != 0
#error "SKETCH_HAS_LOTS_OF_MEMORY is not 0 for AVR"
#endif
}

View file

@ -0,0 +1,13 @@
#pragma once
#include "FastLED.h"
void esp32_s3_tests() {
#if FASTLED_USE_PROGMEM != 0
#error "FASTLED_USE_PROGMEM prog memory is turned on for esap32-s3"
#endif
#if SKETCH_HAS_LOTS_OF_MEMORY == 0
#error "SKETCH_HAS_LOTS_OF_MEMORY should have lots of memory for esp32-s3"
#endif
}

View file

@ -0,0 +1,10 @@
#pragma once
#include "sdkconfig.h"
#if defined(ESP8266)
#include "esp_8266_test.h"
#elif defined(CONFIG_IDF_TARGET_ESP32S3)
#include "esp_s3_test.h"
#endif