In the "Log" I get the message "RTTTL : command not included in build".
This is probably due to my "custom build" that I make because I want to use the P141.
In PlatformIO.ini I included "default_envs = custom_ESP32_4M316k". I build with that.
In .\src\src\Custom.h I have included only those plugins and controllers that I need....(P005,P044,P049,P064,P141,C001)
What must I have to do to make the RTTTL command work?
Thanks in advance.
RTTTL : command not included in build
Moderators: grovkillen, Stuntteam, TD-er
Re: RTTTL : command not included in build
You should also add:
Those defines starting with "FEATURE" have to be set to either 0 or 1.
Code: Select all
#define FEATURE_RTTTL 1
Re: RTTTL : command not included in build
OK, but where is the best place to put this line?
Re: RTTTL : command not included in build
That can go in the Custom.h file, I assume you are already using. Maybe the available FEATURE flags should all be added to the Custom-sample.h file, for easier reference.
/Ton (PayPal.me)
Re: RTTTL : command not included in build
Thanks,
Rtttl command works fine again.
Rtttl command works fine again.
Re: RTTTL : command not included in build
Today, I discovered the rtttl command did not work again
I remembered and found this thread.
Is there a reason the default is not "#define FEATURE_RTTTL 1"?

I remembered and found this thread.
Is there a reason the default is not "#define FEATURE_RTTTL 1"?
Re: RTTTL : command not included in build
Main reason for not including that functionality is the added size to the binary file. (We've stopped adding features for ESP8266, even Espressif says that platform is deprecated)
Second reason is that you are in control of your Custom.h file, so if you need it, just enable it there

NB: We are trying to suggest people to switch away from ESP8266 to the ESP32 family of MCUs, as they are more capable, and hardly more expensive than ESP8266 units.
When shopping for ESP32, there are several units available with 8MB or 16MB flash memory, and for those units we offer MAX builds that include all plugins, and nearly all features (only a couple of fonts are not included for the AdafruitGFX_helper based display plugins).
These 8MB and 16MB units can be found on ESP32 (Classic), ESP32-S3 and ESP32-C6 units.
When switching to ESP32, please select a build that has LittleFS in the name (and most also have ETH added) as that is the future of the underlying platform, having the latest version of IDF 5.1. Non-LittleFS ESP32 builds use IDF 4.4, and the now deprecated SPIFFS file system, that isn't directly converted to LittleFS, but requires to make a backup first (Tools page, all files will be included in a .tar file), upgrade to a LittleFS build, and then restore the just created backup (mandatory reboot afterwards).
/Ton (PayPal.me)
Who is online
Users browsing this forum: Ahrefs [Bot] and 12 guests