generated from sirlilpanda/kicad-project-template-actionless
Added exmaple code of lsm6do to quickly test imu
This commit is contained in:
20
software/lsm6dso_example/sdkconfig.defaults
Normal file
20
software/lsm6dso_example/sdkconfig.defaults
Normal file
@@ -0,0 +1,20 @@
|
||||
CONFIG_FREERTOS_HZ=1000
|
||||
|
||||
# set compiler optimization level to -O2 (compile for performance)
|
||||
CONFIG_COMPILER_OPTIMIZATION_PERF=y
|
||||
|
||||
# ESP32-specific
|
||||
#
|
||||
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y
|
||||
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ=240
|
||||
|
||||
# Common ESP-related
|
||||
#
|
||||
CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE=4096
|
||||
CONFIG_ESP_MAIN_TASK_STACK_SIZE=16384
|
||||
|
||||
# Set esp-timer task stack size to 6KB
|
||||
CONFIG_ESP_TIMER_TASK_STACK_SIZE=6144
|
||||
|
||||
# set the functions into IRAM
|
||||
CONFIG_SPI_MASTER_IN_IRAM=y
|
||||
Reference in New Issue
Block a user