Search found 197 matches

by axellin
Fri Aug 20, 2021 2:34 am
Forum: ESP-IDF
Topic: invalid wifi event id 21
Replies: 3
Views: 2758

Re: invalid wifi event id 21

The wifi event id 21: WIFI_EVENT_STA_BEACON_TIMEOUT, /**< ESP32 station beacon timeout */

BTW, what kind of bug in v4.3?
IDF v4.3 is supposed to be more stable than master.
by axellin
Wed Jul 21, 2021 4:36 am
Forum: ESP-IDF
Topic: wifi:ieee80211_ioctl.c 1443
Replies: 6
Views: 5472

Re: wifi:ieee80211_ioctl.c 1443

Here's a better backtrace. So it appears the function "wifi_rf_phy_enable" is to blame. Perhaps it's spin-waiting for the phy to come up and that's blocked or slowed somehow? 0x400913af: panic_abort at /home/lee/esp/esp-idf/components/esp_system/panic.c:354 0x40091bb5: esp_system_abort at /home/lee...
by axellin
Wed Jul 21, 2021 1:25 am
Forum: ESP-IDF
Topic: wifi:ieee80211_ioctl.c 1443
Replies: 6
Views: 5472

Re: wifi:ieee80211_ioctl.c 1443

lcrocker wrote:
Tue Jul 20, 2021 11:28 pm
Here's a better backtrace. So it appears the function "wifi_rf_phy_enable" is to blame. Perhaps it's spin-waiting for the phy to come up and that's blocked or slowed somehow?
Can you create an issue on https://github.com/espressif/esp-idf/issues/new/choose
by axellin
Wed Jun 30, 2021 1:23 am
Forum: ESP-IDF
Topic: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?
Replies: 10
Views: 11469

Re: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?

Where is the release note for the new toolchain?
I want to figure out what is fixed/improved by 2021r1 toolchain?
by axellin
Tue Jun 29, 2021 6:21 am
Forum: ESP-IDF
Topic: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?
Replies: 10
Views: 11469

Re: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?

axellin wrote:
Tue Jun 29, 2021 5:32 am
Actually, I already tried it. After switching from master to v4.3 branch and running install.sh in v4.3, my toolchain is still 2021r1.
After running install.sh , I need to run export.sh again to make it work.
by axellin
Tue Jun 29, 2021 5:32 am
Forum: ESP-IDF
Topic: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?
Replies: 10
Views: 11469

Re: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?

We will update the 2021r1 toolchain on the release/v4.3 branch but not on the other branches. You shouldn't need to re-install the toolchain each time though, running install.sh script (or equivalent) again after changing branches should be enough. It will find the correct toolchain version and set...
by axellin
Tue Jun 29, 2021 1:46 am
Forum: ESP-IDF
Topic: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?
Replies: 10
Views: 11469

Re: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?

If the trend is to migrate to the latest 2021r1 gcc, I hope this migration
for other branches will be done ASAP.
It's really very inconvenience that switching branches needs to re-install
different version of toolchain.
by axellin
Mon Jun 28, 2021 7:21 am
Forum: ESP-IDF
Topic: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?
Replies: 10
Views: 11469

Re: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?

Oh.. Just try it.. Use 2021r1 gcc in v4.3 will cause build errors: /home/axel/esp/esp-idf/components/newlib/newlib_init.c:85:6: error: 'struct syscall_stub_table' has no member named '_retarget_lock_init'; did you mean '_lock_init'? ._retarget_lock_init = &__retarget_lock_init, ^~~~~~~~~~~~~~~~~~~ _...
by axellin
Mon Jun 28, 2021 6:57 am
Forum: ESP-IDF
Topic: Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?
Replies: 10
Views: 11469

Is it safe to build v4.3 or earlier versions using the 2021r1 gcc?

Hi, I notice recent esp-idf update includes a new toolchain: esp-2021r1. If I build esp-idf master with esp-2020r3, I got compile error: /home/axel/esp/esp-idf/components/newlib/locks.c:240:23: error: invalid application of 'sizeof' to incomplete type 'struct __lock' _Static_assert(sizeof(struct __l...