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

README.rst - github.com/thirdpin/libopencm3_cpp_extensions.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5f24f8e395d5ac582eb69fdcb7f70b8719eeae4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
.. 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 systick 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.

    - ``CM3CPP_CUSTOM_INTERRUPT_SERVICE`` — disable IInterruptable
      and leave all opencm3 interrupt functions undeclared.