mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
xtensa:esp32: enable cp processor of app core
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
This commit is contained in:
committed by
Abdelatif Guettouche
parent
7a6253cb89
commit
23d35336ad
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user