Fleshing out some more parts
This commit is contained in:
3
components/pms5003/CMakeLists.txt
Normal file
3
components/pms5003/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
idf_component_register(SRCS "pms5003.c"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES driver)
|
||||
15
components/pms5003/Kconfig.projbuild
Normal file
15
components/pms5003/Kconfig.projbuild
Normal file
@@ -0,0 +1,15 @@
|
||||
menu "PMS5003"
|
||||
config PMS5003_ENABLED
|
||||
bool "PMS5003 Enabled"
|
||||
default y
|
||||
|
||||
config PMS5003_UART
|
||||
int "PMS5003 UART Port"
|
||||
default 1
|
||||
depends on PMS5003_ENABLED
|
||||
|
||||
config PMS5003_PERIOD_POLL
|
||||
int "Period to poll the PMS5003 in ms"
|
||||
default 8000
|
||||
depends on PMS5003_ENABLED
|
||||
endmenu
|
||||
0
components/pms5003/pms5003.c
Normal file
0
components/pms5003/pms5003.c
Normal file
0
components/pms5003/pms5003.h
Normal file
0
components/pms5003/pms5003.h
Normal file
Reference in New Issue
Block a user