debugassert vs assert in apps

2023-12-14 Thread Tim Hardisty
Hi, I'm wondering if there is an "approved" usage of assert vs debugassert for files/apps in the nuttx-apps repo? My thinking is: * use debugassert if a function in apps would only fail if the calling code, probably (or possibly only) if other functions within apps, rather than an unkn

SPI EEPROM, losetup, LittleFS

2023-12-14 Thread Tim Hardisty
Question first, then explanation. How do I use losetup (which is what I think I need) with a character memory device and mount an FS on it? SPI EEPROM and LittleFS specifically. Yes, it's a bad idea, probably, but I just want to have a play and lack of NuttX/POSIX/Linux knowledge has bitten m

regarding latest boards/Board.mk

2023-12-14 Thread yfliu2008
Hi, It seems that the latest boards/Board.mk leaks "etctmp.c" and "etctmp/" folder. I am unsure if it is desired or not.  If it is not desired, attached pacth can resolve it. hope someone can confirm if this is right or not. Regards, yf

Re: regarding latest boards/Board.mk

2023-12-14 Thread Xiang Xiao
The attachment is deleted by email server, could you create a pr on: https://github.com/apache/nuttx? On Fri, Dec 15, 2023 at 11:20 AM yfliu2008 wrote: > Hi, > > > It seems that the latest boards/Board.mk leaks "etctmp.c" and "etctmp/" > folder. > > I am unsure if it is desired or not. > > If it