Skip to content

Building with ESP-IDF #5

@tbzcode

Description

@tbzcode

Hi
Thanks for the DW3000 driver and library.
I need to use it for ESP32 for dual side two way ranging.
I am trying to build libdeca along with dw3000-decadriver-source in ESP-IDF
This is my project root CMakeList.txt

cmake_minimum_required(VERSION 3.16)
set(EXTRA_COMPONENT_DIRS
    components/dw3000-decadriver-source/platform/esp-idf
    components/libdeca
)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(twr_ini)

I can see "Decadriver" in menucofig and added SPI pins etc.
But on build, I a, getting error

main/twr_ini.c:7:10: fatal error: dwhw.h: No such file or directory
    7 | #include "dwhw.h"

Is it a library issue or am I doing something wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions