target.h 726 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #define RADIOLIB_STATIC_ONLY 1
  3. #include <RadioLib.h>
  4. #include <helpers/RadioLibWrappers.h>
  5. #include <helpers/stm32/STM32Board.h>
  6. #include <helpers/CustomSTM32WLxWrapper.h>
  7. #include <helpers/ArduinoHelpers.h>
  8. #include <helpers/SensorManager.h>
  9. class RAK3x72Board : public STM32Board {
  10. public:
  11. const char* getManufacturerName() const override {
  12. return "RAK 3x72";
  13. }
  14. };
  15. extern RAK3x72Board board;
  16. extern WRAPPER_CLASS radio_driver;
  17. extern VolatileRTCClock rtc_clock;
  18. extern SensorManager sensors;
  19. bool radio_init();
  20. uint32_t radio_get_rng_seed();
  21. void radio_set_params(float freq, float bw, uint8_t sf, uint8_t cr);
  22. void radio_set_tx_power(uint8_t dbm);
  23. mesh::LocalIdentity radio_new_identity();