The mbed SDK actually prefixes all labels from targets.py with "TARGET_".
Update our detection macros accordingly.
Hi Rohit,
This is embarrassing. The mbed SDK still doesn't select the macros that allow to remove Central features, when building with a S110 SoftDevice.
I noticed this while investigating another issue in the live IDE. I now have a simple test case to check that the SoftDevice in use matches the build options.
I built it locally with workspace_tools/singletest.py and this patch, to ensure that my two patches will have the right behaviour once integrated into the live IDE.
Hopefully, this should do the trick.
The mbed SDK actually prefixes all labels from targets.py with "TARGET_". Update our detection macros accordingly.
Hi Rohit,
This is embarrassing. The mbed SDK still doesn't select the macros that allow to remove Central features, when building with a S110 SoftDevice. I noticed this while investigating another issue in the live IDE. I now have a simple test case to check that the SoftDevice in use matches the build options. I built it locally with workspace_tools/singletest.py and this patch, to ensure that my two patches will have the right behaviour once integrated into the live IDE. Hopefully, this should do the trick.