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
|
||||
; 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]
|
||||
platform = espressif32
|
||||
board = esp32-s3-devkitc-1
|
||||
|
||||
@@ -32,8 +32,8 @@ void printESPInfo() {
|
||||
Serial.println("Flash");
|
||||
Serial.print(" getFlashChipSize: "); prettyPrintBytes(ESP.getFlashChipSize());
|
||||
Serial.printf(" getFlashChipSpeed: %d MHz\n", ESP.getFlashChipSpeed() / 1000 / 1000);
|
||||
Serial.print(" getFlashChipMode: ");
|
||||
Serial.println("SKIPPED");
|
||||
// ESP.getFlashChipMode() on the ESP32-S3 crashes the CPU
|
||||
Serial.print(" getFlashChipMode: "); Serial.println("SKIPPED");
|
||||
// switch (ESP.getFlashChipMode()) {
|
||||
// case FM_QIO:
|
||||
// Serial.println("QIO");
|
||||
@@ -76,12 +76,15 @@ void printESPInfo() {
|
||||
|
||||
void setup() {
|
||||
Serial.begin(115200);
|
||||
// WS2818 is compatible with WS2811 but uses GRB
|
||||
CFastLED::addLeds<WS2811, DATA_PIN, GRB>(leds, NUM_LEDS);
|
||||
FastLED.setBrightness(32);
|
||||
|
||||
delay(1000);
|
||||
printESPInfo();
|
||||
|
||||
// Going to loop function crashes the CPU
|
||||
// Instead use an infinite loop in setup
|
||||
while (true) {
|
||||
leds[0] = CRGB::Red;
|
||||
FastLED.delay(500);
|
||||
|
||||
Reference in New Issue
Block a user