Search found 3 matches

by michal1
Wed Dec 04, 2019 4:57 pm
Forum: ESP-IDF
Topic: 32-character long WiFi SSID Support
Replies: 1
Views: 3871

32-character long WiFi SSID Support

Hi all, I was just wondering whether the IDF supports connecting to WiFi networks with 32-character long SSIDs? It seems that the ssid field in wifi_sta_config_t is only 32 characters long and NULL-terminated, making the maximal length 31. The IEEE standard (802.11) however specifies that the maxima...
by michal1
Wed May 15, 2019 4:33 pm
Forum: Report Bugs
Topic: Bug in FPU Coprocessor float division?
Replies: 7
Views: 10763

Re: Bug in FPU Coprocessor float division?

It turns out there is a bug in divsf() implementation in https://github.com/espressif/esp-idf/blob/aaf12390eb14b95589acd98db5c268a2e56bb67e/components/esp32/test/test_fp.c I believe the correct implemenation should be: float divsf(float a, float b) { float result; asm volatile ( "wfr f0, %1\n" "wfr ...
by michal1
Tue May 14, 2019 8:03 pm
Forum: Report Bugs
Topic: Bug in FPU Coprocessor float division?
Replies: 7
Views: 10763

Bug in FPU Coprocessor float division?

Hello, I have noticed that using the native FPU division instructions leads to unexpected results when dividing two floating numbers of significantly different exponents. It seems that if a division operator is used in C code, gcc inserts a call to __divsf3() which does not use the native FPU divisi...