Search found 430 matches

by ESP_Angus
Tue Aug 22, 2017 11:54 pm
Forum: ESP32 SDK
Topic: Compile error with Compiler options - Optimization Level (Release (-Os))
Replies: 7
Views: 124

Re: Compile error with Compiler options - Optimization Level (Release (-Os))

⋅ For debugging: Enable all assertions ⋅ For testing (some debugging): enable silent assertions ⋅ For release: disable assersions (also add -DNDEBUG) More or less, yes. Regarding "release", I would suggest that keeping "silent assertions" in this ca...
by ESP_Angus
Tue Aug 22, 2017 11:50 pm
Forum: ESP32 SDK
Topic: Missing ESP32 option in make menuconfig
Replies: 8
Views: 167

Re: Missing ESP32 option in make menuconfig

Glad you got it sorted out. For the record, it sounds like something we've seen happen when IDF can't find all the components, either because of IDF_PATH setting or because of something weird happened with the directory structure. Or if you have components in the project's "components" dir...
by ESP_Angus
Tue Aug 22, 2017 11:47 pm
Forum: ESP32 SDK
Topic: Error "wpa_crypto_funcs = g_wifi_default_wpa_crypto_funcs" initializer is not constant
Replies: 2
Views: 15

Re: Error "wpa_crypto_funcs = g_wifi_default_wpa_crypto_funcs" initializer is not constant

The way the WIFI_INIT_CONFIG_DEFAULT() macro is written, it can't be used to initialize a globally scoped variable. What I mean is, if this line: wifi_init_config_t wifi_cfg = WIFI_INIT_CONFIG_DEFAULT() ; Is a local ("automatic") variable inside a function, it will be fine. But if the decl...
by ESP_Angus
Tue Aug 22, 2017 11:36 pm
Forum: General Discussion
Topic: Source Subdirectories
Replies: 5
Views: 75

Re: Source Subdirectories

I upgraded my IDF to the latest version, but now my project will not build. I get error like the following: Sorry, this is a different bug in the current IDF master branch. You can work around it in one of two ways: ⋅  Enable AMPDU in Component Config -> Wifi Settings ⋅  Or, com...
by ESP_Angus
Tue Aug 22, 2017 11:31 pm
Forum: ESP32 SDK
Topic: Eclipse (Windows) does not find headers in components
Replies: 2
Views: 27

Re: Eclipse (Windows) does not find headers in components

Then i added a component and included the "esp_log.h" in the components .cpp (yes, the component is written in C++) as well, assuming there should be no problem, since eclipse should already know about this file. It seems it doesn't. The file is marked as unknown and functions defined in ...
by ESP_Angus
Tue Aug 22, 2017 4:28 am
Forum: ESP32 HDK
Topic: WiFi power spikes
Replies: 4
Views: 101

Re: WiFi power spikes

How much (low ESR) capacitance do you have on the VCC rail? You should be able to smooth these TX current spikes quite a bit via capacitance.
by ESP_Angus
Tue Aug 22, 2017 4:17 am
Forum: ESP32 SDK
Topic: esp-idf examples fail
Replies: 6
Views: 87

Re: *SOLVED* Re: esp-idf examples fail

For some reason, this hello_world example app uses more power or something and it was drawing too much current and causing the board to reboot when the application started. I switched over to a 300mA 3.0V LDO and now it works fine. Any idea why this app would draw more current causing a reboot? See...
by ESP_Angus
Tue Aug 22, 2017 3:00 am
Forum: ESP32 SDK
Topic: Compile error with Compiler options - Optimization Level (Release (-Os))
Replies: 7
Views: 124

Re: Compile error with Compiler options - Optimization Level (Release (-Os))

Thanks for reporting this folks. I actually submitted a PR about this to the nghttp2 project and they fixed it in nghttp2 v1.24. We had that version in IDF already but it looks like an unrelated commit accidentally rolled it back to v1.22 back in June. We will get this fixed ASAP. (BTW, where possib...
by ESP_Angus
Tue Aug 22, 2017 2:51 am
Forum: General Discussion
Topic: Source Subdirectories
Replies: 5
Views: 75

Re: Source Subdirectories

Thanks Greg. We saw a bug like this a while ago, but I thought we had fixed it - maybe not. Can you please confirm which IDF version you are using?

Angus
by ESP_Angus
Tue Aug 22, 2017 2:37 am
Forum: ESP32 SDK
Topic: esp-idf examples fail
Replies: 6
Views: 87

Re: esp-idf examples fail

Hi Reza, Does it reboot immediately or after 10 seconds? I'm asking because the behaviour of the "hello world" example is to print some output on stdout, and then reboot after 10 seconds. It looks like output stops at the time the FreeRTOS scheduler starts running. It's possible this is be...

Go to advanced search