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:
authorLisin Dmitriy <d.lisin@thirdpin.ru>2019-06-07 13:02:24 +0300
committerLisin Dmitriy <d.lisin@thirdpin.ru>2019-06-07 13:02:24 +0300
commit794481b091f077abe9b71b459bf4152602a32f1e (patch)
tree743d8694d21f916e72d6d1fe9709ad3223f20e16
parent806b2621f7163bd104a925173bcc3c446b32d3b6 (diff)
FEAT: [doc] Add README
-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.