industry/scpi: fix compilation of SCPI library

Expose SCPI library API to application

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-03-26 12:58:33 +03:00 committed by Mateusz Szafoni
parent 35edbf02f5
commit 75b4720a6e

View File

@ -22,4 +22,9 @@ ifneq ($(CONFIG_SCPI_PARSER),)
CONFIGURED_APPS += $(APPDIR)/industry/scpi
# Allows `<scpi-parser/<>.h>` import.
CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/industry/scpi/scpi-parser/libscpi/inc
CXXFLAGS += ${INCDIR_PREFIX}$(APPDIR)/industry/scpi/scpi-parser/libscpi/inc
endif