From 58cb7ad1d36480917fdb0d40b3ffd2e623879ab2 Mon Sep 17 00:00:00 2001 From: Rei Vilo Date: Tue, 21 May 2024 10:36:10 +0200 Subject: [PATCH] Added patch for Energia --- src/hV_HAL_Peripherals.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/hV_HAL_Peripherals.h b/src/hV_HAL_Peripherals.h index 7787d6f..eb36732 100755 --- a/src/hV_HAL_Peripherals.h +++ b/src/hV_HAL_Peripherals.h @@ -83,6 +83,13 @@ void hV_HAL_SPI_begin(uint32_t speed = 8000000); /// @note hV_HAL_SPI3_begin() sets the pins for 3-wire SPI. /// @{ +#if defined(ENERGIA) + +#define SCK 7 +#define MOSI 15 + +#endif // ENERGIA + /// /// @brief Configure 3-wire SPI /// @note Select default SCK as clock and MOSI as data (SDIO)