Support for Pimonori Tiny2040

2022-01-10 Thread Peter Kalbus
Hi, I owned a Pimoroni Tiny2040 device. It’s an RP2040 based device with some interesting features: + small form factor (18x21.3mm) + 8 MByte Flash + RGB LED + Reset Button + USB-C - reduced pin-header I’d like to add the device based on the available RP2040 support. It’s basically w

Re: Move to C99 for common code

2022-01-10 Thread Xiang Xiao
Even no people complain about the inline usage, but it's always good to isolate the inline keyword in compiler.h like others. On Tue, Jan 11, 2022 at 4:37 AM Petro Karashchenko < petro.karashche...@gmail.com> wrote: > Following the discussion related to the "inline" keyword usage in common > code

Re: Move to C99 for common code

2022-01-10 Thread Petro Karashchenko
Following the discussion related to the "inline" keyword usage in common code. I have done draft changes in https://github.com/apache/incubator-nuttx/pull/5201 with an approach that possibly can be used to get rid of "inline" in common code. But I'm not even sure if this is needed to anyone, since

Re: Move to C99 for common code

2022-01-10 Thread Nathan Hartman
On Mon, Jan 10, 2022 at 9:15 AM Gregory Nutt wrote: > > > > > Speaking of the Z80, would it be possible to run NuttX in a Grant Searle > > / RC2014 platform with a 8k ROM /56k RAM split, or would any attempt > > require banked memory? > > > > I don't know if it is possible or not. I don't know if

Re: Move to C99 for common code

2022-01-10 Thread Gregory Nutt
> > Speaking of the Z80, would it be possible to run NuttX in a Grant Searle > / RC2014 platform with a 8k ROM /56k RAM split, or would any attempt > require banked memory? > I don't know if it is possible or not. I don't know if NuttX is viable on any CPU limited to a 64Kb address space. In the

Re: Move to C99 for common code

2022-01-10 Thread Sebastien Lorquet
Hi, SDCC recently added a 6502 port, based on their HC08 port. I think it has a chance to be better than cc65 or any gcc arsenal. Yes, the 6502 8-bit hardware stack is very limited, but by paying the price of a less efficient code, a software stack is possible. Of course, such a port would