The RAM size was correctly defined. I increased the flash size to 256KB while 
testing also. My problem is not due to a bug, 16KB is just too little.
There are other variants of NRF51822 with 32KB RAM. I suspect that should also 
be OK.

Best,
Matias

On Sun, Jul 5, 2020, at 21:22, saito yutaka wrote:
> Hello.
> 
> > Well, I started to work on the BLE support on NRF51822 and it seems that
> 16KB is not enough for this, considering all the stack space needed for BLE
> on NuttX (mainly due to the worker threads and all net stuff).
> 
> Sorry, I think that linker script is wrong.
> I modifyed script.
> 
> https://github.com/SaitoYutaka/incubator-nuttx/commit/204388d50c0e4f5db52ea5a76ae15c2b528eaaba
> 
> Thanks
> Saito Yutaka
> 
> 2020年7月6日(月) 7:33 Matias N. <mat...@imap.cc>:
> 
> > Well, I started to work on the BLE support on NRF51822 and it seems that
> > 16KB is not enough for this, considering all the stack space needed for BLE
> > on NuttX (mainly due to the worker threads and all net stuff). I guess I
> > will continue this when the NRF52832 arrives, since it has 64KB of SRAM,
> > which should be good enough. Luckily, it seems the RADIO peripheral is
> > almost the same so I can simply port the code I have made so far easily.
> >
> > Best,
> > Matias
> >
> > On Fri, Jul 3, 2020, at 11:41, Matias N. wrote:
> > > Hi,
> > > I can take a look and see if this would work on my nrf51822. Stil, it
> > would be better to have
> > > the code author prepare a PR against NuttX. I see recent commits so it
> > appears an actively maintained
> > > WIP.
> > >
> > > On a related subject: I have ordered an NRF52832 board and module, for
> > which my ultimate intentions would be to have NuttX support for RADIO
> > peripheral (as was discussed recently on the list). Since the board will
> > take some time to arrive and since it appears that NRF51822 RADIO
> > peripheral is mostly compatible, I could slowly start to work on it
> > (assuming this NRF51822 port is usable to do so).
> > >
> > > Again, I would learn Bluetooth low-level stuff on the way. I don't mind
> > this, but of course if someone else is working/planning to work on this it
> > would be good to align efforts to avoid duplicate and wasted work.
> > >
> > > Alan, if you haven't contacted the code author we could send him an
> > email.
> > >
> > > Best,
> > > Matias
> > >
> > > On Thu, Jul 2, 2020, at 19:43, Alan Carvalho de Assis wrote:
> > >> Hi Everyone,
> > >>
> > >> It appears that someone is porting NuttX to BBC MicroBit board
> > >>
> > >> https://github.com/SaitoYutaka/incubator-nuttx
> > >>
> > >> Very interesting!
> > >>
> > >> He is testing on QEMU, maybe someone with an nRF51822 board could give
> > >> it a try! ;-)
> > >>
> > >> BR,
> > >>
> > >> Alan
> > >>
> > >
> >
> 

Reply via email to