Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
s/Then example/Then enable/ On 3/17/23, Alan C. Assis wrote: > Hi Gustavo, > > Enabling all the network needed features on NuttX is very time > consuming, so this is a good idea to start with a working example. > > In this case nsh is not the recommended starting point, but wapi (wifi > board

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Sebastien Lorquet
Hi, Dont you need the full ESP-IDF to build the bootloader and stubs? If you have a simplified build method I am interested. Last time I checked esp32-c3, it worked perfectly, but the bootloader build was a bit cumbersome (fortunately it's only needed once, which is okay). IIRC it even

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
I just noticed it is documented only for ESP32S2: https://nuttx.apache.org/docs/latest/platforms/xtensa/esp32s2/index.html Should be extended to ESP32, ESP32C3, ESP32C6 and ESP32S3. BR, Alan On 3/17/23, Sebastien Lorquet wrote: > Oh great, I'll test that, thanks! > > Sebastien > > Le

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
You need to download the "xtensa-esp32-elf" No idea why they put xtensa-esp32-elf-gdb before the real toolchain. On 3/17/23, Alan C. Assis wrote: > Hi Miguel, > > Nice to hear it. > > BTW, you don't need to use esp-idf, it is overkill (you will waste too > much disc space). > > Just download

Questions about ble/wifi

2023-03-17 Thread Alexandru Motoi
Hello! I started working on a project for my university. The idea is to make a smart home proxy using NuttX and ESP32-devkitc. I tested the already available configs(wifi/ble/sta_softap/blewifi) to see if they work and they seem fine using the stable release V10.3.0. Using the latest version I

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
Hi Miguel, Nice to hear it. BTW, you don't need to use esp-idf, it is overkill (you will waste too much disc space). Just download the latest Xtensa ESP32 toolchain: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/tools/idf-tools.html#custom-installation BR, Alan On

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
Yes, it is not needed! After configuring your esp32c3 board file (also works for any esp32xx chip), just run: make bootloader make flash ESPTOOL_PORT=/dev/ttyUSB0 ESPTOOL_BINDIR=. BR, Alan On 3/17/23, Sebastien Lorquet wrote: > Hi, > > Dont you need the full ESP-IDF to build the bootloader

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
Hi Gustavo, Enabling all the network needed features on NuttX is very time consuming, so this is a good idea to start with a working example. In this case nsh is not the recommended starting point, but wapi (wifi board profile). Try this sequence: make distclean ./tools/configure.sh

RE: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread MIGUEL ALEXANDRE WISINTAINER
Alan Here is compiling, after use make distclean ./tools/configure.sh esp32-devkitc:wapi Gustavo, did you use the last update of esp-idf ? [cid:70bddf51-e6f1-4a78-867e-90ffdda495e5] De: Alan C. Assis Enviado: sexta-feira, 17 de março de 2023 11:52 Para:

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Sebastien Lorquet
Oh great, I'll test that, thanks! Sebastien Le 17/03/2023 à 15:13, Alan C. Assis a écrit : Yes, it is not needed! After configuring your esp32c3 board file (also works for any esp32xx chip), just run: make bootloader make flash ESPTOOL_PORT=/dev/ttyUSB0 ESPTOOL_BINDIR=. BR, Alan On

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Gustavo Soares
Hi, Alan! Thank you and Petro for the support, it's compiling now! I also connected the esp to the internet, but for some reason both 'nslookup' and 'ping' are failing and when I start the webserver it gets stuck in the 'starting webserver' message. Em sex., 17 de mar. de 2023 às 08:52, Alan C.

Re: [Breaking change] NRF52 NVMC and FLASH support should depends on BSD components

2023-03-17 Thread Alan C. Assis
On 3/17/23, Nathan Hartman wrote: > On Wed, Mar 15, 2023 at 6:16 AM raiden00pl wrote: >> >> NVMC support for NRF52 chips was ported from Nordic SDK which was >> released >> on the BSD license (old times), so these features should depend on >> CONFIG_ALLOW_BSD_COMPONENTS=y. Users must manually

Re: [Breaking change] NRF52 NVMC and FLASH support should depends on BSD components

2023-03-17 Thread Nathan Hartman
On Wed, Mar 15, 2023 at 6:16 AM raiden00pl wrote: > > NVMC support for NRF52 chips was ported from Nordic SDK which was released > on the BSD license (old times), so these features should depend on > CONFIG_ALLOW_BSD_COMPONENTS=y. Users must manually enable support for the > BSD components to

Re: Building NuttX on Chrome OS

2023-03-17 Thread Tomek CEDRO
CONGRATZ!! :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Petro Karashchenko
Hello Gustavo, By "connected esp to the internet" do you mean that your board has public IP (not in the local network) or accessible via NAT? Because if you just connect board to home WiFi router that provides Internet, this is not "connected esp to the internet". If that is the case, then

Building NuttX on Chrome OS

2023-03-17 Thread Gregory Nutt
I have been tinkering with Chrome OS recently just to keep myself informed.  If anyone cares, I have been able to build and run the NuttX simulator on Chrome OS.  Debian Linux is available on Chrome OS, so why is this a thing? - A ChromeBook is a highly memory constrained platform and it is

Re: [Breaking change] NRF52 NVMC and FLASH support should depends on BSD components

2023-03-17 Thread Nathan Hartman
On Fri, Mar 17, 2023 at 12:07 PM Alan C. Assis wrote: > On 3/17/23, Nathan Hartman wrote: > > On Wed, Mar 15, 2023 at 6:16 AM raiden00pl wrote: > >> > >> NVMC support for NRF52 chips was ported from Nordic SDK which was > >> released > >> on the BSD license (old times), so these features

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Alan C. Assis
Please run: ifconfig Did you connect correctly to your WiFi router? BR, Alan On 3/17/23, Gustavo Soares wrote: > I've defined the default gateway and the router IP in the menuconfig like > this: > > Library Routines > ├── NETDB Support > ├── DNS Name Resolution > ├──

RE: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread MIGUEL ALEXANDRE WISINTAINER
I got success Waiting for my student get too talking with him now [cid:d2a6da37-e56f-4ff1-b819-55b2248fb1c0] [cid:9f579613-079c-43ac-bccb-b9892d9da13c] De: Alan C. Assis Enviado: sexta-feira, 17 de março de 2023 18:36 Para: dev@nuttx.apache.org Assunto: Re:

Re: undefined reference to 'inet_ntoa_r'

2023-03-17 Thread Gustavo Soares
I've defined the default gateway and the router IP in the menuconfig like this: Library Routines ├── NETDB Support ├── DNS Name Resolution ├── Target IPv4 address (default gateway) Application Configuration ├── Network Utilities ├── Network Initialization

Re: [Breaking change] NRF52 NVMC and FLASH support should depends on BSD components

2023-03-17 Thread Gregory Nutt
On 3/17/2023 7:08 PM, Bill Rees wrote:   Does the BSD license,and maybe others too, allow re-licensing?   Certainly one way to solve this if true is to simply change the license. I think that the answer is YES, but NO.  Let's talk about the YES first.  People do apply a new license to BSD

Re: [Breaking change] NRF52 NVMC and FLASH support should depends on BSD components

2023-03-17 Thread Bill Rees
  Does the BSD license,and maybe others too, allow re-licensing?   Certainly one way to solve this if true is to simply change the license. On 3/17/2023 10:05 AM, Nathan Hartman wrote: On Fri, Mar 17, 2023 at 12:07 PM Alan C. Assis wrote: On 3/17/23, Nathan Hartman wrote: On Wed, Mar

ESP32 TWAI / CAN on NuttX

2023-03-17 Thread Tomek CEDRO
Hello world :-) What is the current support of CAN / ESP32's TWAI on NuttX? What hardware interface bus modules would you recommend? I would like to use this bus for bidirectional remote control unit with some buttons and display on ~5m cable :-) Any hints welcome :-) Tomek -- CeDeROM,