You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "tcpaiva (via GitHub)" <gi...@apache.org> on 2023/07/24 01:01:12 UTC

[GitHub] [nuttx] tcpaiva commented on issue #9876: Configuration still points to the older board used as template

tcpaiva commented on issue #9876:
URL: https://github.com/apache/nuttx/issues/9876#issuecomment-1647043652

   Hi, @acassis! Good to hear from you as well! You are very active here as always. Thanks for the prompt feedback. :grin: 
   
   I tried what you mentioned and when I run `./tools/configure.sh -l <myboard>:nsh`, I get:
   
   ```
   $ ./tools/configure.sh -l <myboard>:nsh
   Sun Jul 23 08:51:27 PM EDT 2023
     Copy files
     Select CONFIG_HOST_LINUX=y
     Refreshing...
   CP: arch/dummy/Kconfig to /path/to/nuttx/arch/dummy/dummy_kconfig
   CP: boards/dummy/Kconfig to /path/to/nuttx/boards/dummy/dummy_kconfig
   LN: platform/board to /path/to/apps/platform/dummy
   LN: include/arch to arch/arm/include
   LN: include/arch/board to /path/to/nuttx/boards/arm/<mychip>/<myboard>/include
   LN: drivers/platform to /path/to/nuttx/drivers/dummy
   LN: include/arch/chip to /path/to/nuttx/arch/arm/include/<mychip>
   LN: arch/arm/src/chip to /path/to/nuttx/arch/arm/src/<mychip>
   LN: arch/arm/src/board to /path/to/nuttx/boards/arm/<mychip>/<myboard>/src
   (...)
   ```
   
   However, if I execute `make menuconfig` just after, I get:
   ```
   $ make menuconfig                     
   Sun Jul 23 08:54:29 PM EDT 2023
   CP: arch/dummy/Kconfig to /path/to/nuttx/arch/dummy/dummy_kconfig
   CP: boards/dummy/Kconfig to /path/to/nuttx//Kconfig
   LN: platform/board to /path/to/apps/platform/dummy
   LN: include/arch to arch/arm/include
   LN: include/arch/board to /path/to/nuttx//include
   LN: drivers/platform to /path/to/nuttx/drivers/dummy
   LN: include/arch/chip to /path/to/nuttx/arch/arm/include/stm32
   LN: arch/arm/src/chip to /path/to/nuttx/arch/arm/src/stm32
   LN: arch/arm/src/board to /path/to/nuttx//src
   No directory at /path/to/nuttx//src
   make[1]: *** [tools/Unix.mk:300: arch/arm/src/board] Error 1
   make: *** [tools/Unix.mk:674: menuconfig] Error 2
   ```
   I have no idea from where the `stm32` comes from. It seems there is something really strange with my setup. :sweat_smile: 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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