Xiao nRF52840 library selection pro's and con's

Another option for optimal results is the official nRF Connect SDK from Nordic.

See for example

Alas, it relies on Zephyr OS, which may raise a serious challenge with the device-tree approach taken from Linux.