Skip to content

Commit

Permalink
Added patch for Energia
Browse files Browse the repository at this point in the history
rei-vilo committed May 21, 2024
1 parent 7f9f151 commit 68c832f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/hV_HAL_Peripherals.h
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 68c832f

Please sign in to comment.