7 years, 5 months ago.

Valid "features_add" and "features_remove" .json values for compile config system

I've been looking at the compile config system in mbed-os. I notice there's a couple of variables in the .json files for the target override dict called "features_add" and "features_remove".

Is there a full list of the valid inputs that these can take anywhere and the actual associated src sub-directories that are added/removed from compilation as a result? Where possible I'd like to strip out everything from mbed-os that I don't need for my project.

I couldn't see anything in the relevant handbook section.

Thanks

Paul

1 Answer

7 years, 5 months ago.

Hi Paul,

You are correct that we have not documented the allowed features. I created a pull-request to our documentation to do just that. So that you get the information as fast as possible, please see the answer to your question here: https://github.com/ARMmbed/Handbook/pull/190

You can view the rendered diff at this url: https://github.com/ARMmbed/Handbook/pull/190/files?short_path=ec724f3#diff-ec724f3eef1ebfaec0a82e85061587c5

Thanks

Jimmy

Accepted Answer

Great, thanks Jimmy!

posted by Paul Harris 30 Jun 2017