Add choice for selecting affinited core
This commit is contained in:
15
Kconfig
15
Kconfig
@@ -27,5 +27,20 @@ config SCCB_HARDWARE_I2C
|
||||
help
|
||||
Enable this option if you want to use hardware I2C to control the camera.
|
||||
Disable this option to use software I2C.
|
||||
|
||||
choice CAMERA_TASK_PINNED_TO_CORE
|
||||
bool "Camera task pinned to core"
|
||||
default CAMERA_CORE0
|
||||
help
|
||||
Pin the camera handle task to a certain core(0/1). It can also be done automatically choosing NO_AFFINITY.
|
||||
|
||||
config CAMERA_CORE0
|
||||
bool "CORE0"
|
||||
config CAMERA_CORE1
|
||||
bool "CORE1"
|
||||
config CAMERA_NO_AFFINITY
|
||||
bool "NO_AFFINITY"
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
||||
Reference in New Issue
Block a user