Re: Article: NuttX on PinePhone: Fixing the Interrupts

2022-08-31 Thread Brennan Ashton
Nice work! You suckered me into getting one of these to follow along :) --Brennan On Wed, Aug 31, 2022, 6:48 PM Lee, Lup Yuen wrote: > NuttX on Pine64's PinePhone had some issues with Arm64 Interrupts. This > article explains how I fixed them, also how I ported NuttX's GIC v2 from > Arm32 to Ar

Article: NuttX on PinePhone: Fixing the Interrupts

2022-08-31 Thread Lee, Lup Yuen
NuttX on Pine64's PinePhone had some issues with Arm64 Interrupts. This article explains how I fixed them, also how I ported NuttX's GIC v2 from Arm32 to Arm64. (Generic Interrupt Controller) https://lupyuen.github.io/articles/interrupt Lup

Re: Re: Reevaluate the C89 Requirement

2022-08-31 Thread Nathan Hartman
On Wed, Aug 31, 2022 at 11:06 AM Gregory Nutt wrote: > > > There used to be one defining inline to be nothing for ZDS-II . It would > > > only be necessary to restore it for ZDS-II. This does not fix the > > function > > > duplication of static inline functions in header files, however. > > > > I

Re: Re: Reevaluate the C89 Requirement

2022-08-31 Thread Gregory Nutt
> There used to be one defining inline to be nothing for ZDS-II . It would > > only be necessary to restore it for ZDS-II. This does not fix the > function > > duplication of static inline functions in header files, however. > > Is the duplication really a problem, though? > > After all, the whole

Re: STM32H7 SPI status ?

2022-08-31 Thread Sebastien Lorquet
Hi, Thank you, I have confirmed that SPI seems to work with a serial eeprom with the default slew rate. Sebastien Le 31/08/2022 à 13:37, David Sidrane a écrit : Hi Sebastien, I think it is a stale artifact from before the DMA was fleshed out. We are using DMA on the H7 SPI in PX4. The onl

Re: Re: Reevaluate the C89 Requirement

2022-08-31 Thread Nathan Hartman
On Tue, Aug 30, 2022 at 10:45 AM Gregory Nutt wrote: > z8, ez80, and ZNEO using the ZiLOG ZDS-II compiler. I don't know the > current outstanding issues with that compiler. The Z80 parts currently use > SDCC but could also use one of several other open source compilers > such as Z88dk > which I

Re: Re: Reevaluate the C89 Requirement

2022-08-31 Thread Nathan Hartman
On Tue, Aug 30, 2022 at 4:16 PM Gregory Nutt wrote: > > > compiler.h has changed a lot. Does it still support compilers without > > > inline support? It appears not. I used to define inline to be nothing > > for > > > ZDS-II which worked okay except for static inline functions in header > > fil

Re: Networking on simulator

2022-08-31 Thread Nathan Hartman
On Wed, Aug 31, 2022 at 5:12 AM Fotis Panagiotopoulos wrote: > I enabled all network prints. > > I can see some ARP packets being sent and received, but nothing else. > I get a bunch of warnings like the following: > > netdriver_recv_work: WARNING: Unsupported Ethernet type 3465 > > (where the Eth

Re: Networking on simulator

2022-08-31 Thread Alan Carvalho de Assis
Hi Fotis, Did you try it: https://acassis.wordpress.com/2021/09/02/using-internet-in-the-nuttx-running-on-simulator/ BR, Alan On 8/31/22, Fotis Panagiotopoulos wrote: > Hello, > > motivated by the recent issues of the network, I would like to perform more > tests on NuttX and maybe automate so

Re: STM32H7 SPI status ?

2022-08-31 Thread David Sidrane
Hi Sebastien, I think it is a stale artifact from before the DMA was fleshed out. We are using DMA on the H7 SPI in PX4. The only caveat is that the default drive strength may be too high and we reduced it with the macro: https://github.com/PX4/PX4-Autopilot/blob/main/boards/px4/fmu-v6x/nuttx-co

STM32H7 SPI status ?

2022-08-31 Thread Sebastien Lorquet
Hi all, SPI bus driver in STM32H7 requires the CONFIG_EXPERIMENTAL feature. Is that still true as of today? I will do some tests later but I would like to know if someone has information about these peripherals, are these working or not, with interrupt, dma etc? Thanks for any info Seba

Networking on simulator

2022-08-31 Thread Fotis Panagiotopoulos
Hello, motivated by the recent issues of the network, I would like to perform more tests on NuttX and maybe automate some of them. The simulator sounds great for this case, but unfortunately I never got it working. Can someone please help me with that? I am using Fedora 36. I need to have the