Re: Beginner questions

2024-04-28 Thread Nathan Hartman
On Sun, Apr 28, 2024 at 1:45 AM M. Edward (Ed) Borasky < zn...@algocompsynth.com> wrote: > I've just run across NuttX, and I think it's a good fit for my project. > What I'm trying to do is develop some computer music applications on > microcontrollers. I'm mostly interested in the Raspberry Pi

Beginner questions

2024-04-27 Thread M. Edward (Ed) Borasky
I've just run across NuttX, and I think it's a good fit for my project. What I'm trying to do is develop some computer music applications on microcontrollers. I'm mostly interested in the Raspberry Pi Pico, but I also have some ESP32 S3, ESP 32 C3/C6, and Teensy 4.1 boards aand would like the

Re: RPTUN questions

2024-02-15 Thread Xiang Xiao
dencies. I even can > mount master's file system and run programs from it on the remote > node, as the remote node's capability is superset of that of the master > node. > > > > > > Here I have some questions regarding RPTUN: > > > > > > How to judge if RP

Re: Questions about ble/wifi

2023-03-20 Thread Alexandru Motoi
> Using the latest version I got some problems: > > https://github.com/apache/nuttx/issues/8767 > > > > I think it should be fine using the stable release since I have no idea > > what is going wrong using master. > > > > As for my questions: > > I

Questions about ble/wifi

2023-03-18 Thread Alan C. Assis
atest version I got some problems: > https://github.com/apache/nuttx/issues/8767 > > I think it should be fine using the stable release since I have no idea > what is going wrong using master. > > As for my questions: > I could not find a lot of information about the statu

Questions about ble/wifi

2023-03-17 Thread Alexandru Motoi
got some problems: https://github.com/apache/nuttx/issues/8767 I think it should be fine using the stable release since I have no idea what is going wrong using master. As for my questions: I could not find a lot of information about the status of the bluetooth for NuttX, only articles on running

SPI usage questions

2022-11-06 Thread Bernd Walter
While looking into the mcp2515 driver I noticed something unexpected. In mcp2515_instantiate() it does the follofing: SPI_SETFREQUENCY(config->spi, CONFIG_MCP2515_SPI_SCK_FREQUENCY); SPI_SETMODE(config->spi, MCP2515_SPI_MODE); SPI_SETBITS(config->spi, 8); SPI_HWFEATURES(config->spi, 0);

Re: QUESTIONS

2022-07-11 Thread Alan Carvalho de Assis
Hi Briann, The main idea of NuttX RTOS is to have a POSIX and in some way a Linux-like RTOS that runs on low/mid-end microcontrollers, like STM32, ESP32, etc. You also can run NuttX on high-end processors like Freescale/NXP iMX6 and others. Then in theory you can port Java Virtual Machine and

QUESTIONS

2022-07-10 Thread Briann Iañez
Can Apache NuttX run Apache Programs within NuttX? Apps such as Flink or Storm?

Re: MTD device aggregation, questions for other developers

2021-12-01 Thread Sebastien Lorquet
ne larger MTD device that span all the small ones. This is a kind of raid0 for MTD devices. I have questions about the API. Basically there are two choices: -have an empty initialiser (mtd_agg_init()) that return the larger device, and a function mtd_agg_adddev(child) to grow the device -ha

Re: MTD device aggregation, questions for other developers

2021-11-30 Thread Gregory Nutt
e checked) and the result is one larger MTD device that span all the small ones. This is a kind of raid0 for MTD devices. I have questions about the API. Basically there are two choices: -have an empty initialiser (mtd_agg_init()) that return the larger device, and a function mtd_agg_addde

MTD device aggregation, questions for other developers

2021-11-30 Thread Sebastien Lorquet
that span all the small ones. This is a kind of raid0 for MTD devices. I have questions about the API. Basically there are two choices: -have an empty initialiser (mtd_agg_init()) that return the larger device, and a function mtd_agg_adddev(child) to grow the device -have an initializer that takes

Re: Some questions related PR#1478

2020-07-31 Thread Gregory Nutt
Before we change the coding standard, I suggest that we get more feedback from the dev community. My opinion: If a loop does not require a body, I suggest to use braces, rather than a semicolon, because it is less prone to programmer error. ... I should not be so opposed to coding standard

Re: Some questions related PR#1478

2020-07-31 Thread Schock, Johannes - NIVUS GmbH
As a conclusion for me: If you don't want to force braces, the macos/sim build test needs to be fixed. Importantly: It's not a style test that is failing, it's a build test. Nevertheless I will change the code in my PR to use braces, because it seems to be the preferred way (at least by Greg and

Re: Some questions related PR#1478

2020-07-31 Thread Gregory Nutt
My opinion: If a loop does not require a body, I suggest to use braces, rather than a semicolon, because it is less prone to programmer error. I would be okay with either: while (condition) { } or while (condition) {} And of the two, I think the second one expresses the intent best.

Re: Some questions related PR#1478

2020-07-31 Thread Nathan Hartman
On Fri, Jul 31, 2020 at 10:55 AM Gregory Nutt wrote: > > Hmmm... I don't agree. > > > > The Coding Standard encourages empty "while loops": > > https://cwiki.apache.org/confluence/display/NUTTX/Coding+Standard#while > > Why should this not applicable for "for loops"? I think there are many > >

Re: Some questions related PR#1478

2020-07-31 Thread Gregory Nutt
Hmmm... I don't agree. The Coding Standard encourages empty "while loops": https://cwiki.apache.org/confluence/display/NUTTX/Coding+Standard#while Why should this not applicable for "for loops"? I think there are many already in the tree. Actually, I think that is an error in the coding

Re: Some questions related PR#1478

2020-07-31 Thread Schock, Johannes - NIVUS GmbH
macOS (sim)" complaining? Johannes > -Original Message- > From: Nathan Hartman [mailto:hartman.nat...@gmail.com] > Sent: Friday, July 31, 2020 4:15 PM > To: dev@nuttx.apache.org > Subject: [!!Mass Mail]Re: Some questions related PR#1478 > > On Fri, Jul 31, 2020 at 9:4

Re: Some questions related PR#1478

2020-07-31 Thread Nathan Hartman
On Fri, Jul 31, 2020 at 9:46 AM Schock, Johannes - NIVUS GmbH < johannes.sch...@nivus.com> wrote: > Hello, > I have two questions related PR#1478 ( > https://github.com/apache/incubator-nuttx/pull/1478): > > 1. I think there's a configuration error with "Build / macOS

RE: Some questions related PR#1478

2020-07-31 Thread Schock, Johannes - NIVUS GmbH
> From: Gregory Nutt [mailto:spudan...@gmail.com] > fsync on any open file descriptor will flush the file system since data > is only buffered for for metadata and one file at a time. This explains why my problem seems gone after I introduced a fsync on the file in my test case. I will have

Some questions related PR#1478

2020-07-31 Thread Schock, Johannes - NIVUS GmbH
Hello, I have two questions related PR#1478 (https://github.com/apache/incubator-nuttx/pull/1478): 1. I think there's a configuration error with "Build / macOS (sim)" since it is using -Wempty-body, or is this intentional? It gives errors for for (namelen = 0; dirinfo->fd_l

Re: nxstyle questions

2020-04-27 Thread Gregory Nutt
Yes! Should I do the same workaround as Greg mentions there, namely to add an additional "Included Files" section for the conditional includes? We have just been ignoring this style error in previous PRs. If you want someone to ignore and nxstyle complaint, I think the the etiquette is to

Re: nxstyle questions

2020-04-27 Thread Nathan Hartman
On Mon, Apr 27, 2020 at 1:29 PM Abdelatif Guettouche wrote: > Here are the supported sections: > https://github.com/apache/incubator-nuttx/blob/master/tools/nxstyle.c#L131 > (There is an "s" too many in what I wrote above, it's "Public Function > Prototypes") Thanks. More below: > On Mon, Apr

Re: nxstyle questions

2020-04-27 Thread Abdelatif Guettouche
Here are the supported sections: https://github.com/apache/incubator-nuttx/blob/master/tools/nxstyle.c#L131 (There is an "s" too many in what I wrote above, it's "Public Function Prototypes") On Mon, Apr 27, 2020 at 7:20 PM Abdelatif Guettouche wrote: > > > (1)

Re: nxstyle questions

2020-04-27 Thread Abdelatif Guettouche
> (1) arch/arm/include/stm32/stm32f40xxx_irq.h:361:3: error: Invalid > section for this file type For a header file the section "Public Functions" should not exist, it's actually "Public Functions Prototypes" > (2) arch/arm/include/stm32/irq.h:81:3: warning: #include outside of > 'Included

nxstyle questions

2020-04-27 Thread Nathan Hartman
I am not sure what to do about the following nxstyle complaints: (1) arch/arm/include/stm32/stm32f40xxx_irq.h:361:3: error: Invalid section for this file type Should I just remove the section? What to do with the unused __ASSEMBLY__, __cplusplus, and extern "C" stuff? (2)

porting imxrt/cxd5602 SD Card driver to sama5 - questions

2020-04-18 Thread Adam Feuer
Hi, I'm trying to port the imxrt SD Card driver (imxrt_usdhc.c) to the sama5d27. Both chips appear to use similar Cadence IP blocks... the registers appear to be almost identical. I know the SDMMC peripheral and the SD Card both work since I can boot from it using U-Boot on the SAMA5D2-XULT

Re: CONFIG_BUILD_KERNEL questions

2020-02-20 Thread Gregory Nutt
what's the status of CONFIG_BUILD_KERNEL? it seems only sama5 has the necessary up_ functions. is this right? is there a way to run on emulators like qemu? I have not used the kernel build in some time.  It has been used in products in the past so it is complete and usable but has some

CONFIG_BUILD_KERNEL questions

2020-02-20 Thread Takashi Yamamoto
hi, what's the status of CONFIG_BUILD_KERNEL? it seems only sama5 has the necessary up_ functions. is this right? is there a way to run on emulators like qemu? thank you