1 /**************************************************************************//** 2 * @file HAL_device.h 3 * @brief CMSIS Cortex-M Peripheral Access Layer for MindMotion 4 * microcontroller devices 5 * 6 * This is a convenience header file for defining the part number on the 7 * build command line, instead of specifying the part specific header file. 8 * 9 * Example: Add "MM32L3xx" to your build options, to define part 10 * Add "#include "HAL_device.h" to your source files 11 * 12 * 13 * @version 1.0.0 14 * 15 * 16 *****************************************************************************/ 17 18 #ifndef __HAL_device_H 19 #define __HAL_device_H 20 21 22 #define MM32L3xx 23 #if defined(MM32X103) 24 #include "MM32x103.h" 25 #include "system_mm32x103.h" 26 #elif defined(MM32X031) 27 #include "MM32x031.h" 28 #elif defined(MM32L3xx) 29 #include "MM32L3xx.h" 30 #else 31 #error "HAL_device.h: PART NUMBER undefined" 32 #endif 33 #endif /* __HAL_device_H */ 34 /*-------------------------(C) COPYRIGHT 2017 MindMotion ----------------------*/ 35