Skip to content

Commit

Permalink
pkg/driver_sen5x: Changed Configs and Makefiles to make up for the ne…
Browse files Browse the repository at this point in the history
…w pakage structure
  • Loading branch information
Daniel Prigoshij committed Apr 8, 2024
1 parent 29a4130 commit d504dd7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 14 deletions.
9 changes: 1 addition & 8 deletions pkg/driver_sen5x/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,8 @@ config PACKAGE_DRIVER_SEN5X
bool
depends on TEST_KCONFIG
depends on MODULE_SEN5X
select MODULE_DRIVER_SEN5X_CONTRIB
select MODULE_PERIPH_I2C
select MODULE_XTIMER
help
SEN5X embedded i2c library, written and mantained by Sensirion AG. This add_library
is needed by the RIOT SEN5X driver.

config MODULE_DRIVER_SEN5X_CONTRIB
bool
depends on TEST_KCONFIG
help
Integration of the sen5x package into RIOT.
is needed by the RIOT SEN5X driver.
2 changes: 1 addition & 1 deletion pkg/driver_sen5x/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PKG_NAME=driver_sen5x
PKG_URL=https://github.com/Sensirion/embedded-i2c-sen5x
PKG_VERSION=d3a54b1ffacacab1cacb1b373c1c9ea00de3b4eb
PKG_VERSION=448a80ec490858f9fdec559fc95c3df52f0400c0
PKG_LICENSE=BSD-3-Clause

include $(RIOTBASE)/pkg/pkg.mk
Expand Down
1 change: 0 additions & 1 deletion pkg/driver_sen5x/Makefile.dep
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
USEMODULE += driver_sen5x_contrib
USEMODULE += periph_i2c
USEMODULE += xtimer
5 changes: 1 addition & 4 deletions pkg/driver_sen5x/Makefile.include
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
INCLUDES += -I$(PKGDIRBASE)/driver_sen5x
INCLUDES += -I$(RIOTPKG)/driver_sen5x/include

DIRS += $(RIOTPKG)/driver_sen5x/contrib
INCLUDES += -I$(PKGDIRBASE)/driver_sen5x

0 comments on commit d504dd7

Please sign in to comment.