openthread / ot-reference-release

BSD 3-Clause "New" or "Revised" License
11 stars 27 forks source link

[script] update options to build the Raspberry Pi image for third party platforms #45

Closed zhanglongxia closed 1 year ago

zhanglongxia commented 1 year ago

When using the ot-reference-release to test the third party platforms, only the Raspberry Pi image is required. The RCP firmware may be non-public. And the third-party platforms may use the SPI interface.

This commit contains the following changes to meet the above requirements:

<1> add a new option `none` to the parameter `REFERENCE_PLATFORM` to disable generating RCP firmware. <2> add a new option `OTBR_RCP_BUS` to set the RCP bus type. <3> install the `qemu` or `qemu-system-arm` based on the installation result.