a1c991d921
Move boards to boards folder * boards: rename configs folder to boards This is the proposed layout after the change: boards: - folder containing board folders <board>: - name of each board drivers: - extra drivers specific for platform include: - header files for the boars scripts: - extra scripts specific for platform src: - board specific code tools: - extra tools specific for platform <config>: - board specific configuration(s) Note: <xxx> names are dependent on platform This is a logical change to aim to the arch layout but this is a huge change it should be done in several steps to lower the risk. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Kconfig: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Makefile: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Makefile.*: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * Make.defs: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .sh: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .mk: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .c & .h: replace configs with boards The change is needed after the path change Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> * .bat: replace configs with boards The change is needed after the path change 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
|