af28821c77
group boards by architecture * z80: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * z16: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * xtensa: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * x86: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * sim: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * risc-v: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * renesas: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * or1k: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * misoc: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * mips: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * hc: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * avr: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * arm: group boards by architecture all boards that share the same architecture are moved to the same arch folder following the soc layout Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * boards: group boards by architecture Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
51 lines
1.0 KiB
Plaintext
51 lines
1.0 KiB
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
if ARCH_BOARD_NUCLEO_F334R8
|
|
|
|
config NUCLEOF334R8_HIGHPRI
|
|
bool "High priority interrupt test"
|
|
default n
|
|
|
|
menuconfig NUCLEOF334R8_SPWM
|
|
bool "Sinusoidal PWM generator example"
|
|
default n
|
|
|
|
if NUCLEOF334R8_SPWM
|
|
|
|
choice
|
|
prompt "Sinusoidal PWM source"
|
|
default NUCLEOF334R8_SPWM_USE_TIM1
|
|
|
|
config NUCLEOF334R8_SPWM_USE_TIM1
|
|
bool "Use TIM1 as PWM source"
|
|
|
|
config NUCLEOF334R8_SPWM_USE_HRTIM1
|
|
bool "Use HRTIM as PWM source"
|
|
|
|
endchoice
|
|
|
|
config NUCLEOF334R8_SPWM_PWM_FREQ
|
|
int "PWM frequency in Hz"
|
|
default 100000
|
|
|
|
config NUCLEOF334R8_SPWM_SAMPLES
|
|
int "Sine samples"
|
|
default 100
|
|
|
|
config NUCLEOF334R8_SPWM_FREQ
|
|
int "Waveform frequency in Hz"
|
|
default 60
|
|
|
|
config NUCLEOF334R8_SPWM_PHASE_NUM
|
|
int "Number of phases"
|
|
default 1
|
|
range 1 5 if NUCLEOF334R8_SPWM_USE_HRTIM1
|
|
range 1 4 if NUCLEOF334R8_SPWM_USE_TIM1
|
|
|
|
endif
|
|
|
|
endif
|