"drivers" folder still support, but it's optional now to avoid the empty folder
spread under "boards" directory.
Here is the patch for your reference:
commit 8b20b97d26e78c47d4c083a4c99490fb87c588d7
Author: Xiang Xiao <[email protected]>
Date: Sat May 23 02:22:49 2020 +0800
build: Remove the dummy drivers folder under boards
Signed-off-by: Xiang Xiao <[email protected]>
> -----Original Message-----
> From: Fotis Panagiotopoulos <[email protected]>
> Sent: Tuesday, August 11, 2020 10:03 PM
> To: [email protected]
> Subject: Board-specific drivers in NuttX 9.1.0.
>
> Hello,
>
> I am working on a custom board that I have defined out of tree with
> CONFIG_ARCH_BOARD_CUSTOM.
>
> I started development with NuttX v9.0.0, and as I saw there was a requirement
> for a directory named "drivers" inside my custom
> board, but I left this dir empty with a dummy Kconfig file.
>
> Later on I updated to NuttX v9.1.0. And then I needed to also add some custom
> board specific drivers. But I realized that the
> $(BOARD_DIR)/drivers directory is no longer used.
>
> There is no information on this in release notes. Furthermore the link
> nuttx/drivers/platform always points to nuttx/drivers/dummy.
>
> In NuttX 9.1.0, how can I add my own board-specific drivers? What is the
> correct structure to have nuttx/drivers/platform to point to
> my drivers directory?