hello
I program in riscv assembler on the pico2 and without the SDK. To use cores 0 and 1 I have to use the sev and wfe instructions
But these instructions do not exist in riscv on the pico2. I looked at the assembler code generated by the SDK on the ADC temperature measurement example and it uses the sgtz zero,ra and sltz zero,zero instructions.
If I put these instructions in my assembler program it works.
But what is their role because it is curious and unrelated to the sev and wfe instructions?
Thanck
I program in riscv assembler on the pico2 and without the SDK. To use cores 0 and 1 I have to use the sev and wfe instructions
But these instructions do not exist in riscv on the pico2. I looked at the assembler code generated by the SDK on the ADC temperature measurement example and it uses the sgtz zero,ra and sltz zero,zero instructions.
If I put these instructions in my assembler program it works.
But what is their role because it is curious and unrelated to the sev and wfe instructions?
Thanck
Statistics: Posted by VincentARM — Fri Mar 07, 2025 5:13 pm — Replies 1 — Views 79