2013-11-30 19:14:15 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2013-11-30 19:14:15 +01:00
|
|
|
#
|
|
|
|
|
2013-12-22 17:12:26 +01:00
|
|
|
if ARCH_BOARD_VIEWTOOL_STM32F107
|
|
|
|
|
2013-12-22 20:23:57 +01:00
|
|
|
config VIEWTOOL_HIGHPRI
|
2013-12-22 17:12:26 +01:00
|
|
|
bool "High priority interrupt test"
|
|
|
|
default n
|
2014-05-07 20:54:27 +02:00
|
|
|
depends on ARCH_CHIP_STM32F103VC && ARCH_HIPRI_INTERRUPT
|
2013-12-22 17:12:26 +01:00
|
|
|
---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
|
2014-05-07 20:54:27 +02:00
|
|
|
(ARCH_CHIP_STM32F103VC) but should be easily ported to other STM32
|
2013-12-22 17:12:26 +01:00
|
|
|
architectures.
|
|
|
|
|
2013-12-22 20:23:57 +01:00
|
|
|
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
|