This looks like an assembler bug, because the relative offset is constant and not depending on the code preceeding the jumpr
Code: Select all
.text
nop
...
// 200 additional NOPs here
...
nop
jumpr bug,1,ge
nop
nop
nop
bug:
nop
https://github.com/espressif/binutils-esp32ulp/issues/4
Edit:
I worked around it by splitting the assembler files, see e.g.:
https://github.com/tomtor/ulp-i2c
and also:
https://github.com/espressif/esp-idf/pull/1092