summaryrefslogtreecommitdiff
path: root/nuttx/configs/viewtool-stm32f107/Kconfig
blob: d2bf8dff760ea5ab00cfa45f90fdf78ee8f3c03f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#

if ARCH_BOARD_VIEWTOOL_STM32F107

config VIEWTOOL_HIGHPRI
	bool "High priority interrupt test"
	default n
	depends on ARCH_CHIP_STM32F103VCT6 && ARCH_HIPRI_INTERRUPT
	---help---
		This selection enables building of the custom test for the Cortex-M
		high priority, nested interrupts.  ARCH_HIPRI_INTERRUPT must first
		be enabled.  This test is only implemented on the STM32F103VCT6
		(ARCH_CHIP_STM32F103VCT6) but should be easily ported to other STM32
		architectures.

if VIEWTOOL_HIGHPRI

config VIEWTOOL_TIM6_FREQUENCY
	int "TIM6 Frequency"
	default 36000000
	---help---
		TIM6 is used to drive the high priority, nested interrupt in the
		test enabled with VIEWTOOL_HIGHPRI.  This setting specifies the
		frequency of the TIM6 input clock.

config VIEWTOOL_TIM6_PERIOD
	int "TIM6 Period"
	default 36000
	---help---
		TIM6 is used to drive the high priority, nested interrupt in the
		test enabled with VIEWTOOL_HIGHPRI.  This setting specifies
		period of the TIM6 interrupt in units of VIEWTOOL_TIM6_FREQUENCY.

endif # VIEWTOOL_HIGHPRI
endif # ARCH_BOARD_VIEWTOOL_STM32F107