target.h 723 B

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