Skip to content

Commit

Permalink
Added patch for Energia
Browse files Browse the repository at this point in the history
  • Loading branch information
rei-vilo committed May 21, 2024
1 parent 44f96cd commit 58cb7ad
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
Expand Up @@ -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)
Expand Down

0 comments on commit 58cb7ad

Please sign in to comment.