Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Mike Moretti
hem manually can still be done as long as you make sure you are grabbing the most recent version. You can also build it (or MCUboot) from source by changing the image configuration options in the menuconfig. Cheers, Lucas ________ From: Mike Moretti Sent: Friday, September 1,

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Alan C. Assis
esptool.py -c >> esp32 -p /dev/ttyUSB0 -b 921600 flash_id` >> >> Best regards, >> >> Em sex., 1 de set. de 2023 às 11:26, Lucas Vaz >> escreveu: >> >>> The make bootloader command, by default, downloads the most recent >>> pre-compiled binaries. Downloading t

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Tiago Medicci Serrano
> esp32 -p /dev/ttyUSB0 -b 921600 flash_id` > > > > Best regards, > > > > Em sex., 1 de set. de 2023 às 11:26, Lucas Vaz > > escreveu: > > > >> The make bootloader command, by default, downloads the most recent > >> pre-compiled binaries. Downloa

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Mike Moretti
as you make sure you are grabbing the most recent version. You can also build it (or MCUboot) from source by changing the image configuration options in the menuconfig. Cheers, Lucas From: Mike Moretti Sent: Friday, September 1, 2023 11:14 To: dev@nuttx.apache.org Sub

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Tiago Medicci Serrano
t) from source by changing the image configuration > options in the menuconfig. > > Cheers, > Lucas > > From: Mike Moretti > Sent: Friday, September 1, 2023 11:14 > To: dev@nuttx.apache.org > Subject: Re: Adding bluetooth configuration on esp32

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Lucas Vaz
the menuconfig. Cheers, Lucas From: Mike Moretti Sent: Friday, September 1, 2023 11:14 To: dev@nuttx.apache.org Subject: Re: Adding bluetooth configuration on esp32 hangs nsh [External: This email originated outside Espressif] Wait, so you're telling

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Alan C. Assis
Hahaha, true! I use my blog as my personal reference! I always feed my blog, but somethings I forget to update the Documentation/ directory. "Do as I say, not as I do!" ;-) BR, Alan On 9/1/23, Mike Moretti wrote: > Wait, so you're telling me I should submit a PR, but you spent > the time to

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Mike Moretti
Wait, so you're telling me I should submit a PR, but you spent the time to document this on your own web site instead of submitting a PR to the official NuttX docs yourself? ;-) -m On 9/1/2023 10:02 AM, Alan C. Assis wrote: Probably because we didn't update the documentation yet! :-) We're

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Alan C. Assis
Probably because we didn't update the documentation yet! :-) We're developers, we don't care about documentation... documentation is for wimps! Of course we need to improve our documentation! This is why all new PR introducing some new feature I insist to people include documentation. Please c

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Mike Moretti
Wait, so, the NuttX docs say to just download the bootloader/partitions from some link.  If we have to make the bootloader ourselves why isn't that part of the NuttX official documentation? -m On 9/1/2023 9:13 AM, Alan C. Assis wrote: Hi Mike, Please sure you are using the right bootloader t

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Alan C. Assis
Hi Mike, Please sure you are using the right bootloader too: https://acassis.wordpress.com/2022/09/27/flashing-nuttx-bootloader-and-firmware-using-make-command/ BR, Alan On 9/1/23, Mike Moretti wrote: > Hi, > > So, just to be sure, I made a completely fresh directory, untarred the > 12.2.1 ta

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Mike Moretti
Hi, So, just to be sure, I made a completely fresh directory, untarred the 12.2.1 tarballs into it, did ./tools/configure.sh esp32-devkitc:blewifi, changed only DEBUG_ASSERTIONS and DEBUG_ASSERTIONS_EXPRESSION and then flashed.  It boots to nsh but then doesn't accept any input; it's hung.  I

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-09-01 Thread Tiago Medicci Serrano
Hi Mike, We have been using NuttX on ESP32 for a while. The `esp32-devkitc:blewifi` is run by our internal pipeline (which sets the `DEBUG_ASSERTIONS` and `DEBUG_ASSERTIONS_EXPRESSION`, btw) and we had no problems running it. Again: please use the `esp32-devkitc:nxdiag` configuration and run the

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-08-31 Thread Mike Moretti
It appears that when using the blewifi configuration out of the box, and just turning on DEBUG_ASSERTIONS and DEBUG_ASSERTIONS_EXPRESSION, and setting wifi ssid/pw causes the esp32 to hang.  This is as far as I've gotten so far.  I'm still tweaking other configs to see if they cause hanging as

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-08-31 Thread Tiago Medicci Serrano
Hi! Good to know that! Yes, there are packages that need to be selected to make it work. The `esp32-devkitc:blewifi` is a good starting point. Please note that BLE's log is enabled with the other wireless logs through the menuconfig in "*Build Setup → Debug Options*". I hope this helps debugging.

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-08-30 Thread Mike Moretti
Hi, Thanks.  It wasn't until I untarred a whole new copy of nuttx+apps and ran tools/configure.sh with blewifi that I was able to get that configuration to work.  In my old tree, make distclean apparently didn't clean something, or my old tree was corrupt somehow. However, I still cannot get

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-08-30 Thread Tiago Medicci Serrano
Hi Mike, I found no trouble using the esp32-devkitc:blewifi configuration. May I ask you to double-check your bootloader/partition-table configuration? (you can refer to https://nuttx.apache.org/docs/latest/platforms/xtensa/esp32/index.html#bootloader-and-partitions ). If not successful yet, plea

Re: Adding bluetooth configuration on esp32 hangs nsh

2023-08-29 Thread Tiago Medicci Serrano
Hi, I'll take a look at it soon. Interestingly, our internal CI tests all the defconfigs, so I wouldn't expect any erroneous behavior. I'll check. Best regards, Em ter., 29 de ago. de 2023 às 16:38, Mike Moretti escreveu: > Hi, > > I'm using NuttX 12.2.1 on an esp32 wroom devkit. > > If I try