8416d9a966
Master * libdsp: initial commit * libdsp: cosmetics * stm32f334-disco/buckboost: use a PID controller from libdsp * stm32_adc.h: fix typo * stm32_dac.c: set OUTEN bit for DAC1CH2 and DAC2CH1 * stm32_hrtim: cosmetic changes * power/motor: direction parameter is now int8 + add overload fault * libdsp: all floats with f-sufix libdsp: add precision option for library libdsp: add debug option for library and assertions in functions libdsp: add current samples correction for SVM3 libds: add some motor control specific functions libdsp: add basic speed observer libdsp: fix phase shift in SMO observer libdsp: add more logic to FOC config/sim/dsptest: add dsptest configuration * libdsp/lib_motor.c: remove unused comparation * libdsp/lib_observer.c: update some comments Approved-by: GregoryN <gnutt@nuttx.org>
34 lines
797 B
Plaintext
34 lines
797 B
Plaintext
CONFIG_ARCH="sim"
|
|
CONFIG_ARCH_BOARD="sim"
|
|
CONFIG_ARCH_BOARD_SIM=y
|
|
CONFIG_ARCH_SIM=y
|
|
CONFIG_BUILTIN=y
|
|
CONFIG_DEBUG_FEATURES=y
|
|
CONFIG_DEBUG_SYMBOLS=y
|
|
CONFIG_DEBUG_ASSERTIONS=y
|
|
CONFIG_DISABLE_POLL=y
|
|
CONFIG_DISABLE_POSIX_TIMERS=y
|
|
CONFIG_EXAMPLES_DSPTEST=y
|
|
CONFIG_IDLETHREAD_STACKSIZE=4096
|
|
CONFIG_INPUT=y
|
|
CONFIG_LIBDSP=y
|
|
CONFIG_LIBDSP_DEBUG=y
|
|
CONFIG_LIBDSP_PRECISION=2
|
|
CONFIG_LIBM=y
|
|
CONFIG_LIB_BOARDCTL=y
|
|
CONFIG_MAX_TASKS=64
|
|
CONFIG_MQ_MAXMSGSIZE=64
|
|
CONFIG_NFILE_DESCRIPTORS=32
|
|
CONFIG_PREALLOC_MQ_MSGS=4
|
|
CONFIG_PTHREAD_STACK_DEFAULT=8192
|
|
CONFIG_SCHED_WAITPID=y
|
|
CONFIG_SDCLONE_DISABLE=y
|
|
CONFIG_START_DAY=6
|
|
CONFIG_START_MONTH=10
|
|
CONFIG_START_YEAR=2011
|
|
CONFIG_SYSTEM_READLINE=y
|
|
CONFIG_TESTING_UNITY=y
|
|
CONFIG_TESTING_UNITY_OUTPUT_COLOR=y
|
|
CONFIG_USERMAIN_STACKSIZE=4096
|
|
CONFIG_USER_ENTRYPOINT="dsptest_main"
|