Increase ULP program size

VictorMora
Posts: 1
Joined: Sun Jun 27, 2021 7:10 pm

Re: Increase ULP program size

Postby VictorMora » Sun Jun 27, 2021 7:21 pm

Hello
I have a problem and I get the following message on the serial monitor.
E (24) ulp: program too big: 162 words, max is 128 words

How can I increase the memory size?
I am working with the Arduino framework in platformio vs code.
I am using the ulp.h library to program the ulp.
Edit the sdkconfig.h file as follows
#define CONFIG_ULP_COPROC_ENABLED 1
#define CONFIG_ULP_COPROC_RESERVE_MEM 2048
This has not worked for me

Please if anyone knows how to solve it I will be grateful

Who is online

Users browsing this forum: No registered users and 43 guests