[Build] Do not limit build size for custom builds with VCC. (#4129)

Fixes: #4129
This commit is contained in:
TD-er
2022-07-13 01:38:12 +02:00
parent ca63503f64
commit a698afdaae
+9 -7
View File
@@ -1701,14 +1701,16 @@ To create/register a plugin, you have to :
#endif
// VCC builds need a bit more, disable timing stats to make it fit.
#if defined(FEATURE_ADC_VCC) && !defined(PLUGIN_SET_MAX)
#ifndef LIMIT_BUILD_SIZE
#define LIMIT_BUILD_SIZE
#endif
#ifndef NOTIFIER_SET_NONE
#define NOTIFIER_SET_NONE
#endif
#ifndef PLUGIN_BUILD_CUSTOM
#if defined(FEATURE_ADC_VCC) && !defined(PLUGIN_SET_MAX)
#ifndef LIMIT_BUILD_SIZE
#define LIMIT_BUILD_SIZE
#endif
#ifndef NOTIFIER_SET_NONE
#define NOTIFIER_SET_NONE
#endif
#endif
#endif