Skip to content

Commit

Permalink
Adding support for the board with MIK32 АМУР from ELRON.TECH
Browse files Browse the repository at this point in the history
  • Loading branch information
ogneyar committed Aug 21, 2024
1 parent a386620 commit fd1cf37
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/utility/Sd2PinMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,22 @@ void fastDigitalWrite(uint8_t pin, uint8_t value) {

#endif // Arduino ARC

//------------------------------------------------------------------------------
#elif defined (__RISC_V__)

#if defined (__ELBEAR_ACE_UNO__) // board for MIK32 АМУР from ELRON.TECH

#include <Arduino.h>

// SPI port
uint8_t const SS_PIN = SS;
uint8_t const MOSI_PIN = MOSI;
uint8_t const MISO_PIN = MISO;
uint8_t const SCK_PIN = SCK;

#endif // ELBEAR ACE-UNO
//------------------------------------------------------------------------------

#else
#error Architecture or board not supported.
#endif

0 comments on commit fd1cf37

Please sign in to comment.