]> cloudbase.mooo.com Git - irmp.git/blobdiff - irmpconfig.h
Merge branch 'libopencm3' of cu.loc:git/irmp into libopencm3
[irmp.git] / irmpconfig.h
index 9887ea0c6fd4fb9b08100d6faf388e8b8ac991a9..3767de7d399e2545addf8d90deb357fe66908a06 100644 (file)
@@ -6,7 +6,7 @@
  * Copyright (c) 2009-2016 Frank Meyer - frank(at)fli4l.de\r
  * Extensions for PIC 12F1820 W.Strobl 2014-07-20\r
  *\r
- * $Id: irmpconfig.h,v 1.150 2016/09/19 14:28:24 fm Exp $\r
+ * $Id: irmpconfig.h,v 1.152 2017/02/17 09:13:06 fm Exp $\r
  *\r
  * This program is free software; you can redistribute it and/or modify\r
  * it under the terms of the GNU General Public License as published by\r
@@ -99,6 +99,7 @@
 #define IRMP_SUPPORT_PANASONIC_PROTOCOL         0       // PANASONIC Beamer     >= 10000                 ~250 bytes\r
 #define IRMP_SUPPORT_MITSU_HEAVY_PROTOCOL       0       // Mitsubishi Aircond   >= 10000                 ~250 bytes\r
 #define IRMP_SUPPORT_VINCENT_PROTOCOL           0       // VINCENT              >= 10000                 ~250 bytes\r
+#define IRMP_SUPPORT_SAMSUNGAH_PROTOCOL         1       // SAMSUNG AH           >= 10000                 ~250 bytes\r
 #define IRMP_SUPPORT_RADIO1_PROTOCOL            0       // RADIO, e.g. TEVION   >= 10000                 ~250 bytes (experimental)\r
 \r
 /*---------------------------------------------------------------------------------------------------------------------------------------------------\r
  *---------------------------------------------------------------------------------------------------------------------------------------------------\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 (LIBOPENCM3)\r
+#  define IRMP_PORT_LETTER                      B\r
+#  define IRMP_BIT_NUMBER                       4\r
 \r
 /*---------------------------------------------------------------------------------------------------------------------------------------------------\r
  * Change hardware pin here for Stellaris ARM Cortex M4\r
  * Change hardware pin here for ESP8266\r
  *---------------------------------------------------------------------------------------------------------------------------------------------------\r
  */\r
-#elif defined (__xtensa__) \r
+#elif defined (__xtensa__)\r
 #  define IRMP_BIT_NUMBER                       12                      // use GPIO12 (Pin 7 UEXT) on ESP8266-EVB evaluation board\r
 \r
 /*---------------------------------------------------------------------------------------------------------------------------------------------------\r