From 2b035e88b60f64edb2ee1528406381273c1eddcb Mon Sep 17 00:00:00 2001 From: Dong Heng Date: Mon, 16 Mar 2020 18:50:27 +0800 Subject: [PATCH] fix(freertos): fix watch point overflow --- components/freertos/port/esp8266/os_cpu_a.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/freertos/port/esp8266/os_cpu_a.S b/components/freertos/port/esp8266/os_cpu_a.S index e0ba9a29..2f0dff50 100644 --- a/components/freertos/port/esp8266/os_cpu_a.S +++ b/components/freertos/port/esp8266/os_cpu_a.S @@ -101,11 +101,11 @@ _xt_int_exit: movi a2, pxCurrentTCB l32i a2, a2, 0 l32i a2, a2, 48 - movi a4, ~(0xf) + movi a4, ~(0x7) and a4, a4, a2 wsr a4, dbreaka0 - movi a3, 0xc0000030 + movi a3, 0xc0000038 wsr a3, dbreakc0 #endif @@ -245,11 +245,11 @@ _xt_enter_first_task: movi a2, pxCurrentTCB l32i a2, a2, 0 l32i a2, a2, 48 - movi a4, ~(0xf) + movi a4, ~(0x7) and a4, a4, a2 wsr a4, dbreaka0 - movi a3, 0xc0000030 + movi a3, 0xc0000038 wsr a3, dbreakc0 #endif