tools/configure.bat: seems failed in windows native env.

2022-01-20 Thread xyluo
hello,tools/configure.bat in windows native env. does not run.here is the background info. mingw is installed at c:\mingwNuttx 10.2.0 : e:\nuttx Apps: e:\appsand the windows shell is ConEmuPack.210912 just take z80sim:nsh for examplecd

Re: RNDIS

2022-01-20 Thread Alan Carvalho de Assis
Please verify if dmesg can give use some hint about the issue. On 1/20/22, TimH wrote: > Nope, doesn't show. So RNDIS is not working right on my board. What a > surprise! > > On 20/01/2022 19:30, Alan Carvalho de Assis wrote: >> Exactly, knowing Unix/Linux makes your live easier with NuttX. >>

Re: RNDIS

2022-01-20 Thread TimH
Nope, doesn't show. So RNDIS is not working right on my board. What a surprise! On 20/01/2022 19:30, Alan Carvalho de Assis wrote: Exactly, knowing Unix/Linux makes your live easier with NuttX. Using "ip list" (or ifconfig) on Linux should display the new USB RNDIS interface. BR, Alan

Re: RNDIS

2022-01-20 Thread Alan Carvalho de Assis
Exactly, knowing Unix/Linux makes your live easier with NuttX. Using "ip list" (or ifconfig) on Linux should display the new USB RNDIS interface. BR, Alan On 1/20/22, TimH wrote: > At home now, but don't recall USB settings of any sort there, just the > wired Ethernet adapter of my machine. I

Re: RNDIS

2022-01-20 Thread TimH
At home now, but don't recall USB settings of any sort there, just the wired Ethernet adapter of my machine. I set that to the same subnet but that's irrelevant. ifconfig on the Linux machine didn't show a USB adapter, from memory. I'll have to hunt around for USB adapter settings - they're

Re: RNDIS

2022-01-20 Thread Alan Carvalho de Assis
Hi Tim, You we welcome! Are your Linux usb interface on this 10.0.0.x range as well? Is they are not in the same network class it will not work. BR, Alan On 1/20/22, Tim wrote: > Following suggestions relating to FAT/MSD/USB I have been playing with > RNDIS > following the NuttX Channel

RNDIS

2022-01-20 Thread Tim
Following suggestions relating to FAT/MSD/USB I have been playing with RNDIS following the NuttX Channel video by Alan C. de Assis (thank you Alan - only just found all of your videos!!). It all builds OK and ifconfig suggests all is good: nsh> ifconfig lo Link encap:Local Loopback at

Re: Question about backtrace_malloc

2022-01-20 Thread Xiang Xiao
On Fri, Jan 21, 2022 at 12:41 AM Gregory Nutt wrote: > This functionality is already implemented for asprintf(): It does this the > print using a "null stream" to get the size, allocates memory of that size, > then does the real print into the allocated memory. > > This logic could be easily

Re: Question about backtrace_malloc

2022-01-20 Thread Gregory Nutt
This functionality is already implemented for asprintf(): It does this the print using a "null stream" to get the size, allocates memory of that size, then does the real print into the allocated memory. This logic could be easily extracted:

Re: Question about backtrace_malloc

2022-01-20 Thread Xiang Xiao
On Thu, Jan 20, 2022 at 8:43 PM Arie de Muijnck wrote: > > > On 2022-01-20 13:11, Xiang Xiao wrote: > > On Thu, Jan 20, 2022 at 7:33 PM Jukka Laitinen > > wrote: > > > >> Hi, > >> > >> Sorry if this question comes several times, it seems that for some > >> reason my emails are not always coming

Re: Question about backtrace_malloc

2022-01-20 Thread Arie de Muijnck
On 2022-01-20 13:11, Xiang Xiao wrote: On Thu, Jan 20, 2022 at 7:33 PM Jukka Laitinen wrote: Hi, Sorry if this question comes several times, it seems that for some reason my emails are not always coming through to the mailing list... So re-sending. I started getting this build error from

Re: Question about backtrace_malloc

2022-01-20 Thread Xiang Xiao
On Thu, Jan 20, 2022 at 7:33 PM Jukka Laitinen wrote: > Hi, > > Sorry if this question comes several times, it seems that for some > reason my emails are not always coming through to the mailing list... So > re-sending. > > I started getting this build error from the latest NuttX: > >

RE: Question about backtrace_malloc

2022-01-20 Thread Tim
>emails are not always coming through to the mailing list... So re-sending. > This happens a lot for me too. I always check https://www.mail-archive.com/dev@nuttx.apache.org/ to see if I've missed anything.

Question about backtrace_malloc

2022-01-20 Thread Jukka Laitinen
Hi, Sorry if this question comes several times, it seems that for some reason my emails are not always coming through to the mailing list... So re-sending. I started getting this build error from the latest NuttX: misc/lib_execinfo.c:45:17: error: null argument where non-null required

RE: Alternatives to FAT for msd

2022-01-20 Thread Tim
>-Original Message- >From: Arie de Muijnck >Sent: 19 January 2022 22:34 >> FAT seems broken for NOR flash devices. Spent days getting nowhere. >> >> Since FAT and flash devices don't really play well together anyway >> (already found s512 erases a flash sector at least 4 times when >>