You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by Daniel Pereira Carvalho <da...@gmail.com> on 2021/06/14 18:09:18 UTC

CONFIG_RAM_SIZE variable

Hi,

I've been working on NuttX support for nucleo-g431kb. This work is based on
nucleo-g431rb, which is pretty similar, both boards have the same amount of
flash and ram memory (128K flash and 32K RAM). Looking at defconfig files I
noted that the variable CONFIG_RAM_SIZE is setted to 22528 (22K of ram). Is
this right? Shouldn't it be 32768?

Thanks

Daniel Pereira de Carvalho

Re: CONFIG_RAM_SIZE variable

Posted by Daniel Pereira Carvalho <da...@gmail.com>.
Hi Alan,

Thanks for response.

Daniel Pereira de Carvalho


Em seg., 14 de jun. de 2021 às 15:23, Alan Carvalho de Assis <
acassis@gmail.com> escreveu:

> Hi Daniel,
>
> I think it is 22KB SRAM and more 10KB CCM, see:
>
> https://www.st.com/en/microcontrollers-microprocessors/stm32g431k8.html
>
> BR,
>
> ALan
>
> On 6/14/21, Daniel Pereira Carvalho <da...@gmail.com> wrote:
> > Hi,
> >
> > I've been working on NuttX support for nucleo-g431kb. This work is based
> on
> > nucleo-g431rb, which is pretty similar, both boards have the same amount
> of
> > flash and ram memory (128K flash and 32K RAM). Looking at defconfig
> files I
> > noted that the variable CONFIG_RAM_SIZE is setted to 22528 (22K of ram).
> Is
> > this right? Shouldn't it be 32768?
> >
> > Thanks
> >
> > Daniel Pereira de Carvalho
> >
>

Re: CONFIG_RAM_SIZE variable

Posted by Alan Carvalho de Assis <ac...@gmail.com>.
Hi Daniel,

I think it is 22KB SRAM and more 10KB CCM, see:

https://www.st.com/en/microcontrollers-microprocessors/stm32g431k8.html

BR,

ALan

On 6/14/21, Daniel Pereira Carvalho <da...@gmail.com> wrote:
> Hi,
>
> I've been working on NuttX support for nucleo-g431kb. This work is based on
> nucleo-g431rb, which is pretty similar, both boards have the same amount of
> flash and ram memory (128K flash and 32K RAM). Looking at defconfig files I
> noted that the variable CONFIG_RAM_SIZE is setted to 22528 (22K of ram). Is
> this right? Shouldn't it be 32768?
>
> Thanks
>
> Daniel Pereira de Carvalho
>