-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Hi there,
We are doing our first attempt to port our current software to mbed5. The way we understood it, the new configuration would allow us to configure a new target per final product that could inherit from the platform target.
The initial idea was to translate all our old private yotta modules with different functionalities into "FEATURE_" folders. This way we could select the appropriate features for our different targets in the targets.json. Allowing us to fit everything (mbed5 + a bunch of own features) in one custom repository (reducing the overhead of maintaining and releasing).
For that approach to work, I had to modify the following code in /mbed-os/tools/config.py
# Allowed features in configurations
__allowed_features = [
"UVISOR", "BLE", "CLIENT", "IPV4", "IPV6", "COMMON_PAL", "STORAGE", "LOGGER"
]
Where "FEATURE_LOGGER" is just a dummy feature that I'm using to test this concept. The fact that I needed to do such change makes me think that this is not the intended way to add custom functionality to mbed5. What is then the intended project structure?