ARMmbed / connectedhomeip

Project Connected Home over IP is a new Working Group within the Zigbee Alliance. This Working Group plans to develop and promote the adoption of a new connectivity standard to increase compatibility among smart home products, with security as a fundamental design tenet.
https://www.connectedhomeip.com
Apache License 2.0
10 stars 4 forks source link

Mbed project component import #90

Closed ATmobica closed 3 years ago

ATmobica commented 3 years ago

Problem

We need to create a common approach to import mbed project components. On the one hand, we have a symbolic link to mbed-os sources on the other hand we put component sources directly.

Proposed Solution

  1. Use mbed deploy before project building to import necessary source directly to project directory.
  2. Create a specific script that import sources
  3. Import all sources during mbed-os Docker image run (for example to /opt directory) and create a symbolic link to selected of them (depending on build configuration) before building.
ATmobica commented 3 years ago

During the implementation, the approach to put components into third-party directory turned out to be the best. Then we create a symbolic link to select them depending on the build configuration.