Search found 2 matches

by Fredrik
Wed Jun 25, 2025 9:00 pm
Forum: ESP-IDF
Topic: When is overflow flag set for SUB instruction?
Replies: 0
Views: 84

When is overflow flag set for SUB instruction?

It seems that in the provided code example the ov flag is set when the result of a SUB instruction is negative or am I wrong?

/* compare with low_thr; wake up if value < low_thr */
move r3, low_thr
ld r3, r3, 0
sub r3, r0, r3
jump wake_up, ov

https://github.com/espressif/esp-idf/blob/v5.4.1 ...
by Fredrik
Fri Feb 14, 2020 9:29 pm
Forum: ESP-IDF
Topic: [Solved] Being a WiFi station but not using DHCP ...
Replies: 4
Views: 14616

Re: [Solved] Being a WiFi station but not using DHCP ...

tcpip_adapter_dhcpc_stop(TCPIP_ADAPTER_IF_STA) returns ESP_ERR_TCPIP_ADAPTER_INVALID_PARAMS for me.

I guess it works on some versions.
So is there a way to set a static ip?

Go to advanced search