RE: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-26 Thread David Sidrane
Hi Sebastien, Stack crashing into heap? Have you upped the stack sizes across the board? David -Original Message- From: Sebastien Lorquet [mailto:sebast...@lorquet.fr] Sent: Wednesday, May 26, 2021 9:22 AM To: dev@nuttx.apache.org Subject: Re: Port of project from NuttX 7.30 to 10.1

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-26 Thread Abdelatif Guettouche
Maybe this one could help: https://cwiki.apache.org/confluence/display/NUTTX/NuttX+9.1#NuttX9.1-CompatibilityConcerns > I am using the flat (monolithic build) and I see no place that define >this flag, at all. >I dont even see a place in the codebase that defines this flag. __KERNEL__ is defined

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-26 Thread Sebastien Lorquet
Hello, Thanks for the remarks. I am using the flat (monolithic build) and I see no place that define this flag, at all. I dont even see a place in the codebase that defines this flag. I see nothing related to mm, nor anything outdated in my Make.defs, which is from my old setup, yes, but

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-26 Thread raiden00pl
If you use CONFIG_BUILD_FLAT=y, make sure that __KERNEL__ flag is set here: https://github.com/apache/incubator-nuttx/blob/master/include/nuttx/mm/mm.h#L85 I remember that at some point I had a similar hardfault in mm which doesn't make sense and it was due to outdated board Make.defs. śr., 26

Re: Port of project from NuttX 7.30 to 10.1 RC1: Unexpected IRQ

2021-05-26 Thread Sebastien Lorquet
Update: stack dump and register analysis are in fact pointing to a crash in mm_alloc I have enabled memory management debug: mm_initialize: Heap: start=0x1000 size=65536 mm_addregion: Region 1: base=0x1154 size=65184 stm32_netinitialize: Enabling PHY power stm32_netinitialize: PHY

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

2021-05-26 Thread Alan Carvalho de Assis
Thank you Erik and Greg, I think we need to modify the default "sdc" board config to get nimBLE running correctly. Thank you for these suggestions. BR, Alan On Wednesday, May 26, 2021, Erik Englund wrote: > I was encountering the same error while trying to run NuttX 10.x / nimble > on

RE: [VOTE] Apache NuttX 10.1.0 (incubating) RC1 release

2021-05-26 Thread Alin.Jerpelea
Hello all, I sent the results email and created the release Best regards Alin -Original Message- From: 张铎(Duo Zhang) Sent: den 26 maj 2021 04:10 To: dev@nuttx.apache.org Subject: Re: [VOTE] Apache NuttX 10.1.0 (incubating) RC1 release We have enough binding votes from IPMC now, so

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

2021-05-26 Thread Erik Englund
I was encountering the same error while trying to run NuttX 10.x / nimble on NRF52832, tracked it down to insufficient ram available. The nimble nsh-app were present in the builtin-apps internal lists, but when trying to allocate application stack NuttX will return an error code, and it seems all