Merge pull request #481 from victorpv/patch-4

Update to fix FSMC inclusion in Rx devices
This commit is contained in:
Roger Clark 2018-04-08 13:34:20 +10:00 committed by GitHub
commit f0f270d4fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -185,12 +185,20 @@ extern "C" {
# elif defined(STM32_HIGH_DENSITY)
# define STM32_NR_INTERRUPTS 60
# define STM32_TIMER_MASK 0x1FE /* TIMER1--TIMER8 */
# define STM32_HAVE_FSMC 1
# if STM32_NR_GPIO_PORTS > 4
# define STM32_HAVE_FSMC 1
# else
# define STM32_HAVE_FSMC 0
# endif
# define STM32_HAVE_DAC 1
# elif defined(STM32_XL_DENSITY)
# define STM32_NR_INTERRUPTS 60
# define STM32_TIMER_MASK 0x7FFE /* TIMER1--TIMER14 */
# define STM32_HAVE_FSMC 1
# if STM32_NR_GPIO_PORTS > 4
# define STM32_HAVE_FSMC 1
# else
# define STM32_HAVE_FSMC 0
# endif
# define STM32_HAVE_DAC 1
# endif