🏗️ Define HAL_STM32 for HAL/STM32 (#22537)

This commit is contained in:
Scott Lahteine
2021-08-08 21:31:10 -05:00
committed by GitHub
parent 331cc5fd6a
commit 76c10b3e02
34 changed files with 105 additions and 57 deletions

View File

@@ -20,7 +20,9 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#if defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC) && !defined(MAPLE_STM32F1)
#include "../platforms.h"
#ifdef HAL_STM32
#include "HAL.h"
#include "usb_serial.h"
@@ -165,4 +167,4 @@ void HAL_SYSTICK_Callback() {
if (systick_user_callback) systick_user_callback();
}
#endif // ARDUINO_ARCH_STM32 && !STM32GENERIC && !MAPLE_STM32F1
#endif // HAL_STM32