Commit 7e98589c authored by Wenxi Xu's avatar Wenxi Xu
Browse files

added driver for paw3395

parent 84da6ad5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
add_subdirectory_ifdef(CONFIG_PAW3395 paw3395)
 No newline at end of file

drivers/sensor/Kconfig

0 → 100644
+6 −0
Original line number Diff line number Diff line
# Copyright (c) 2024 ttwards <12411711@mail.sustech.edu.cn>
# SPDX-License-Identifier: Apache-2.0

menu "Device Drivers" 
rsource "paw3395/Kconfig"
endmenu
 No newline at end of file
+4 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: Apache-2.0

zephyr_library()
zephyr_library_sources_ifdef(CONFIG_PAW3395 paw3395.c)
 No newline at end of file
+21 −0
Original line number Diff line number Diff line
# PAW3395 optical mouse sensor configuration options

# Copyright (c) 2023, Your Name
# SPDX-License-Identifier: Apache-2.0

menuconfig PAW3395
    bool "PAW3395 optical mouse sensor"
    default y
    depends on DT_HAS_PIXART_PAW3395_ENABLED
    select SPI
    help
      Enable driver for PAW3395 optical mouse sensor.

if PAW3395

config PAW3395_TRIGGER
    bool "Trigger support"
    help
      Enable trigger support for PAW3395 sensor.

endif # PAW3395
 No newline at end of file
+608 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading