> No directory at /home/micha/nuttxspace/nuttx//src It looks like you are trying to use a custom board but didn't set the options and the path correctly.
On Thu, Jun 16, 2022 at 8:43 AM <michael.sch...@mdc-service.de> wrote: > > Dear all, > > I am new to Nuttx, and I try to port Nuttx to our ESP32 board. I > followed this article > https://blog.espressif.com/getting-started-with-esp32-and-nuttx-fd3e1a3d182c > what worked worked out. So good so far. > > But then: after a few "make menuconfig" and "make download > ESPTOOL_PORT=/dev/ttyUSB0 ESPTOOL_BAUD=115200 > ESPTOOL_BINDIR=../esp-bins" cycles (maybe 3 or 5), the build structure > is broken. Here is the output: > > make menuconfig > make[1]: Entering directory '/home/micha/nuttxspace/nuttx' > make[2]: Entering directory '/home/micha/nuttxspace/nuttx/boards' > make[2]: Nothing to be done for 'clean_context'. > make[2]: Leaving directory '/home/micha/nuttxspace/nuttx/boards' > make[2]: Entering directory '/home/micha/nuttxspace/apps' > make[3]: Entering directory '/home/micha/nuttxspace/apps/platform' > make[3]: Leaving directory '/home/micha/nuttxspace/apps/platform' > make[3]: Entering directory '/home/micha/nuttxspace/apps/builtin' > make[3]: Leaving directory '/home/micha/nuttxspace/apps/builtin' > make[2]: Leaving directory '/home/micha/nuttxspace/apps' > make[2]: Entering directory '/home/micha/nuttxspace/nuttx/graphics' > make[3]: Entering directory > '/home/micha/nuttxspace/nuttx/graphics/nxglib' > make[3]: Leaving directory > '/home/micha/nuttxspace/nuttx/graphics/nxglib' > make[3]: Entering directory > '/home/micha/nuttxspace/nuttx/graphics/nxglib' > make[3]: Leaving directory > '/home/micha/nuttxspace/nuttx/graphics/nxglib' > make[3]: Entering directory > '/home/micha/nuttxspace/nuttx/graphics/nxglib' > make[3]: Leaving directory > '/home/micha/nuttxspace/nuttx/graphics/nxglib' > make[2]: Leaving directory '/home/micha/nuttxspace/nuttx/graphics' > make[1]: Leaving directory '/home/micha/nuttxspace/nuttx' > make[1]: Entering directory '/home/micha/nuttxspace/nuttx' > CP: arch/dummy/Kconfig to > /home/micha/nuttxspace/nuttx/arch/dummy/dummy_kconfig > CP: boards/dummy/Kconfig to /home/micha/nuttxspace/nuttx//Kconfig > make[2]: Entering directory '/home/micha/nuttxspace/apps' > make[3]: Entering directory '/home/micha/nuttxspace/apps/platform' > LN: platform/board to /home/micha/nuttxspace/apps/platform/dummy > make[3]: Leaving directory '/home/micha/nuttxspace/apps/platform' > make[2]: Leaving directory '/home/micha/nuttxspace/apps' > LN: include/arch to arch/xtensa/include > LN: include/arch/board to /home/micha/nuttxspace/nuttx//include > LN: drivers/platform to /home/micha/nuttxspace/nuttx/drivers/dummy > LN: include/arch/chip to > /home/micha/nuttxspace/nuttx/arch/xtensa/include/esp32 > /home/micha/nuttxspace/nuttx/tools/link.sh > /home/micha/nuttxspace/nuttx/arch/xtensa/include/esp32 include/arch/chip > LN: arch/xtensa/src/chip to > /home/micha/nuttxspace/nuttx/arch/xtensa/src/esp32 > LN: arch/xtensa/src/board to > /home/micha/nuttxspace/nuttx/boards/xtensa/esp32/common > LN: arch/xtensa/src/board/board to /home/micha/nuttxspace/nuttx//src > No directory at /home/micha/nuttxspace/nuttx//src > make[1]: *** [tools/Unix.mk:288: arch/xtensa/src/board/board] Error 1 > make[1]: Leaving directory '/home/micha/nuttxspace/nuttx' > make: *** [tools/Unix.mk:611: menuconfig] Error 2 > micha@iwan-ThinkPad-T440p:~/nuttxspace/nuttx$ > > My Computer run X86 Ubuntu 22.04, and I got the latest Nuttx via > git clone https://github.com/apache/incubator-nuttx.git nuttx > > Then I was in doubt, if the version of the kconfig-frontend could > trouble with Ubuntu 22. I installed it with sudo apt install > kconfig-frontends. So I removed it again, and compiled it from scratch > from git clone https://bitbucket.org/nuttx/tools.git tools. But the same > result. > > I am now able to reproduce the error: > 1. delete /nuttxspace/nuttx. > 2. git clone https://github.com/apache/incubator-nuttx.git nuttx > 3. ./tools/configure.sh esp32-ethernet-kit:ethernet > 4. make menuconfig, and modify something. I have attached the modified > .config, plus the config.old, what is the original .config before > modification. > 5. from here on, all make attempts fail(make clean, make menuconfig, > make distclean). > > Any idea how I can fix that?