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 <sebast...@lorquet.fr> wrote: > 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 3/17/23, Sebastien Lorquet <sebast...@lorquet.fr> wrote: >>> 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 required two toolchains, a riscv32 one for esp-idf and a >>> riscv64 for nuttx. >>> >>> Best regards, >>> >>> Sebastien >>> >>> >>> Le 17/03/2023 à 13:45, Alan C. Assis a écrit : >>>> 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 3/17/23, MIGUEL ALEXANDRE WISINTAINER <tcpipc...@hotmail.com> wrote: >>>>> 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 <acas...@gmail.com> >>>>> Enviado: sexta-feira, 17 de março de 2023 11:52 >>>>> Para: dev@nuttx.apache.org <dev@nuttx.apache.org> >>>>> Assunto: Re: undefined reference to 'inet_ntoa_r' >>>>> >>>>> s/Then example/Then enable/ >>>>> >>>>> On 3/17/23, Alan C. Assis <acas...@gmail.com> 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 profile). >>>>>> >>>>>> Try this sequence: >>>>>> make distclean >>>>>> ./tools/configure.sh esp32-devkitc:wapi >>>>>> >>>>>> Then example the webserver example. >>>>>> >>>>>> BR, >>>>>> >>>>>> Alan >>>>>> >>>>>> On 3/17/23, Gustavo Soares <gustavo.felipesoa...@hotmail.com> wrote: >>>>>>> Hi, Petro! >>>>>>> >>>>>>> I'm using the latest version of NuttX. >>>>>>> >>>>>>> Em sex., 17 de mar. de 2023 01:56, Petro Karashchenko < >>>>>>> petro.karashche...@gmail.com> escreveu: >>>>>>> >>>>>>>> I just tried next steps: >>>>>>>> >>>>>>>> 1. tools/configure.sh esp32-devkitc:nsh >>>>>>>> 2. Additionally enabled via menuconfig: >>>>>>>> CONFIG_ESP32_EMAC=y >>>>>>>> CONFIG_ESP32_WIFI=y >>>>>>>> CONFIG_EXAMPLES_WEBSERVER=y >>>>>>>> CONFIG_NETUTILS_WEBSERVER=y >>>>>>>> CONFIG_NET_SOCKOPTS=y >>>>>>>> CONFIG_NET_TCP=y >>>>>>>> CONFIG_SCHED_HPWORK=y >>>>>>>> CONFIG_SCHED_LPWORK=y >>>>>>>> CONFIG_TLS_TASK_NELEM=1 >>>>>>>> 3. make -j8 >>>>>>>> >>>>>>>> The project compiles with errors. >>>>>>>> I tried that on the latest master branch. Are you using some stable >>>>>>>> release or the reported issue is on master? >>>>>>>> >>>>>>>> Best regards, >>>>>>>> Petro >>>>>>>> >>>>>>>> пт, 17 бер. 2023 р. о 05:32 Gustavo Soares < >>>>>>>> gustavo.felipesoa...@hotmail.com> пише: >>>>>>>> >>>>>>>>> I'm trying to compile the webserver example first. When I created >>>>>>>>> the >>>>>>>>> config file, the chosen configuration for esp32 was >>>>>>>>> 'esp32-devkitc:nsh'. >>>>>>>>> >>>>>>>>> Em sex., 17 de mar. de 2023 às 01:14, Petro Karashchenko < >>>>>>>>> petro.karashche...@gmail.com> escreveu: >>>>>>>>> >>>>>>>>>> Hello Gustavo, >>>>>>>>>> >>>>>>>>>> Are you trying to compile an example or your custom application? >>>>>>>>>> If you are getting started with an example, so maybe you make >>>>>>>>>> "make >>>>>>>>>> savedefconfig" and send it to me, so I can try locally? >>>>>>>>>> >>>>>>>>>> Best regards, >>>>>>>>>> Petro >>>>>>>>>> >>>>>>>>>> On Fri, Mar 17, 2023, 5:08 AM Gustavo Soares < >>>>>>>>>> gustavo.felipesoa...@hotmail.com> wrote: >>>>>>>>>> >>>>>>>>>>> Hello, Petro! >>>>>>>>>>> >>>>>>>>>>> inside menuconfig IPv4 is enabled: >>>>>>>>>>> [image: image.png] >>>>>>>>>>> >>>>>>>>>>> It's also possible to see the option in the .config file: >>>>>>>>>>> [image: image.png] >>>>>>>>>>> >>>>>>>>>>> Thank you for your support, >>>>>>>>>>> Gustavo. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Em qui., 16 de mar. de 2023 22:56, Petro Karashchenko < >>>>>>>>>>> petro.karashche...@gmail.com> escreveu: >>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> I see that both "inet_ntoa" and "inet_ntoa_r" implementations >>>>>>>>>>>> are >>>>>>>>>>>> guarded by "CONFIG_NET_IPv4" and "CONFIG_LIBC_IPv4_ADDRCONV". >>>>>>>>>>>> Could >>>>>>>>>>>> you >>>>>>>>>>>> take a look if your configuration has at least one of those >>>>>>>>>>>> options >>>>>>>>>>>> enabled? >>>>>>>>>>>> >>>>>>>>>>>> Best regards, >>>>>>>>>>>> Petro >>>>>>>>>>>> >>>>>>>>>>>> пт, 17 бер. 2023 р. о 01:57 Gustavo Soares < >>>>>>>>>>>> gustavo.fssoare...@gmail.com> пише: >>>>>>>>>>>> >>>>>>>>>>>>> Hi! >>>>>>>>>>>>> >>>>>>>>>>>>> I'm starting a new project at college using NuttX and ESP-32. >>>>>>>>>>>>> I'm >>>>>>>>>>>>> trying to build a new application for NuttX: a webserver to >>>>>>>>>>>>> read >>>>>>>>>>>>> and >>>>>>>>>>>>> execute Assembly! But the following error is showing >>>>>>>>>>>>> up:[image: >>>>>>>>>>>>> error description] >>>>>>>>>>>>> [image: netprocfs_inet4addresses function (netdev_statistics.c >>>>>>>>>>>>> file)] >>>>>>>>>>>>> >>>>>>>>>>>>> In menuconfig I enabled: >>>>>>>>>>>>> Network support >>>>>>>>>>>>> ├── Link layer support >>>>>>>>>>>>> ├── Ethernet support >>>>>>>>>>>>> ├── Late driver initialization >>>>>>>>>>>>> ├── TCP/IP Networking >>>>>>>>>>>>> >>>>>>>>>>>>> Application Configuration >>>>>>>>>>>>> ├── Network utilities >>>>>>>>>>>>> ├── Network initialization >>>>>>>>>>>>> ├── Network initialization thread >>>>>>>>>>>>> ├── Hardware has no MAC Address >>>>>>>>>>>>> >>>>>>>>>>>>> Could someone help me with this? >>>>>>>>>>>>> And also, I've been searching for articles about building >>>>>>>>>>>>> applications for NuttX, but didn't find any. Does anyone know >>>>>>>>>>>>> where >>>>>>>>>>>>> I >>>>>>>>>>>>> can >>>>>>>>>>>>> find them? >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >