Re: adding third party code to device driver

2023-10-12 Thread Petro Karashchenko
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

adding third party code to device driver

2023-10-12 Thread cheshmedzhiev
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 f