File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
connectivity/lorawan/tests/TESTS/lorawan/loraradio Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 3232#include " SX1276_LoRaRadio.h"
3333#elif COMPONENT_SX126X
3434#include " SX126X_LoRaRadio.h"
35+ #elif (TARGET_STM32WL)
36+ #include " STM32WL_LoRaRadio.h"
3537#else
3638#error [NOT_SUPPORTED] Lora radio is not configured
3739#endif
@@ -197,6 +199,8 @@ utest::v1::status_t case_setup_handler(const Case *const source, const size_t in
197199 radio = new SX1276_LoRaRadio ();
198200#elif COMPONENT_SX126X
199201 radio = new SX126X_LoRaRadio ();
202+ #elif (TARGET_STM32WL)
203+ radio = new STM32WL_LoRaRadio ();
200204#endif
201205
202206 TEST_ASSERT (radio);
@@ -218,6 +222,10 @@ utest::v1::status_t case_teardown_handler(const Case *const source, const size_t
218222
219223#elif COMPONENT_SX126X
220224 delete static_cast <SX126X_LoRaRadio *>(radio);
225+
226+ #elif TARGET_STM32WL
227+ delete static_cast <STM32WL_LoRaRadio *>(radio);
228+
221229#endif
222230 radio = NULL ;
223231
You can’t perform that action at this time.
0 commit comments