TimJTi opened a new pull request, #3081:
URL: https://github.com/apache/nuttx-apps/pull/3081

   ## Summary
   
   This allows an external mDNS library from 
[here](https://github.com/mjansson/mdns) to be built as a NuttX app.
   
   My thanks to @xiaoxiang781216 for pointing me in the direction of how to do 
this, based on how Vela handled it and to an example of how NuttX downlloads 
such libraries: so saving me the effort of porting it, as such.
   
   The library has a "built in" example app which runs from nsh if wanted, and 
I have added a "daemon" wrapper to it to allow it to be started and stopped, 
making it more directly usable from applications. There's an example app to go 
with it (hence to two commits).
   
   In an ideal world, the library should be used as just that: a library. If 
Kconfig is configured for that usage, the library's header file is 
automatically copied to apps/include/netutils during build to facilitate easier 
inclusion.
   
   I have added what I hope is enough information in the Kconfig help to allow 
others to make use of it.
   
   ## Impact
   
   This netutil is only enabled by Kconfig so will not impact any builds that 
do not enable it of course. Once enabled there is no obvious impact that I can 
envisage as it is standalone.
   
   ## Testing
   I have built this with/without all Kconfig options on my custom SAMA5D27 
board and it seems to behave as expected.
   
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to