Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3_cpp_extensions.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.rst33
1 files changed, 33 insertions, 0 deletions
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..4b40503
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,33 @@
+.. role:: cpp(code)
+ :language: cpp
+
+==============
+cm3cpp library
+==============
+
+-----------------------------------
+C++ extensions over OpenCM3 library
+-----------------------------------
+
+CMake target
+============
+
+CMake target name for this library is cm3cpp. Target
+is a interface library. Just use ``add_subdirectory`` to
+add library to your build.
+
+Required dependency of this library is opencm3 library.
+Be sure you link it to your target that uses cm3cpp.
+
+Library supports only F2 and F4 microcontrollers.
+
+Library defines:
+================
+
+ - ``CM3CPP_CUSTOM_SYSTICK`` — disable library sysick realization
+ (enabled by default). If define enabled you could not use
+ :cpp:`systick::Counter` class;
+
+ - ``CM3CPP_ENABLE_IMPLISIT_DESTRUCTOR_CALLS`` — do not call
+ ``assert(false)`` if dangerous destructor of library class is
+ called.