acassis commented on issue #7086: URL: https://github.com/apache/incubator-nuttx/issues/7086#issuecomment-1246020006
Hi @greg5678 unfortunately you cannot just copy a new directory from apps to old NuttX version neither vice-versa. You need to adapt the Makefile/Make.defs/Kconfig and even the source file C (in the past was name_main() now is just main() name), after that you will get: ``` $ telnet 192.168.0.16 Trying 192.168.0.16... Connected to 192.168.0.16. Escape character is '^]'. NuttShell (NSH) nsh> ? help usage: help [-v] [<cmd>] [ cmp free mb pwd time ? dirname help mkdir rm true arp dd hexdump mh rmdir uname basename df ifconfig mount set umount break echo ifdown mv sh unset cat exec ifup mw sleep usleep cd exit kill nslookup test xd cp false ls ps telnetd Builtin Apps: netcat wapi nsh> ``` Kconfig: https://pastebin.com/raw/pU7urzR1 Make.defs: https://pastebin.com/raw/LTkeEmLq Makefile: https://pastebin.com/raw/JPNGPrTh Edite the netcat_main.c and rename the main function to netcat_main Good luck! -- 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