Re: ESP32-C3 RISC-V

2021-10-17 Thread Tomasz CEDRO
On Sun, Oct 17, 2021 at 12:30 PM Tomasz CEDRO wrote: > On Sun, Oct 17, 2021 at 1:06 AM Abdelatif Guettouche wrote: > > The CROSSDEV variable will just have the name of the toolchain. If we want > > to add another toolchain we add another ifeq in > > riscv/rv32im/Toolchains.defs. > > Thank you :-)

Re: ESP32-C3 RISC-V

2021-10-17 Thread Tomasz CEDRO
On Sun, Oct 17, 2021 at 1:06 AM Abdelatif Guettouche wrote: > There isn't really a big difference between IDF's toolchain and the one > from Sifive, this is why we didn't add both. > Are you having issues running the one from SiFive? I know SiFive, I am following them directly at RISC-V lists, I a

Re: ESP32-C3 RISC-V

2021-10-16 Thread Abdelatif Guettouche
There isn't really a big difference between IDF's toolchain and the one from Sifive, this is why we didn't add both. Are you having issues running the one from SiFive? The CROSSDEV variable will just have the name of the toolchain. If we want to add another toolchain we add another ifeq in riscv/r

Re: ESP32-C3 RISC-V

2021-10-16 Thread Tomasz CEDRO
On Sat, Oct 16, 2021 at 6:15 PM Tomasz CEDRO wrote: > > On Sat, Oct 16, 2021 at 6:11 PM Abdelatif Guettouche > wrote: > > > > > I could not find detailed information on how to setup RISC-V toolchain > > except just using "generic toolchain": > > https://nuttx.apache.org/docs/latest/platforms/risc-

FreeBSD/BSD: esp32-c3 / risc-v + compiler problem

2021-10-16 Thread Tomasz CEDRO
After fixing the kconfig and tools/configure problem now we need to fix the compiler / toolchain detection issue on esp32-c3 risc-v. (venv38zephyr) ./tools/configure.sh esp32c3-devkit:ble No configuration change. (venv38zephyr) gmake Create .version Create version.h gmake[1]: Entering directory

Re: ESP32-C3 RISC-V

2021-10-16 Thread Tomasz CEDRO
On Sat, Oct 16, 2021 at 6:11 PM Abdelatif Guettouche wrote: > > > I could not find detailed information on how to setup RISC-V toolchain > except just using "generic toolchain": > https://nuttx.apache.org/docs/latest/platforms/risc-v/esp32c3/index.html > > There is a link there to download the too

Re: ESP32-C3 RISC-V

2021-10-16 Thread Abdelatif Guettouche
> I could not find detailed information on how to setup RISC-V toolchain except just using "generic toolchain": https://nuttx.apache.org/docs/latest/platforms/risc-v/esp32c3/index.html There is a link there to download the toolchain used, here: https://static.dev.sifive.com/dev-tools/riscv64-unkno

Re: ESP32-C3 RISC-V

2021-10-16 Thread Tomasz CEDRO
Allright, except for the FreeBSD works, I would like to have a working reference point based on Linux Debian 10.10, so I have created a VM. I could not find detailed information on how to setup RISC-V toolchain except just using "generic toolchain": https://nuttx.apache.org/docs/latest/platforms/

Re: ESP32-C3 RISC-V

2021-10-08 Thread Tomasz CEDRO
On Fri, Oct 8, 2021 at 2:33 PM Abdelatif Guettouchewrote: > > When is next release planned with ESP32-C3 already included? > > NuttX 10.1.0 already includes support for ESP32-C3 with a fair amount > of drivers including Wifi. BLE is on master however, and will be part > of the next release. Thank

Re: ESP32-C3 RISC-V

2021-10-08 Thread Abdelatif Guettouche
> When is next release planned with ESP32-C3 already included? NuttX 10.1.0 already includes support for ESP32-C3 with a fair amount of drivers including Wifi. BLE is on master however, and will be part of the next release. On Fri, Oct 8, 2021 at 6:26 AM Tomasz CEDRO wrote: > > On Fri, Oct 8, 2

Re: ESP32-C3 RISC-V

2021-10-07 Thread Tomasz CEDRO
On Fri, Oct 8, 2021 at 5:33 AM Takashi Yamamoto wrote: > > I can see some "bashisms" in the shell scripts, did you consider using > > raw /bin/sh or is it too much work and `bash` is the best way already? > > I am asking because on Linux `/bin/sh` is `/bin/bash` while on BSD > > `/bin/sh` is /bin/s

Re: ESP32-C3 RISC-V

2021-10-07 Thread Takashi Yamamoto
> I can see some "bashisms" in the shell scripts, did you consider using > raw /bin/sh or is it too much work and `bash` is the best way already? > I am asking because on Linux `/bin/sh` is `/bin/bash` while on BSD > `/bin/sh` is /bin/sh` while `bash` is the optional package :-) i consider using b

Re: ESP32-C3 RISC-V

2021-10-07 Thread Tomasz CEDRO
Yet another crucial question for my application: has ESP32-C3 port of NuttX BLE NSH available? -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info

Re: ESP32-C3 RISC-V

2021-10-07 Thread Tomasz CEDRO
Sorry, I was looking at nuttx-10.0.1 branch, in master I can see some `esp32c3-devkit` stuff :-) Is ESP32-C3 production ready? When is next release planned with ESP32-C3 already included? I can see some "bashisms" in the shell scripts, did you consider using raw /bin/sh or is it too much work an

ESP32-C3 RISC-V

2021-10-07 Thread Tomasz CEDRO
Hello NuttX World :-) I have just started a project that I want to implement using ESP32-C3 MINI/WROOM module. I have the modules already, DevelKits are on the way. Alan convinced me to try NuttX in place of Zephyr, but the time is short and I need to deliver a working design until end of year. T