X-Git-Url: http://cloudbase.mooo.com/gitweb/irmp.git/blobdiff_plain/7365350cfc3f5406c68411a2eafe97dadaa08444..e97defc02a9df11a1ab8575b6b572587ef033449:/irmpconfig.h?ds=sidebyside diff --git a/irmpconfig.h b/irmpconfig.h index 61c14a9..3767de7 100644 --- a/irmpconfig.h +++ b/irmpconfig.h @@ -6,7 +6,7 @@ * Copyright (c) 2009-2016 Frank Meyer - frank(at)fli4l.de * Extensions for PIC 12F1820 W.Strobl 2014-07-20 * - * $Id: irmpconfig.h,v 1.148 2016/09/09 07:53:29 fm Exp $ + * $Id: irmpconfig.h,v 1.152 2017/02/17 09:13:06 fm Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -98,6 +98,8 @@ #define IRMP_SUPPORT_TECHNICS_PROTOCOL 0 // TECHNICS >= 10000 ~250 bytes #define IRMP_SUPPORT_PANASONIC_PROTOCOL 0 // PANASONIC Beamer >= 10000 ~250 bytes #define IRMP_SUPPORT_MITSU_HEAVY_PROTOCOL 0 // Mitsubishi Aircond >= 10000 ~250 bytes +#define IRMP_SUPPORT_VINCENT_PROTOCOL 0 // VINCENT >= 10000 ~250 bytes +#define IRMP_SUPPORT_SAMSUNGAH_PROTOCOL 1 // SAMSUNG AH >= 10000 ~250 bytes #define IRMP_SUPPORT_RADIO1_PROTOCOL 0 // RADIO, e.g. TEVION >= 10000 ~250 bytes (experimental) /*--------------------------------------------------------------------------------------------------------------------------------------------------- @@ -131,8 +133,16 @@ *--------------------------------------------------------------------------------------------------------------------------------------------------- */ #elif defined (ARM_STM32) // use C13 as IR input on STM32 -# define IRMP_PORT_LETTER C -# define IRMP_BIT_NUMBER 13 +# define IRMP_PORT_LETTER B +# define IRMP_BIT_NUMBER 4 + +/*--------------------------------------------------------------------------------------------------------------------------------------------------- + * Change hardware pin here for ARM STM32 with libopencm3 + *--------------------------------------------------------------------------------------------------------------------------------------------------- + */ +#elif defined (LIBOPENCM3) +# define IRMP_PORT_LETTER B +# define IRMP_BIT_NUMBER 4 /*--------------------------------------------------------------------------------------------------------------------------------------------------- * Change hardware pin here for Stellaris ARM Cortex M4 @@ -154,7 +164,7 @@ * Change hardware pin here for ESP8266 *--------------------------------------------------------------------------------------------------------------------------------------------------- */ -#elif defined (__xtensa__) +#elif defined (__xtensa__) # define IRMP_BIT_NUMBER 12 // use GPIO12 (Pin 7 UEXT) on ESP8266-EVB evaluation board /*---------------------------------------------------------------------------------------------------------------------------------------------------