HAL_device.h 976 B

12345678910111213141516171819202122232425262728293031323334
  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. #ifndef __HAL_device_H
  18. #define __HAL_device_H
  19. #define MM32L3xx
  20. #if defined(MM32X103)
  21. #include "MM32x103.h"
  22. #include "system_mm32x103.h"
  23. #elif defined(MM32X031)
  24. #include "MM32x031.h"
  25. #elif defined(MM32L3xx)
  26. #include "MM32L3xx.h"
  27. #else
  28. #error "HAL_device.h: PART NUMBER undefined"
  29. #endif
  30. #endif /* __HAL_device_H */
  31. /*-------------------------(C) COPYRIGHT 2017 MindMotion ----------------------*/