From 96d6da4e252b06dcfdc041e7df23e86161c33007 Mon Sep 17 00:00:00 2001 From: rihab kouki Date: Tue, 28 Jul 2020 11:24:49 +0100 Subject: Official ARM version: v5.6.0 --- DSP/Projects/IAR/arm_cortexM_math.ewp | 821 +++++++++++++++++++--------- DSP/Projects/IAR/arm_cortexM_math_Build.bat | 106 ++++ 2 files changed, 677 insertions(+), 250 deletions(-) create mode 100644 DSP/Projects/IAR/arm_cortexM_math_Build.bat (limited to 'DSP/Projects/IAR') diff --git a/DSP/Projects/IAR/arm_cortexM_math.ewp b/DSP/Projects/IAR/arm_cortexM_math.ewp index b02ac80..7486e94 100644 --- a/DSP/Projects/IAR/arm_cortexM_math.ewp +++ b/DSP/Projects/IAR/arm_cortexM_math.ewp @@ -11,7 +11,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -518,8 +527,7 @@ @@ -1034,7 +1050,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -1542,8 +1567,7 @@ @@ -2058,7 +2090,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -2565,8 +2606,7 @@ @@ -3081,7 +3129,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -3589,8 +3646,7 @@ @@ -4105,7 +4169,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -4612,8 +4685,7 @@ @@ -5128,7 +5208,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -5636,8 +5725,7 @@ @@ -6152,7 +6248,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -6660,8 +6764,7 @@ @@ -7176,7 +7287,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -7685,8 +7804,7 @@ @@ -8201,7 +8327,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -8708,8 +8843,7 @@ @@ -9224,7 +9366,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -9732,8 +9883,7 @@ @@ -10248,7 +10406,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -10756,8 +10922,7 @@ @@ -11272,7 +11445,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -11781,8 +11962,7 @@ @@ -12297,7 +12485,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -12805,8 +13001,7 @@ @@ -13321,7 +13524,7 @@ General 3 - 30 + 31 1 1 + ICCARM 2 - 34 + 35 1 1 + @@ -13830,8 +14041,7 @@ @@ -14346,7 +14564,7 @@ General 3 - 30 + 31 1 1 + @@ -14545,15 +14768,14 @@ ICCARM 2 - 34 + 35 1 1 + @@ -14854,7 +15080,7 @@ @@ -15369,7 +15603,7 @@ General 3 - 30 + 31 1 1 + @@ -15568,15 +15807,14 @@ ICCARM 2 - 34 + 35 1 1 + @@ -15877,7 +16119,7 @@ @@ -16392,7 +16642,7 @@ General 3 - 30 + 31 1 1 + @@ -16591,17 +16846,14 @@ ICCARM 2 - 34 + 35 1 1 + @@ -16902,7 +17158,7 @@ @@ -17417,7 +17681,7 @@ General 3 - 30 + 31 1 1 + @@ -17616,17 +17885,14 @@ ICCARM 2 - 34 + 35 1 1 + @@ -17927,7 +18197,7 @@ @@ -18442,7 +18720,7 @@ General 3 - 30 + 31 1 1 + @@ -18641,16 +18924,14 @@ ICCARM 2 - 34 + 35 1 1 + @@ -18951,7 +19236,7 @@ @@ -19466,7 +19759,7 @@ General 3 - 30 + 31 1 1 + @@ -19665,18 +19963,14 @@ ICCARM 2 - 34 + 35 1 1 + @@ -19977,7 +20275,7 @@ @@ -20492,7 +20798,7 @@ General 3 - 30 + 31 1 1 + @@ -20691,16 +21002,14 @@ ICCARM 2 - 34 + 35 1 1 + @@ -21001,7 +21314,7 @@ @@ -22259,7 +22580,7 @@ $PROJ_DIR$\..\..\Source\TransformFunctions\arm_bitreversal.c - $PROJ_DIR$\..\..\Source\TransformFunctions\arm_bitreversal2.S + $PROJ_DIR$\..\..\Source\TransformFunctions\arm_bitreversal2.c $PROJ_DIR$\..\..\Source\TransformFunctions\arm_cfft_f32.c diff --git a/DSP/Projects/IAR/arm_cortexM_math_Build.bat b/DSP/Projects/IAR/arm_cortexM_math_Build.bat new file mode 100644 index 0000000..0afdf65 --- /dev/null +++ b/DSP/Projects/IAR/arm_cortexM_math_Build.bat @@ -0,0 +1,106 @@ +@echo off + +mkdir Temp +set TMP=Temp +set TEMP=Temp +rem set IAREXE=..\..\..\..\..\common\bin\iarbuild.exe +set IAREXE=iarbuild.exe + +echo. +echo Building DSP Libraries ARM + +echo Building DSP Library for Cortex-M0 Little Endian +%IAREXE% arm_cortexM_math.ewp -build cortexM0l + +echo Building DSP Library for Cortex-M3 Little Endian +%IAREXE% arm_cortexM_math.ewp -build cortexM3l + +echo Building DSP Library for Cortex-M4 Little Endian +%IAREXE% arm_cortexM_math.ewp -build cortexM4l + +echo Building DSP Library for Cortex-M4 Little Endian with single precision FPU +%IAREXE% arm_cortexM_math.ewp -build cortexM4lf + +echo Building DSP Library for Cortex-M7 Little Endian +%IAREXE% arm_cortexM_math.ewp -build cortexM7l + +echo Building DSP Library for Cortex-M7 Little Endian with single precision FPU +%IAREXE% arm_cortexM_math.ewp -build cortexM7lfsp + +echo Building DSP Library for Cortex-M7 Little Endian with double precision FPU +%IAREXE% arm_cortexM_math.ewp -build cortexM7lfdp + +echo Building DSP Library for ARMv8-M Baseline Little Endian +%IAREXE% arm_cortexM_math.ewp -build ARMv8MBLl + +echo Building DSP Library for ARMv8-M Mainline Little Endian +%IAREXE% arm_cortexM_math.ewp -build ARMv8MMLl + +echo Building DSP Library for ARMv8-M Mainline Little Endian with single precision FPU +%IAREXE% arm_cortexM_math.ewp -build ARMv8MMLlfsp + +echo Building DSP Library for ARMv8-M Mainline Little Endian with double precision FPU +%IAREXE% arm_cortexM_math.ewp -build ARMv8MMLlfdp + +echo Building DSP Library for ARMv8-M Mainline Little Endian with DSP instructions +%IAREXE% arm_cortexM_math.ewp -build ARMv8MMLld + +echo Building DSP Library for ARMv8-M Mainline Little Endian with DSP instructions, single precision FPU +%IAREXE% arm_cortexM_math.ewp -build ARMv8MMLldfsp + +echo Building DSP Library for ARMv8-M Mainline Little Endian with DSP instructions, double precision FPU +%IAREXE% arm_cortexM_math.ewp -build ARMv8MMLldfdp + + +REM big endian libraries + +echo Building DSP Library for Cortex-M0 Big Endian +%IAREXE% arm_cortexM_math.ewp -build cortexM0b + +echo Building DSP Library for Cortex-M3 Big Endian +%IAREXE% arm_cortexM_math.ewp -build cortexM3b + +echo Building DSP Library for Cortex-M4 Big Endian +%IAREXE% arm_cortexM_math.ewp -build cortexM4b + +echo Building DSP Library for Cortex-M4 Big Endian with single precision FPU +%IAREXE% arm_cortexM_math.ewp -build cortexM4bf + +echo Building DSP Library for Cortex-M7 Big Endian +%IAREXE% arm_cortexM_math.ewp -build cortexM7b + +echo Building DSP Library for Cortex-M7 Big Endian with single precision FPU +%IAREXE% arm_cortexM_math.ewp -build cortexM7bfsp + +echo Building DSP Library for Cortex-M7 Big Endian with double precision FPU +%IAREXE% arm_cortexM_math.ewp -build cortexM7bfdp + +echo Copy libs to CMSIS\lib\IAR +mkdir ..\..\lib\IAR +copy ReleaseM0BE\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM0LE\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM3BE\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM3LE\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM4BE\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM4BE_FPU\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM4LE\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM4LE_FPU\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM7BE\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM7BE_FPU_DP\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM7BE_FPU_SP\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM7LE\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM7LE_FPU_DP\Exe\*.a ..\..\lib\IAR\ /Y +copy ReleaseM7LE_FPU_SP\Exe\*.a ..\..\lib\IAR\ /Y +copy ARMv8MBLl\Exe\*.a ..\..\lib\IAR\ /Y +copy ARMv8MMLl\Exe\*.a ..\..\lib\IAR\ /Y +copy ARMv8MMLld\Exe\*.a ..\..\lib\IAR\ /Y +copy ARMv8MMLldfdp\Exe\*.a ..\..\lib\IAR\ /Y +copy ARMv8MMLldfsp\Exe\*.a ..\..\lib\IAR\ /Y +copy ARMv8MMLlfdp\Exe\*.a ..\..\lib\IAR\ /Y +copy ARMv8MMLlfsp\Exe\*.a ..\..\lib\IAR\ /Y + +echo. +echo Deleting intermediate files +for /d %%a in (Temp ARMv8M* ReleaseM*) do rmdir /s /q "%%~a" +del /Q *.bak +del /Q *.dep -- cgit