You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _sources/intermediate_tutorial/arm_math.rst.txt
+3-30Lines changed: 3 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ In STM32 project, ``arm_math`` header and source files are inside ``Drivers > C
17
17
2. Linking Arm Math Library for ARM Cortex-M3
18
18
---------------------------------------------
19
19
20
-
You can link the library by adding the GCC library path ``Drivers/CMSIS/Lib/GCC`` and the linker flag ``libarm_cortexM3l_math.a`` in the Makefile or CMakeList.txt.
20
+
You can link the library by adding the GCC library path ``Drivers/CMSIS/Lib/GCC`` and the linker flag ``libarm_cortexM3l_math`` in the Makefile or CMakeList.txt.
21
21
22
22
.. tabs::
23
23
@@ -26,8 +26,8 @@ You can link the library by adding the GCC library path ``Drivers/CMSIS/Lib/GCC`
26
26
.. code-block:: none
27
27
28
28
# libraries
29
-
LIBS = -lc -lm -lnosys -larm_cortexM3l_math.a
30
-
LIBDIR = -LDrivers/CMSIS/Lib/GCC/
29
+
LIBS = -lc -lm -lnosys -larm_cortexM3l_math
30
+
LIBDIR = -LDrivers/CMSIS/Lib/GCC
31
31
32
32
.. group-tab:: CMakeLists.txt
33
33
@@ -86,33 +86,6 @@ To use the arm math library, you need to include the header file ``arm_math.h``
86
86
87
87
#include "arm_math.h"
88
88
89
-
Let's suppose you want to calculate **sine** and **cosine** of an angle. To do so, you need to add the respective sources in the **Makefile** or **CMakeLists.txt**.
0 commit comments