Merge pull request #481 from victorpv/patch-4
Update to fix FSMC inclusion in Rx devices
This commit is contained in:
commit
f0f270d4fc
|
@ -185,12 +185,20 @@ extern "C" {
|
|||
# elif defined(STM32_HIGH_DENSITY)
|
||||
# define STM32_NR_INTERRUPTS 60
|
||||
# define STM32_TIMER_MASK 0x1FE /* TIMER1--TIMER8 */
|
||||
# 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 */
|
||||
# if STM32_NR_GPIO_PORTS > 4
|
||||
# define STM32_HAVE_FSMC 1
|
||||
# else
|
||||
# define STM32_HAVE_FSMC 0
|
||||
# endif
|
||||
# define STM32_HAVE_DAC 1
|
||||
# endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue