Hi Alan, I did.
This way I could compile and run my code on Nuttx but I now get "Socketpair
creation error" from my program.
As far as I know socketpair fucnction was includded in Nuttx 10.1 but I can't
see its reference in the latest Network documentation here:
https://nuttx.apache.org/doc
Thanks for your kind answers and help, I always appreciate.
@Alan OK I will try using USB console according to your tutorial to continue my
experiments.
@Nathan yes I already removed #include and I don't have
problem in Ubuntu, my code compiles and runs as expected. I am also aware of
that th
> On Sunday, July 4, 2021, murat tologlu wrote:
> > > netlib_setifstatus.c: In function 'netlib_ifup':
> > > netlib_setifstatus.c:67:27: error: 'NETLIB_SOCK_TYPE' undeclared (first
> > use in this function); did you mean 'NETLIB_SOCK_FAMILY'?
> > >67 | NETLIB_SOCK_TYP
Hi Murat,
Just use the netnsh config and follow my video tutorial explaining how to
use USB Console.
It is easy when you know which options to look at on menuconfig. It is
important to get used to menuconfig, otherwise it always will be like a
maze.
BR,
Alan
On Sunday, July 4, 2021, murat tolo
On Sat, Jul 3, 2021 at 5:36 AM murat tologlu wrote:
>
> Of-course I can modify the c file, Makefile, I can move or copy library
> files to appropriate locations to resolve the problem, but I would like to
> learn the formal (preferred) way of resolving this issue on Nuttx
> because the same code
I wish there was an easier way to configure the Nuttx; it is really hard!
The application I wrote with the :netnsh configuration was compiled without any
problems. However I want to use /dev/ttyUSBx as >nsh console. I'm trying to
compare nsh and netnsh .config files to do something, but it's re
Hi Alan,
Good advise the previous problem resolved after enabling the network but now I
get :
...
netlib_setifstatus.c: In function 'netlib_ifup':
netlib_setifstatus.c:67:27: error: 'NETLIB_SOCK_TYPE' undeclared (first use in
this function); did you mean 'NETLIB_SOCK_FAMILY'?
67 |
Hi Murat,
Did you enable Network support in the menuconfig?
Normally when some function is not found it means some feature in the
menuconfig is not enabled.
BR,
Alan
On 7/3/21, murat tologlu wrote:
> Hi,
>
> I am doing experiments of porting standard posix applications to Nuttx, I
> try to ru