From fd1cf37671a3abe4850558e1384d896640819e1f Mon Sep 17 00:00:00 2001 From: Ogneyar Date: Wed, 21 Aug 2024 11:15:10 +0300 Subject: [PATCH] =?UTF-8?q?Adding=20support=20for=20the=20board=20with=20M?= =?UTF-8?q?IK32=20=D0=90=D0=9C=D0=A3=D0=A0=20from=20ELRON.TECH?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utility/Sd2PinMap.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/utility/Sd2PinMap.h b/src/utility/Sd2PinMap.h index 12d8926..581d160 100644 --- a/src/utility/Sd2PinMap.h +++ b/src/utility/Sd2PinMap.h @@ -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 + +// 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