v01d commented on pull request #2838:
URL: https://github.com/apache/incubator-nuttx/pull/2838#issuecomment-778341308


   I used the download target as:
   ```
   make download ESPTOOL_PORT=/dev/ttyUSB0 ESPTOOL_BINDIR=.
   ```
   
   Also, I used the following toolchain: `riscv64-unknown-elf-gcc (SiFive GCC 
8.3.0-2020.04.1) 8.3.0` 
   If I use the official toolchain from espressif, I get this:
   ```
   ./esp32c3_bringup.c:40:10: fatal error: sys/errno.h: No such file or 
directory
      40 | #include <sys/errno.h>
         |          ^~~~~~~~~~~~~
   compilation terminated.
   ERROR: riscv64-unknown-elf-gcc failed: 1
          command: riscv64-unknown-elf-gcc -M '-fno-builtin' 
'-ffunction-sections' '-fdata-sections' '-fstrict-volatile-bitfields' 
'-msmall-data-limit=0' '-Wall' '-Wstrict-prototypes' '-Wshadow' '-Wundef' '-Os' 
'-fno-strict-aliasing' '-fno-strength-reduce' '-fomit-frame-pointer' 
'-march=rv32imc' '-mabi=ilp32' '-mdiv' '-isystem' 
'/home/v01d/coding/nuttx_doc/nuttx/include' '-D__NuttX__' '-D__KERNEL__' 
'-pipe' '-I' '/home/v01d/coding/nuttx_doc/nuttx/sched' '-I' 
'/home/v01d/coding/nuttx_doc/nuttx/arch/risc-v/src/chip' '-I' 
'/home/v01d/coding/nuttx_doc/nuttx/arch/risc-v/src/common' '-I' 
'/home/v01d/coding/nuttx_doc/nuttx/arch/risc-v/src/rv32im' ./esp32c3_bringup.c
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to