I always do a:
sudo find ../apps/. -type f -name '*.o' -delete
sudo make clean && sudo make

sudo make distclean is reconfiguring kernel ... ... offcourse.... yes! It is
not crashing anymore!!! Thanks Bernd!

Now find out why my mount -t vfat /dev/mmcsd0 /sd is giving a 116 maount
failed when DEV_GPIO is anabled....

Ben


-----Oorspronkelijk bericht-----
Van: Bernd Walter <ti...@cicely7.cicely.de> 
Verzonden: donderdag 9 april 2020 11:21
Aan: dev@nuttx.apache.org
Onderwerp: Re: File Descriptor expanding freezes MCU and SDIO -116 when I
enable DEV-GPIO

On Thu, Apr 09, 2020 at 10:29:30AM +0200, disruptivesolution...@gmail.com
wrote:
> Hi all,
> 
>  
> 
> 2 questions:
> 
>  
> 
> File Descriptor expanding freezes MCU
> 
> 1)
> 
> Maybe a too simple question.. But why is my MCU "freezing up" when I 
> expand my File Descriptors:
> 
> RTOS Features -> Files and I/O -> Maximum number of file descriptors 
> per task .. From 8 --> 10. freeze. Back to 8. Oke.

Try a distclean.
You can backup your nuttx/.config in case you've changed a lot.
Something similar happened to me a while back.
The allocation routine wasn't recompiled when I raised the number of file
descriptors and therefor the table overflowed.

>  
> 
> SDIO -116 when I enable DEV_GPIO. Disabling DEV_GPIO my SDIO works fine.
> 
> 2)
> 
> I am trying to debug, but 1 is keeping me from doing that.
> 
>  
> 
> Thanks again.
> 
> Ben
> 

--
B.Walter <be...@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O
Baugruppen, ARM basierte FreeBSD Rechner uvm.

Reply via email to