Browse Source
Allowing users to omit the SoC when building for a board containing a single SoC make less typing required when building. Full identifier is still supported. This means that if board 'plank' contains a single SoC 'foo', then the following input are equivalent: -DBOARD=plank -DBOARD=plank/foo When building for variants on single SoC boards, a `//` can be used to indicate SoC field and build system will insert the SoC if the board has just a single SoC, as example build the 'bar' variant for 'plank' board can be specified as: -DBOARD=plank//bar -DBOARD=plank/foo/bar The enhancement allows all boards to specify the SoC on the board without forcing users to type the SoC as part of BOARD input. As example, -DBOARD=bbc_microbit, is allowed in addition to -DBOARD=bbc_microbit/nrf52822. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>pull/69687/head
1 changed files with 10 additions and 2 deletions
Loading…
Reference in new issue