target.h 749 B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #define RADIOLIB_STATIC_ONLY 1
  3. #include <RadioLib.h>
  4. #include <helpers/radiolib/RadioLibWrappers.h>
  5. #include <HeltecTrackerV2Board.h>
  6. #include <helpers/radiolib/CustomSX1262Wrapper.h>
  7. #include <helpers/AutoDiscoverRTCClock.h>
  8. #include <helpers/SensorManager.h>
  9. #include <helpers/sensors/EnvironmentSensorManager.h>
  10. #ifdef DISPLAY_CLASS
  11. #include <helpers/ui/ST7735Display.h>
  12. #include <helpers/ui/MomentaryButton.h>
  13. #endif
  14. extern HeltecTrackerV2Board board;
  15. extern WRAPPER_CLASS radio_driver;
  16. extern AutoDiscoverRTCClock rtc_clock;
  17. extern EnvironmentSensorManager sensors;
  18. #ifdef DISPLAY_CLASS
  19. extern DISPLAY_CLASS display;
  20. extern MomentaryButton user_btn;
  21. #endif
  22. bool radio_init();
  23. mesh::LocalIdentity radio_new_identity();