-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi,
I'm trying to run the demo sketch on a NodeMCU-32S with 4MB of RAM. However, when I try to compile, I get the following error:
Error: The program size (1485357 bytes) is greater than maximum allowed (1310720 bytes)
RAM: [== ] 18.6% (used 61044 bytes from 327680 bytes)
Flash: [==========] 113.3% (use*** [checkprogsize] Explicit exit, status 1
d 1485357 bytes from 1310720 bytes)
The code I've used is straight from the main Readme:
#include <FastLEDHub.h>
#define NUM_LEDS 100
#define LED_TYPE WS2812B
#define LIGHTSTRIP_PIN 5
CRGB leds[NUM_LEDS];
void setup()
{
FastLEDHub.initialize("Project Name");
FastLEDHub.addLeds<LED_TYPE, LIGHTSTRIP_PIN, GRB>(leds, NUM_LEDS);
}
void loop()
{
FastLEDHub.handle();
}
platformio.ini is:
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:stable]
platform = espressif32 ;https://github.com/pioarduino/platform-espressif32/releases/download/51.03.04/platform-espressif32.zip
board = nodemcu-32s
framework = arduino
monitor_speed = 115200
lib_deps =
ESPEssentials
ArduinoJson
LinkedList
WebSockets
WiFiManager
FastLED
FastLEDHub
Can you please help
Metadata
Metadata
Assignees
Labels
No labels