User Tools

Site Tools


embitz_cmsis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
embitz_cmsis [2018/09/18 17:28]
supergnu [Step by Step process]
embitz_cmsis [2018/09/18 17:40]
supergnu [Step by Step process]
Line 14: Line 14:
 </WRAP> </WRAP>
  
-1 - First, unzip the library somewhere on you system, let's say it's in C:\\CMSIS\PATH\CMSIS_X-X.X.X +1 - First, unzip the library somewhere on you system, let's say it's in C:\CMSIS\PATH\CMSIS_X-X.X.X \\ 
-2 - Open the project build options window in you Embitz project +2 - Open the project build options window in you Embitz project \\ 
-3 - In the "compiler settings" tab, in "C-Flags" sub-tab, add "-lm" in others (not sure it is really needed) +3 - In the "compiler settings" tab, in "C-Flags" sub-tab, add "-lm" in others (not sure it is really needed) \\ 
-4 - In the "Linker settings" tab, in "Linker flags" sub-tab, add "-lm" in others (not sure it is really needed) +4 - In the "Linker settings" tab, in "Linker flags" sub-tab, add "-lm" in others (not sure it is really needed) \\ 
-5 - In the "Linker settings" tab, in "Librairies" sub-tab, click on add and add "arm_cortexM4lf_math", click a second time on add to add "m" +5 - In the "Linker settings" tab, in "Librairies" sub-tab, click on add and add "arm_cortexM4lf_math", click a second time on add to add "m" \\ 
-6 - +6 - In the search directories tab, in the includes sub-tab, add C:\CMSIS\PATH\CMSIS_X-X.X.X\Device\ARM\ARMCM4\Include and add C:\CMSIS\PATH\CMSIS_X-X.X.X\CMSIS\DSP\Include \\ 
 +7 - In the search directories tab, in the Linker sub-tab, add C:\CMSIS\PATH\CMSIS_X-X.X.X\CMSIS\Lib\GCC \\ 
 +8 - In your project, you can now add the following includes : \\ 
 +<code c> 
 +#include "ARMCM4_FP.h" 
 +#include "arm_math.h" 
 +#include "arm_const_structs.h" 
 +#include "arm_common_tables.h" 
 +</code>
  
embitz_cmsis.txt · Last modified: 2018/09/18 17:40 by supergnu