Hardware abstraction layer(HAL) for PreGuardAI embedded devices.
The goal of this project is to provide a platform and build system for PreGuardAI embedded devices. By using this interface, developers can focus on the core logic of their applications, without getting lost in the hardware and software differences between various embedded target platforms.
This project is most useful when integrated into a larger project. It is designed to work with CMake, exposing functions and configuration parameters that can be accessed from the parent project.
This project has the following build requirements:
- CMake
- Python
- GCC
- ESP-IDF
To integrate Guardware, use FetchContent:
include(FetchContent)
FetchContent_Declare(
guardware
GIT_REPOSITORY https://github.com/PreGuardAI/guardware
GIT_TAG master
)
FetchContent_MakeAvailable(guardware)This step must be done BEFORE the project(MyProjectName) directive,
or the toolchain cannot be configured. The next step is to declare a
project.
project(MyProjectName)
guardware_project(
SRC my/src/directory
INCLUDE_DIRS my/first/include my/second/include)