File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,10 @@ static void esp32_clock_perip_init(void)
154154#if !defined(CONFIG_SOC_SERIES_ESP32 )
155155 uint32_t common_perip_clk1 ;
156156#endif
157-
157+ /* Avoid APPCPU to mess with the clocks. */
158+ #if defined(CONFIG_SOC_ESP32_APPCPU ) || defined(CONFIG_SOC_ESP32S3_APPCPU )
159+ return ;
160+ #endif
158161 /* For reason that only reset CPU, do not disable the clocks
159162 * that have been enabled before reset.
160163 */
Original file line number Diff line number Diff line change @@ -216,9 +216,9 @@ static int esp32_ipm_init(const struct device *dev)
216216 data -> other_core_id = (data -> this_core_id == 0 ) ? 1 : 0 ;
217217
218218 LOG_DBG ("Size of IPM shared memory: %d" , data -> shm_size );
219- LOG_DBG ("Address of PRO_CPU IPM shared memory: %p" , data -> shm .pro_cpu_shm );
220- LOG_DBG ("Address of APP_CPU IPM shared memory: %p" , data -> shm .app_cpu_shm );
221- LOG_DBG ("Address of IPM control structure: %p" , data -> control );
219+ LOG_DBG ("Address of PRO_CPU IPM shared memory: %p" , ( void * ) data -> shm .pro_cpu_shm );
220+ LOG_DBG ("Address of APP_CPU IPM shared memory: %p" , ( void * ) data -> shm .app_cpu_shm );
221+ LOG_DBG ("Address of IPM control structure: %p" , ( void * ) data -> control );
222222
223223 /* pro_cpu is responsible to initialize the lock of shared memory */
224224 if (data -> this_core_id == 0 ) {
You can’t perform that action at this time.
0 commit comments