v01d opened a new pull request #878: URL: https://github.com/apache/mynewt-nimble/pull/878
This PR adds support for Apache NuttX RTOS. As NuttX is POSIX compatible, I mostly used the Linux porting layer unchanged and only introduce some differences (I also wrote the event queue using POSIX message queues, which removed the need for the C++ file). Support for the required interface in NuttX has just been merged so this depends on master version of NuttX at the moment. nimBLE is used on NuttX just for its host layer. I'm marking this as draft because I would like to get some feedback in order to check that I'm in the right direction and then clean it up a bit (there are some changes that you may want to be merged separately). Also, I needed to distinguish Linux from NuttX case in the HCI socket interface file but I don't know how to create a new variable to do so, so I would need to fix that as well. I've been using nimBLE extensively on NuttX, both in the "sim" build (where NuttX uses the PC's bluetooth stack and simply passes the HCI messages around) and on nRF52832 chip (I wrote a link-layer for NuttX which is not yet merged). Integration will be completed in NuttX by having an extra "nimble" application which downloads this repo and builds the required userspace component (the host-layer). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
