Thank you! I was trying to run it like this:

./tools/configure.sh -l ../CustomBoards/board-name:config-name

Perhaps this needs to be added to the configure.sh help text?

>-----Original Message-----
>From: Abdelatif Guettouche <abdelatif.guettou...@gmail.com>
>Sent: 15 September 2022 11:59
>To: dev@nuttx.apache.org
>Subject: Re: build board from custom directory
>
>There is an option for relative links. The you can pass the path to 
>configure.sh
>Like configure.sh ../boards/custom-board/config/nsh
>
>On Thu, Sep 15, 2022 at 12:25 PM TimH <t...@jti.uk.com.invalid> wrote:
>
>> A few weeks ago I moved my custom board out of the NuttX
>> "nuttx/nuttx/boards" tree to a folder "nuttx/CustomBoards".
>>
>>
>>
>> Make menuconfig allows you to specify that folder
>> (CONFIG_ARCH_BOARD_CUSTOM_DIR=)
>>
>>
>>
>> To try and rule out .config errors for some issues I have at the
>> moment I did a make distclean. Which wipes out the .config and the
>> reference to my custom board directory.
>>
>>
>>
>> What is the correct syntax to tell configure.sh that the board is in a
>> custom folder, please?
>>
>>

Reply via email to