By analogy
https://community.circuitdojo.com/d/541-seeking-a-zephyr-out-of-tree-sensor-example-that-works-with-nrf-sdk

I failed to see anything with 52840dk and the lvgl library from the out of the box example.
There was also a failure with the 3_5-TFT-buydisplay from the out of the box example.
Apparently due to a mismatch between the initialization of ili9488 and what I have ili9486.

Building the my application by example_template - error
“given in ZEPHYR_EXTRA_MODULES, is not a valid zephyr module”

Building the application from air-quality-wing-zephyr-drivers - exactly the same error.

The file structure and content my app is the same as in nrf9160-feather-examples-and-drivers-2.4.x or air-quality-wing-zephyr-drivers
The content is only changed to my names.

In other words CMakeLists.txt and Kconfig are almost identical.
The drivers\display\ *.c and *.h folder is the same in structure as
drivers\hpma115s0 in air-quality-wing-zephyr-drivers.

The module.yml file in the zephyr folder is identical.

But the project does not build with the error
“C:/zephyrproject/applications/LCDtest/drivers, given in ZEPHYR_EXTRA_MODULES, is not a valid zephyr module.”

I can build Zephyr examples by copying the folder to C:/zephyrproject/applications.

What could be the reason for the error?

The biggest thing is to make sure you have an entry in your west.yml for your out of tree driver and also have a /zephyr/module.yml in the base of your driver folder as well. Otherwise Zephyr won’t find your driver.

    jaredwolff
    This is from your file.

      projects:
        # Sensirion algoritm
        - name: embedded-sgp
          path: aqw/ext/embedded-sgp
          revision: 4f69c0d8e2f7192aeaf0d268211b1f54af50146b
          url: https://github.com/Sensirion/embedded-sgp.git
      self:
        # This repository should be cloned to 
        path: aqw

    self path:aqw

    Where is aqw located relative to the air-quality-wing-zephyr-drivers folders?
    and I don’t see a link to the drivers folder in air-quality-wing-zephyr-drivers.
    I have /zephyr/module.yml at the base of driver folder.
    I repeated everything except the folder paths. I changed them to my structure.

    Terms and Conditions | Privacy Policy