Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-01 Thread Miguel Wisintainer
First experiments on NRF52840 nsh> nimble & nimble [5:255] hci init port init gap init gatt init ans init ias init lls init tps init hci_sock task init ble_host task init nsh> hci sock task host task nsh> free nsh: free: Could not open /proc/meminfo (is procfs mounted?): 2 nsh> mount -t procfs /p

Re: [Discuss] Migrate the build system to CMake

2021-06-01 Thread Nathan Hartman
I am interested and I'll try to help with boards I can test. It will take a few days to get around to it because this has been a busy month, but I'm catching up. Cheers Nathan On Tue, Jun 1, 2021 at 11:25 AM Alan Carvalho de Assis wrote: > I think we can divide the effort to port all the boards

Re: [Discuss] Migrate the build system to CMake

2021-06-01 Thread Matias N.
On Tue, Jun 1, 2021, at 12:24, Alan Carvalho de Assis wrote: > I think we can divide the effort to port all the boards to the new CMake. That would be ideal. > I can start take care of ESP32, ESP32-C3 and ESP32-S2. > > Let see if we get more people involved in this effort. Thanks, Alan. > >

Re: [Discuss] Migrate the build system to CMake

2021-06-01 Thread Alan Carvalho de Assis
I think we can divide the effort to port all the boards to the new CMake. I can start take care of ESP32, ESP32-C3 and ESP32-S2. Let see if we get more people involved in this effort. BR, Alan On 6/1/21, Matias N. wrote: > Hi, > just wanted to add that until this is ready, the gap between mas

Re: [Discuss] Migrate the build system to CMake

2021-06-01 Thread Matias N.
Hi, just wanted to add that until this is ready, the gap between master and the branch widens with every merged PR and this increases the backporting effort. I'm willing to do most of the remaining work but as I mentioned I cannot possibly test everything so help is needed. I'd really like your

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-01 Thread Alan Carvalho de Assis
Thank you Matias, I'll do it! BR, Alan On 6/1/21, Matias N. wrote: > Sorry, no idea. You should probably enable debugging and see what is > happening. > > Best, > Matias > > On Tue, Jun 1, 2021, at 11:54, Alan Carvalho de Assis wrote: >> After reducing the stack from 16KB to 2KB I got same res

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-01 Thread Matias N.
Sorry, no idea. You should probably enable debugging and see what is happening. Best, Matias On Tue, Jun 1, 2021, at 11:54, Alan Carvalho de Assis wrote: > After reducing the stack from 16KB to 2KB I got same result as yours Erik: > > NuttShell (NSH) NuttX-10.1.0-RC1 > nsh> nimble & > nimble [5:

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-01 Thread Alan Carvalho de Assis
After reducing the stack from 16KB to 2KB I got same result as yours Erik: NuttShell (NSH) NuttX-10.1.0-RC1 nsh> nimble & nimble [5:255] hci init port init gap init gatt init ans init ias init lls init tps init hci_sock task init ble_host task init nsh> hci sock task host task nsh> ifconfig bnep0

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-01 Thread Alan Carvalho de Assis
Hi Erik, Thank you very much! Nice finding. Maybe Matias used 16KB because it was failing when stack was small, and maybe it is failing now but silently because you said it is not adverting data. We need to get NuttX BLE with better support on NuttX. Currently we have NimBLE integrated, but Xiao

Re: Nimble on U-blox Nina B112 (Nrf52832)

2021-06-01 Thread Erik Englund
Change the Nimble stacksize from 16384 to 2048, the nimble application starts as it should. Haven't had time to look into it anymore, it should've been 16k for a reason. We´ll have to trim stacksizes to leave some ram for the actual application though. I guess the board should start advertising s