updated libraries
This commit is contained in:
parent
d5d5d000b3
commit
3b7e68065a
102 changed files with 3020 additions and 1624 deletions
18
libraries/FastLED/examples/CompileTest/CompileTest.ino
Normal file
18
libraries/FastLED/examples/CompileTest/CompileTest.ino
Normal 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);
|
||||
}
|
||||
13
libraries/FastLED/examples/CompileTest/avr_test.h
Normal file
13
libraries/FastLED/examples/CompileTest/avr_test.h
Normal 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
|
||||
}
|
||||
13
libraries/FastLED/examples/CompileTest/esp_8266_test.h
Normal file
13
libraries/FastLED/examples/CompileTest/esp_8266_test.h
Normal 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
|
||||
}
|
||||
13
libraries/FastLED/examples/CompileTest/esp_s3_test.h
Normal file
13
libraries/FastLED/examples/CompileTest/esp_s3_test.h
Normal 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
|
||||
}
|
||||
10
libraries/FastLED/examples/CompileTest/esp_test.h
Normal file
10
libraries/FastLED/examples/CompileTest/esp_test.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue