Color code in custom build

Moderators: Voyager, BertB, grovkillen, Stuntteam, LisaM

Post Reply
Message
Author
User avatar
chromo23
Normal user
Posts: 842
Joined: 10 Sep 2020, 16:02
Location: germany

Color code in custom build

#1 Post by chromo23 » 24 Oct 2022, 14:28

@TD-er where do i enable color code in custom builds?

User avatar
chromo23
Normal user
Posts: 842
Joined: 10 Sep 2020, 16:02
Location: germany

Re: Color code in custom build

#2 Post by chromo23 » 24 Oct 2022, 14:40

Ahh, i think i found it
I uncommented it in "define_plugin_sets.h" section "#ifdef LIMIT_BUILD_SIZE".
Is that the right way to do it?

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

Re: Color code in custom build

#3 Post by TD-er » 24 Oct 2022, 15:28

Nope, for custom builds you should only need to change either Custom.h or tools/pio/pre_custo_esp82xx.py (or the esp32 variant)


So either in Custom.h:

Code: Select all

#define FEATURE_RULES_EASY_COLOR_CODE 1
or in the Python file:

Code: Select all

"-DFEATURE_RULES_EASY_COLOR_CODE=1",


Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest