mirror of
https://github.com/UnsignedArduino/ESP32-S3-Super-Mini-Test.git
synced 2025-04-05 18:12:05 +02:00
Comments
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
; Please visit documentation for the other options and examples
|
; Please visit documentation for the other options and examples
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
|
; https://community.platformio.org/t/esp32-s3-zero-does-not-work-on-platformio/40297/10?u=unsignedarduino
|
||||||
|
; https://github.com/sivar2311/ESP32-S3-PlatformIO-Flash-and-PSRAM-configurations
|
||||||
[env:esp32-s3-devkitc-1]
|
[env:esp32-s3-devkitc-1]
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = esp32-s3-devkitc-1
|
board = esp32-s3-devkitc-1
|
||||||
|
|||||||
@@ -32,8 +32,8 @@ void printESPInfo() {
|
|||||||
Serial.println("Flash");
|
Serial.println("Flash");
|
||||||
Serial.print(" getFlashChipSize: "); prettyPrintBytes(ESP.getFlashChipSize());
|
Serial.print(" getFlashChipSize: "); prettyPrintBytes(ESP.getFlashChipSize());
|
||||||
Serial.printf(" getFlashChipSpeed: %d MHz\n", ESP.getFlashChipSpeed() / 1000 / 1000);
|
Serial.printf(" getFlashChipSpeed: %d MHz\n", ESP.getFlashChipSpeed() / 1000 / 1000);
|
||||||
Serial.print(" getFlashChipMode: ");
|
// ESP.getFlashChipMode() on the ESP32-S3 crashes the CPU
|
||||||
Serial.println("SKIPPED");
|
Serial.print(" getFlashChipMode: "); Serial.println("SKIPPED");
|
||||||
// switch (ESP.getFlashChipMode()) {
|
// switch (ESP.getFlashChipMode()) {
|
||||||
// case FM_QIO:
|
// case FM_QIO:
|
||||||
// Serial.println("QIO");
|
// Serial.println("QIO");
|
||||||
@@ -76,12 +76,15 @@ void printESPInfo() {
|
|||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
|
// WS2818 is compatible with WS2811 but uses GRB
|
||||||
CFastLED::addLeds<WS2811, DATA_PIN, GRB>(leds, NUM_LEDS);
|
CFastLED::addLeds<WS2811, DATA_PIN, GRB>(leds, NUM_LEDS);
|
||||||
FastLED.setBrightness(32);
|
FastLED.setBrightness(32);
|
||||||
|
|
||||||
delay(1000);
|
delay(1000);
|
||||||
printESPInfo();
|
printESPInfo();
|
||||||
|
|
||||||
|
// Going to loop function crashes the CPU
|
||||||
|
// Instead use an infinite loop in setup
|
||||||
while (true) {
|
while (true) {
|
||||||
leds[0] = CRGB::Red;
|
leds[0] = CRGB::Red;
|
||||||
FastLED.delay(500);
|
FastLED.delay(500);
|
||||||
|
|||||||
Reference in New Issue
Block a user