dmeth DMOD library module.
TODO: describe what this module does.
mkdir -p build
cd build
cmake ..
cmake --build .Pass -DDMOD_DIR=/path/to/local/dmod to build against a local dmod checkout
instead of fetching develop from GitHub.
make DMOD_MODE=DMOD_MODULE DMOD_DIR=/path/to/dmodThis library module provides functions that can be used by other modules:
#include "dmeth.h"See the docs/ directory:
- api-reference.md - Complete API documentation
View documentation using dmf-man dmeth.
This module ships two DMOD modules: the architecture-independent
dmeth and dmeth_port, which contains the
architecture-specific implementation. The active architecture is selected via
DMOD_CPU_FAMILY (default: stm32f7):
cmake .. -DDMOD_CPU_FAMILY=stm32f7See docs/port-implementation.md for how to add another architecture. Port-specific files:
├── include/dmeth_port.h
├── src/port/
│ ├── CMakeLists.txt
│ └── stm32f7/
│ ├── config.cmake
│ └── port.c
└── dmeth_port.dmr
dmeth/
├── docs/ # Documentation (markdown format)
├── include/ # Public headers
│ └── dmeth.h
├── src/
│ └── dmeth.c
├── tests/
│ ├── CMakeLists.txt
│ └── dmeth_test.c
├── CMakeLists.txt
├── Makefile
├── dmeth.dmr
└── manifest.dmm
Patryk Kubiak
MIT