RTTTL : command not included in build

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
joost d
Normal user
Posts: 53
Joined: 24 Dec 2020, 17:55
Location: Netherlands/ Haarlem

RTTTL : command not included in build

#1 Post by joost d » 23 Nov 2022, 15:38

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.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: RTTTL : command not included in build

#2 Post by TD-er » 23 Nov 2022, 16:28

You should also add:

Code: Select all

#define FEATURE_RTTTL 1
Those defines starting with "FEATURE" have to be set to either 0 or 1.

joost d
Normal user
Posts: 53
Joined: 24 Dec 2020, 17:55
Location: Netherlands/ Haarlem

Re: RTTTL : command not included in build

#3 Post by joost d » 23 Nov 2022, 18:13

OK, but where is the best place to put this line?

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: RTTTL : command not included in build

#4 Post by Ath » 23 Nov 2022, 20:02

joost d wrote: 23 Nov 2022, 18:13 OK, but where is the best place to put this line?
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)

joost d
Normal user
Posts: 53
Joined: 24 Dec 2020, 17:55
Location: Netherlands/ Haarlem

Re: RTTTL : command not included in build

#5 Post by joost d » 24 Nov 2022, 12:31

Thanks,
Rtttl command works fine again.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 30 guests