I think there was an option to specify custom drivers relative to board level. This should remain third party as long as you go with "CONFIG_ARCH_BOARD_CUSTOM"
BOARD_DRIVERS_DIR ?= $(wildcard $(BOARD_DIR)$(DELIM)..$(DELIM)drivers) Personally I never used it that way, but do not see anything that should stop from using it. Best regards, Petro чт, 12 жовт. 2023 р. о 10:26 <cheshmedzh...@gmail.com> пише: > Hi all, > > > > I wrote a device driver for a i2c device. > > There is a software from third party which at this moment cannot be made > part of nuttx. > > I can edit makefiles to include code, but I think this not a right way to > do > that. > > What is the way to add code to the driver to make it easier to switch from > one version of nuttx to another? > > > > Best regards > >