Adding one TEST .ino to custom build

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
mackowiakp
Normal user
Posts: 527
Joined: 07 Jun 2018, 06:47
Location: Gdynia/Poland

Adding one TEST .ino to custom build

#1 Post by mackowiakp » 16 Sep 2019, 13:43

I want to add PMS driver to custom build. I try to add it in ./source/src/define_plugin_sets.h file such statement:

Code: Select all

#ifndef PLUGIN_BUILD_CUSTOM
    #ifndef PLUGIN_BUILD_NORMAL
        #define PLUGIN_BUILD_NORMAL // defaults to stable, if not custom
    #endif
#define USES_P053   // PMSx003 added by me
#endif
but after compiling it does not contain one. What I am doing wrong?

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

Re: Adding one TEST .ino to custom build

#2 Post by TD-er » 16 Sep 2019, 14:09

You should move it from the "PLUGIN_SET_TESTING" section to the "PLUGIN_SET_STABLE" section.
Then it will be included in your "Normal" build
The "custom" build is using the file pre_extra_script.py to define what's included.
If you want to use that one, you should add the desired plugin(s) to that Python file and build again.

Post Reply

Who is online

Users browsing this forum: No registered users and 54 guests