You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
518 B

1 year ago
  1. #pragma once
  2. //
  3. #include "../chip/chip.hpp"
  4. //
  5. #include "osbasic_h.hpp"
  6. //
  7. #include "delay.hpp"
  8. //
  9. #include "mutex.hpp"
  10. //
  11. #include "zoslogger.hpp"
  12. //
  13. #include "ticket.hpp"
  14. //
  15. #include "os_default_schduler.hpp"
  16. //
  17. #include "zos_thread.hpp"
  18. #include "zthread.hpp"
  19. //
  20. #include "zos_schduler.hpp"
  21. //
  22. #include "zmath.hpp"
  23. #define ZSTRUCT(name, ...) \
  24. typedef struct { \
  25. __VA_ARGS__ \
  26. } name;
  27. extern "C" {
  28. typedef struct {
  29. uint32_t __reserved0;
  30. } zos_cfg_t;
  31. void zos_init(zos_cfg_t* cfg);
  32. }