diff options
author | Lisin Dmitriy <d.lisin@thirdpin.ru> | 2019-06-07 13:02:24 +0300 |
---|---|---|
committer | Lisin Dmitriy <d.lisin@thirdpin.ru> | 2019-06-07 13:02:24 +0300 |
commit | 794481b091f077abe9b71b459bf4152602a32f1e (patch) | |
tree | 743d8694d21f916e72d6d1fe9709ad3223f20e16 | |
parent | 806b2621f7163bd104a925173bcc3c446b32d3b6 (diff) |
FEAT: [doc] Add README
-rw-r--r-- | README.rst | 33 |
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. |