Re: [Article] Drag-n-Drop a NuttX App

2024-02-24 Thread Nathan Hartman
The NuttX website says so little yet NuttX can do so much in so many different areas. How can we draw attention to all those possibilities? On Sat, Feb 24, 2024 at 5:03 PM Lee, Lup Yuen wrote: > Remember MakeCode? BBC micro:bit and its Drag-n-Drop App Builder? MakeCode > for BBC micro:bit is an

Re: [Article] Drag-n-Drop a NuttX App

2024-02-24 Thread Tomek CEDRO
CONGRATZ LUP!! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: [Article] Drag-n-Drop a NuttX App

2024-02-24 Thread Lee, Lup Yuen
Thanks Alan! We're still seeking a quicker way to send JavaScript Files to NuttX. (Zmodem? ROM FS Injection?) With NuttX supporting JavaScript (and hopefully MicroPython), we can now do so many fun things on NuttX :-) The next article will be about analysing NuttX Crash Dumps with PureScript (the

Re: littlefs BIOC_FLUSH in NAND flash

2024-02-24 Thread Alan C. Assis
Hi Saurav, Amazing! I'm happy to know you fixed it! If you can create some board configuration or document how you are doing it, I think it will be useful for more people here! Some years ago Ken Petit created a small Flash Simulator to use with SmartFS, but I think this one you are using is dif

Re: [Article] Drag-n-Drop a NuttX App

2024-02-24 Thread Alan C. Assis
WOW!!! Really cool project! Easy way to let people who know how to program using blocky to create NuttX applications! Best Regards, Alan On Sat, Feb 24, 2024 at 7:03 PM Lee, Lup Yuen wrote: > Remember MakeCode? BBC micro:bit and its Drag-n-Drop App Builder? MakeCode > for BBC micro:bit is an

[Article] Drag-n-Drop a NuttX App

2024-02-24 Thread Lee, Lup Yuen
Remember MakeCode? BBC micro:bit and its Drag-n-Drop App Builder? MakeCode for BBC micro:bit is an awesome creation that’s way ahead of its time (7 years ago!) - TypeScript Compiler and Arm Assembler in the Web Browser (in JavaScript!) - Custom Embedded OS (CODAL + Mbed OS) - micro:bit Simulator in

Re: littlefs BIOC_FLUSH in NAND flash

2024-02-24 Thread Saurav Pal
Hi Alan, I have figured out the cause...it was because of a very *small* error in my rawwrite method which was confusing littlefs (which I think commits CRC, flushes it and rechecks the written data for consistency at one point in the forceformat operation). Right now, mount() works as intended.

Re: Deleting files with wildcard

2024-02-24 Thread Gregory Nutt
On 2/24/2024 11:39 AM, Jernej Turnsek wrote: @Tomek No, my SD card filesystem is notu mounted read-only, because I can delete single files. I believe that rm * is just not implemented. There is no logic in NSH that expands "*" to a list of all files in the current directory.  It is passed on to

Re: Deleting files with wildcard

2024-02-24 Thread Jernej Turnsek
@Tomek No, my SD card filesystem is notu mounted read-only, because I can delete single files. I believe that rm * is just not implemented. On Sat, Feb 24, 2024 at 1:04 AM Tomek CEDRO wrote: > Maybe the SD card filesystem is mounted read-only? > For instance when filesystem is corrupted it may m

Re: Deleting files with wildcard

2024-02-24 Thread Jernej Turnsek
Hi Alan, in my case I also get an unlink error, but the files persist. On Sat, Feb 24, 2024 at 12:59 AM Alan C. Assis wrote: > I did a quick test in the sim:nsh > > nsh> mount > /bin type binfs > /etc type romfs > /proc type procfs > /tmp type vfat > > nsh> cd /tmp > nsh> ls > /tmp: > >

Re: littlefs BIOC_FLUSH in NAND flash

2024-02-24 Thread Saurav Pal
Hi Xiang and Alan, Thanks for the info Xiang. Alan, the first error returns ENOTTY as littlefs sends a BIOC_FLUSH command in IOCTL which isn't supported in NAND, and Xiang has provided the explanation on why that is fine. As for the -ENOSPC, I'm looking into it currently. It *should *have enough

Re: littlefs BIOC_FLUSH in NAND flash

2024-02-24 Thread Alan C. Assis
Hi Saurav, I suggest you to verifyr these errors first: *Command: 1293 | BIOC_FLUSH: 1293* Error Upper! ioctl | -25 #define ENOTTY 25 /* Not a typewriter */ So, you can search where this ENOTTY is returned. Some to: nx_mount: ERROR: Bind method failed: -28 nsh: mount: mount failed: 28 #defin

Re: Re:Re: RiscV landscape

2024-02-24 Thread Alan C. Assis
Hi YF, Right! I will do that! Best Regards, Alan On Sat, Feb 24, 2024 at 9:19 AM yfliu2008 wrote: > Alan, > > > > > > > It seems this is the issue template: > https://github.com/riscv-admin/riscv-landscape/issues/new/choose > > > As I am having difficulties to access sites like linkedin, crun

Re: littlefs BIOC_FLUSH in NAND flash

2024-02-24 Thread Xiang Xiao
BIOC_FLUSH is used to flush the cache which may exist in mtd driver to guarantee the power-loss resilience. It's optional, so it's enough that mtd_nand returns -ENOTTY. On Sat, Feb 24, 2024 at 8:28 PM Saurav Pal wrote: > Hi all, > > I've been trying to develop a device simulator for the NAND fla

littlefs BIOC_FLUSH in NAND flash

2024-02-24 Thread Saurav Pal
Hi all, I've been trying to develop a device simulator for the NAND flash (in the sim). A short note on what this does is create a virtual NAND flash (from RAM) and provide a driver, as well as a wrapper around the upper half (which for now, does nothing extra). This helps in creating records of

Re: RiscV landscape

2024-02-24 Thread Alan C. Assis
Yes! It should be! What you think about the Idea of submitting a PR there? If you need the Logo in SVG I can send you! BTW, I will create a Logo page at our documentation page, this way people can use it easily. BR, Alan On Saturday, February 24, 2024, yfliu2008 wrote: > Hi, > > > > > I am

Tiva c 123gxl can driver

2024-02-24 Thread Shijo George
problem : can driver not working tiva c 123gxl can char driver tm4cbringup: int tm4c_can_setup(void) { int ret = ERROR; // struct can_dev_s *devst; # ifdef CONFIG_TIVA_CAN0 tiva_can0_enableclk(); ret = tiva_configgpio(GPIO_CAN0_RX); if (ret < 0) { goto configgpio_er