*---------------------------------------------------------------------------------------------------------------------------------------------------\r
*/\r
#elif defined (ARM_STM32) // use C13 as IR input on STM32\r
-# define IRMP_PORT_LETTER C\r
-# define IRMP_BIT_NUMBER 13\r
+# define IRMP_PORT_LETTER B\r
+# define IRMP_BIT_NUMBER 4\r
+\r
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * Change hardware pin here for ARM STM32 with libopencm3\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+#elif defined (ARM_OPENCM3) // use C13 as IR input on STM32\r
+# define IRMP_PORT_LETTER B\r
+# define IRMP_BIT_NUMBER 4\r
+# define IRMP_TIMER 3 // Timer to use\r
\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* Change hardware pin here for Stellaris ARM Cortex M4\r