The syntax for the instruction ULP "jumpr eq" is not correct.
Posted: Sat Jan 04, 2020 2:58 pm
Good afternoon!
Trying to compile code:
System:
Trying to compile code:
But I get the error:move r3, tics_count
ld r0, r3, 0
sub r0, r0, 1
jumpr one_second, 10, eq
At the same time, such code is compiled and executed without errors:...
[1/5] Building ASM object CMakeFiles/ulp_main.dir/adc.ulp.S.obj
FAILED: CMakeFiles/ulp_main.dir/adc.ulp.S.obj
esp32ulp-elf-as .../ulp/cmake/-IC:/esp-idf/components/wifi_provisioning/include -o CMakeFiles/ulp_main.dir/adc.ulp.S.obj -c adc.ulp.S
...
adc.ulp.S: Assembler messages:
adc.ulp.S:87: Error: syntax error. Input text was eq.
adc.ulp.S:87: Error:
ninja: build stopped: subcommand failed.
...
Please tell me what could be the matter?move r3, tics_count
ld r0, r3, 0
sub r0, r0, 1
jumpr one_second, 10, lt
System:
Executing C:\Programs\Python\Python37\python.exe C:\esp-idf\tools\idf_tools.py list
* xtensa-esp32-elf: Toolchain for Xtensa (ESP32) based on GCC
- esp-2019r2-8.2.0 (recommended, installed)
* xtensa-esp32s2-elf: Toolchain for Xtensa (ESP32-S2) based on GCC
- esp-2019r2-8.2.0 (recommended, installed)
* esp32ulp-elf: Toolchain for ESP32 ULP coprocessor
- 2.28.51.20170517 (recommended, installed)
* cmake: CMake build system
- 3.13.4 (recommended, installed)
* openocd-esp32: OpenOCD for ESP32
- v0.10.0-esp32-20190708 (recommended)
* ninja: Ninja build system
- 1.9.0 (recommended, installed)
* idf-exe: IDF wrapper tool for Windows
- 1.0.1 (recommended, installed)
* ccache: Ccache (compiler cache)
- 3.7 (recommended, installed)