Skip to content

Commit fd1cf37

Browse files
committed
Adding support for the board with MIK32 АМУР from ELRON.TECH
1 parent a386620 commit fd1cf37

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/utility/Sd2PinMap.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,22 @@ void fastDigitalWrite(uint8_t pin, uint8_t value) {
523523

524524
#endif // Arduino ARC
525525

526+
//------------------------------------------------------------------------------
527+
#elif defined (__RISC_V__)
528+
529+
#if defined (__ELBEAR_ACE_UNO__) // board for MIK32 АМУР from ELRON.TECH
530+
531+
#include <Arduino.h>
532+
533+
// SPI port
534+
uint8_t const SS_PIN = SS;
535+
uint8_t const MOSI_PIN = MOSI;
536+
uint8_t const MISO_PIN = MISO;
537+
uint8_t const SCK_PIN = SCK;
538+
539+
#endif // ELBEAR ACE-UNO
540+
//------------------------------------------------------------------------------
541+
526542
#else
527543
#error Architecture or board not supported.
528544
#endif

0 commit comments

Comments
 (0)