I would love it if we could merge the code soon.
It does have a limited shelf life, if we don't get it in place to it
will be a waste of a real effort and probably the most major
contribution every made to Apache NuttX.
I, too, would like to hear from our mentors regarding the licensing.
AFAIK, Apache projects can use BSD or similarly licensed code, with a
proper note about it in the LICENSE file, but I'd want to be sure.
In lack of other direction, I propose that we follow what the Mynewt
project has done: https://github.com/apache/mynewt-core
That is an IoT RTOS and, as a project, has similar properties as the
NuttX project. Also, Justin Mclean is the chair of the Mynewt project
so I think we can be assure that it follows all of the rules.
There is a LOT of third party code in the Mynewt repositories. As
examples: crypto/mbedtls (Apache from ARM), crypto/tinycrypt (BSD from
Intel), encoding/json (BSD), and probably more. Many non-Apache files
are listed in the top-level LICENSE file