From 6b6f4c5ca77ae5405657cbcda143e3fb24f98f04 Mon Sep 17 00:00:00 2001 From: Liz Date: Wed, 1 Nov 2023 13:19:48 -0400 Subject: [PATCH 1/2] Adding VCNL4020 Adding VCNL4020 library to the bundle under drivers. --- .gitmodules | 6 ++++++ docs/drivers.rst | 1 + libraries/drivers/libraries/drivers/vcnl4020 | 1 + 3 files changed, 8 insertions(+) create mode 160000 libraries/drivers/libraries/drivers/vcnl4020 diff --git a/.gitmodules b/.gitmodules index 6775dba7..d3054c2b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -974,3 +974,9 @@ [submodule "libraries/drivers/cst8xx"] path = libraries/drivers/cst8xx url = https://github.com/adafruit/Adafruit_CircuitPython_CST8XX.git +[submodule "libraries/drivers/vcnl4020"] + path = libraries/drivers/vcnl4020 + url = https://github.com/adafruit/Adafruit_CircuitPython_VCNL4020.git +[submodule "libraries/drivers/libraries/drivers/vcnl4020"] + path = libraries/drivers/libraries/drivers/vcnl4020 + url = https://github.com/adafruit/Adafruit_CircuitPython_VCNL4020.git diff --git a/docs/drivers.rst b/docs/drivers.rst index d235f464..8f682a5b 100644 --- a/docs/drivers.rst +++ b/docs/drivers.rst @@ -437,6 +437,7 @@ These sensors detect light related attributes such as ``color``, ``light`` (unit TSL2561 Light Sensor TSL2591 High Dynamic Range Light Sensor VCNL4010 Proximity and Light + VCNL4020 Proximity and Light VCNL4040 Proximity and Light VEML6070 UV Index VEML6075 UV Index diff --git a/libraries/drivers/libraries/drivers/vcnl4020 b/libraries/drivers/libraries/drivers/vcnl4020 new file mode 160000 index 00000000..7bfb633a --- /dev/null +++ b/libraries/drivers/libraries/drivers/vcnl4020 @@ -0,0 +1 @@ +Subproject commit 7bfb633a3e621d25bfdbcf256243d87097c0b9d7 From 867c737cd974ea2526e93228988e5d94cc658cbb Mon Sep 17 00:00:00 2001 From: Liz Date: Wed, 1 Nov 2023 13:37:14 -0400 Subject: [PATCH 2/2] fix gitmodules --- .gitmodules | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index d3054c2b..f7c98ad4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -975,8 +975,5 @@ path = libraries/drivers/cst8xx url = https://github.com/adafruit/Adafruit_CircuitPython_CST8XX.git [submodule "libraries/drivers/vcnl4020"] - path = libraries/drivers/vcnl4020 - url = https://github.com/adafruit/Adafruit_CircuitPython_VCNL4020.git -[submodule "libraries/drivers/libraries/drivers/vcnl4020"] path = libraries/drivers/libraries/drivers/vcnl4020 url = https://github.com/adafruit/Adafruit_CircuitPython_VCNL4020.git