rtlegacy.h 733 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2021-11-14 Meco Man the first version
  9. */
  10. #ifndef __RT_LEGACY_H__
  11. #define __RT_LEGACY_H__
  12. #include <rtconfig.h>
  13. #include <rtdef.h>
  14. /* legacy version macros */
  15. #define RT_VERSION RT_VERSION_MAJOR /**< major version number */
  16. #define RT_SUBVERSION RT_VERSION_MINOR /**< minor version number */
  17. #define RT_REVISION RT_VERSION_PATCH /**< revise version number */
  18. /* IPC */
  19. #ifdef RT_USING_DEVICE_IPC
  20. #include "ipc/workqueue_legacy.h"
  21. #endif /* RT_USING_DEVICE_IPC */
  22. /* FinSH */
  23. #endif /* __RT_LEGACY_H__ */