u0.cmake 854 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. set(STM32_U0_TYPES
  2. U031xx
  3. U073xx
  4. U083xx
  5. )
  6. set(STM32_U0_TYPE_MATCH
  7. "U031.[468]"
  8. "U073.C"
  9. "U083.C"
  10. )
  11. set(STM32_U0_RAM_SIZES
  12. 12K
  13. 40K
  14. 40K
  15. )
  16. set(STM32_U0_CCRAM_SIZES
  17. 0K
  18. 0K
  19. 0K
  20. )
  21. stm32_util_create_family_targets(U0)
  22. target_compile_options(STM32::U0 INTERFACE
  23. -mcpu=cortex-m0plus
  24. )
  25. target_link_options(STM32::U0 INTERFACE
  26. -mcpu=cortex-m0plus
  27. )
  28. list(APPEND STM32_ALL_DEVICES
  29. U031C6
  30. U031C8
  31. U031F4
  32. U031F6
  33. U031F8
  34. U031G6
  35. U031G8
  36. U031K4
  37. U031K8
  38. U031R6
  39. U031R8
  40. U073CC
  41. U073HC
  42. U073KC
  43. U073MC
  44. U073RC
  45. U083CC
  46. U083HC
  47. U083KC
  48. U083MC
  49. U083RC
  50. )
  51. list(APPEND STM32_SUPPORTED_FAMILIES_LONG_NAME
  52. STM32U0
  53. )
  54. list(APPEND STM32_FETCH_FAMILIES U0)
  55. set(CUBE_U0_VERSION v1.0.0)
  56. set(CMSIS_U0_VERSION v1.0.0)
  57. set(HAL_U0_VERSION v1.0.0)