chcustomer.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. /*
  2. ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio.
  3. This file is part of ChibiOS.
  4. ChibiOS is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 3 of the License, or
  7. (at your option) any later version.
  8. ChibiOS is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. /**
  16. * @file chcustomer.h
  17. * @brief Customer-related info.
  18. *
  19. * @addtogroup chibios_customer
  20. * @details This module incapsulates licensee information, this is only
  21. * meaningful for commercial licenses. It is a stub for public
  22. * releases.
  23. * @{
  24. */
  25. #ifndef CHCUSTOMER_H
  26. #define CHCUSTOMER_H
  27. /*===========================================================================*/
  28. /* Module constants. */
  29. /*===========================================================================*/
  30. /**
  31. * @brief Customer readable identifier.
  32. */
  33. #define CH_CUSTOMER_ID_STRING "Santa, North Pole"
  34. /**
  35. * @brief Customer code.
  36. */
  37. #define CH_CUSTOMER_ID_CODE "xxxx-yyyy"
  38. /**
  39. * @brief Current license.
  40. * @note This setting is reserved to the copyright owner.
  41. * @note Changing this setting invalidates the license.
  42. * @note The license statement in the source headers is valid, applicable
  43. * and binding regardless this setting.
  44. */
  45. #define CH_LICENSE CH_LICENSE_GPL
  46. /**
  47. * @name Licensed Products
  48. * @{
  49. */
  50. #define CH_CUSTOMER_LIC_RT TRUE
  51. #define CH_CUSTOMER_LIC_NIL TRUE
  52. #define CH_CUSTOMER_LIC_OSLIB TRUE
  53. #define CH_CUSTOMER_LIC_EX TRUE
  54. #define CH_CUSTOMER_LIC_PORT_CM0 TRUE
  55. #define CH_CUSTOMER_LIC_PORT_CM3 TRUE
  56. #define CH_CUSTOMER_LIC_PORT_CM4 TRUE
  57. #define CH_CUSTOMER_LIC_PORT_CM7 TRUE
  58. #define CH_CUSTOMER_LIC_PORT_ARM79 TRUE
  59. #define CH_CUSTOMER_LIC_PORT_E200Z0 TRUE
  60. #define CH_CUSTOMER_LIC_PORT_E200Z2 TRUE
  61. #define CH_CUSTOMER_LIC_PORT_E200Z3 TRUE
  62. #define CH_CUSTOMER_LIC_PORT_E200Z4 TRUE
  63. /** @} */
  64. /*===========================================================================*/
  65. /* Module pre-compile time settings. */
  66. /*===========================================================================*/
  67. /*===========================================================================*/
  68. /* Derived constants and error checks. */
  69. /*===========================================================================*/
  70. /*===========================================================================*/
  71. /* Module data structures and types. */
  72. /*===========================================================================*/
  73. /*===========================================================================*/
  74. /* Module macros. */
  75. /*===========================================================================*/
  76. /*===========================================================================*/
  77. /* External declarations. */
  78. /*===========================================================================*/
  79. /*===========================================================================*/
  80. /* Module inline functions. */
  81. /*===========================================================================*/
  82. #endif /* CHCUSTOMER_H */
  83. /** @} */