1/* 2 * Only the CMSIS required parts for ASF are included here, go to the below 3 * address for the full package: 4 * http://www.arm.com/products/processors/cortex-m/cortex-microcontroller-software-interface-standard.php 5 * 6 * The library file thirdparty/CMSIS/Lib/GCC/libarm_cortexM4lf_math_softfp.a was generated by ATMEL, which 7 * is support -mfloat-abi=softfp compiler flag, and this is also the default selection for device that 8 * have FPU module and enabled. 9 * If customer want to use -mfloat-abi=hard compiler flag, the project compile/link flag and link library 10 * should be manual modified. The library thirdparty/CMSIS/Lib/GCC/libarm_cortexM4lf_math.a is used for 11 * -mfloat-abi=hard configration. 12 * 13 * __CORTEX_SC is not defined for cortex-m0+, and may cause compiler warning, so the include file 14 * thirdparty/CMSIS/Include/core_cmInstr.h was modified to void such warning. 15 * Modified from: 16 * #if (__CORTEX_M >= 0x03) || (__CORTEX_SC >= 300) 17 * to: 18 * #if (__CORTEX_M >= 0x03) || ((defined(__CORTEX_SC)) && (__CORTEX_SC >= 300)) 19 * 20 */ 21