Skip to content

Commit 97855e4

Browse files
MaochenWang1dleach02
authored andcommitted
mcux: hal_nxp: modify the sleep flag address between CPU2 and CPU3
Because of CPU2 scatter file imu flag address changed, so change the respond CPU3 imu sleep address. Signed-off-by: Maochen Wang <[email protected]>
1 parent db16496 commit 97855e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcux/mcux-sdk/components/rpmsg/fsl_adapter_rfimu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static uint8_t imu_task_flag = 0;
8888
#ifndef CPU2
8989
/*! Sleep flag address between CPU1 and CPU3 or CPU2 and CPU3 */
9090
#define IMU_SLEEP_FLAG13 0x4138248C
91-
#define IMU_SLEEP_FLAG23 0x443CFE88
91+
#define IMU_SLEEP_FLAG23 0x443C2588
9292
#define IMU_SLEEP_FLAG_ADDR(imuLinkId) \
9393
(((imuLinkId) == kIMU_LinkCpu1Cpu3) ? ((uint32_t *)IMU_SLEEP_FLAG13) : ((uint32_t *)IMU_SLEEP_FLAG23))
9494
#endif

0 commit comments

Comments
 (0)