Skip to content

Commit 09ff3f6

Browse files
matthijskooijmanfpistm
authored andcommitted
feat: Enable HAL_SUBGHZ module
This module is available on the STM32WL line and offers a radio for LoRa and other modulations. This enables the HAL module for it, so sketches or libraries can use it if needed. Signed-off-by: Matthijs Kooijman <[email protected]>
1 parent 3ef013a commit 09ff3f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: cores/arduino/stm32/stm32yyxx_hal_conf.h

+6
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@
7676
#undef HAL_ICACHE_MODULE_ENABLED
7777
#endif
7878

79+
#if !defined(HAL_SUBGHZ_MODULE_DISABLED)
80+
#define HAL_SUBGHZ_MODULE_ENABLED
81+
#else
82+
#undef HAL_SUBGHZ_MODULE_ENABLED
83+
#endif
84+
7985
/*
8086
* Not defined by default
8187
*/

0 commit comments

Comments
 (0)