Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bf8786c

Browse files
committed
Merge branch 'bugfix/fix_watch_point_watch_overflow' into 'master'
fix(freertos): fix watch point overflow See merge request sdk/ESP8266_RTOS_SDK!1337
2 parents 73d4f53 + 2b035e8 commit bf8786c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/freertos/port/esp8266/os_cpu_a.S

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ _xt_int_exit:
101101
movi a2, pxCurrentTCB
102102
l32i a2, a2, 0
103103
l32i a2, a2, 48
104-
movi a4, ~(0xf)
104+
movi a4, ~(0x7)
105105
and a4, a4, a2
106106
wsr a4, dbreaka0
107107

108-
movi a3, 0xc0000030
108+
movi a3, 0xc0000038
109109
wsr a3, dbreakc0
110110
#endif
111111

@@ -245,11 +245,11 @@ _xt_enter_first_task:
245245
movi a2, pxCurrentTCB
246246
l32i a2, a2, 0
247247
l32i a2, a2, 48
248-
movi a4, ~(0xf)
248+
movi a4, ~(0x7)
249249
and a4, a4, a2
250250
wsr a4, dbreaka0
251251

252-
movi a3, 0xc0000030
252+
movi a3, 0xc0000038
253253
wsr a3, dbreakc0
254254
#endif
255255

0 commit comments

Comments
 (0)