xtensa:esp32: enable cp processor of app core
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
parent
7a6253cb89
commit
23d35336ad
2 changed files with 8 additions and 0 deletions
|
|
@ -196,6 +196,10 @@ void IRAM_ATTR xtensa_appcpu_start(void)
|
|||
up_irq_enable();
|
||||
#endif
|
||||
|
||||
#if XCHAL_CP_NUM > 0
|
||||
xtensa_set_cpenable(CONFIG_XTENSA_CP_INITSET);
|
||||
#endif
|
||||
|
||||
/* Then switch contexts. This instantiates the exception context of the
|
||||
* tcb at the head of the assigned task list. In this case, this should
|
||||
* be the CPUs NULL task.
|
||||
|
|
|
|||
|
|
@ -164,6 +164,10 @@ void xtensa_appcpu_start(void)
|
|||
up_irq_enable();
|
||||
#endif
|
||||
|
||||
#if XCHAL_CP_NUM > 0
|
||||
xtensa_set_cpenable(CONFIG_XTENSA_CP_INITSET);
|
||||
#endif
|
||||
|
||||
/* Then switch contexts. This instantiates the exception context of the
|
||||
* tcb at the head of the assigned task list. In this case, this should
|
||||
* be the CPUs NULL task.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue