diff --git a/STM32F1XX/cores/maple/original_hardwarespi.zip b/STM32F1XX/cores/maple/original_hardwarespi.zip deleted file mode 100644 index 7ed8c83..0000000 Binary files a/STM32F1XX/cores/maple/original_hardwarespi.zip and /dev/null differ diff --git a/STM32F1XX/cores/maple/wiring_private.h b/STM32F1XX/cores/maple/wiring_private.h new file mode 100644 index 0000000..88fd009 --- /dev/null +++ b/STM32F1XX/cores/maple/wiring_private.h @@ -0,0 +1,4 @@ +#ifndef WiringPrivate_h +#define WiringPrivate_h + +#endif \ No newline at end of file diff --git a/STM32F1XX/variants/maple_mini/pins_arduino.h b/STM32F1XX/variants/maple_mini/pins_arduino.h new file mode 100644 index 0000000..3052f2e --- /dev/null +++ b/STM32F1XX/variants/maple_mini/pins_arduino.h @@ -0,0 +1,6 @@ + + + + +// API compatibility +#include "variant.h" \ No newline at end of file diff --git a/STM32F1XX/variants/maple_mini/variant.h b/STM32F1XX/variants/maple_mini/variant.h new file mode 100644 index 0000000..0e31357 --- /dev/null +++ b/STM32F1XX/variants/maple_mini/variant.h @@ -0,0 +1,10 @@ +#ifndef _VARIANT_ARDUINO_STM32_ +#define _VARIANT_ARDUINO_STM32_ + +// From SAM implementation #define digitalPinToBitMask(P) ( g_APinDescription[P].ulPin ) +// Added placeholder to please the compiler + +#warning "TO DO. IMPLEMENT digitalPinToBitMask in variant.h" +#define digitalPinToBitMask(P) ( 1 ) + +#endif /* _VARIANT_ARDUINO_STM32_ */ \ No newline at end of file