Search found 1978 matches

by ESP_Angus
Wed Jan 29, 2020 4:56 am
Forum: ESP32 IDF
Topic: C++ Atomics implemented?
Replies: 1
Views: 105

Re: C++ Atomics implemented?

C++ atomic should work for all types up to but not including 64-bit wide types.

The libstdc++ implementation uses stdatomic.h internally, so anything that works with stdatomic.h should work with STL atomics.
by ESP_Angus
Wed Jan 29, 2020 4:54 am
Forum: ESP32 IDF
Topic: CMake components in distant folders
Replies: 1
Views: 83

Re: CMake components in distant folders

Hi malachi, It should be possible to use the general structure you describe with the ESP-IDF CMake build system. (It's also possible to colour way outside the lines and do anything CMake lets you do , but this is outside the scope of the advice I'm able to give you.) Judging from the info above, you...
by ESP_Angus
Wed Jan 29, 2020 4:44 am
Forum: ESP32 IDF
Topic: Flash Encryption & Pre Generated Key , must manually burn efuses ?
Replies: 2
Views: 61

Re: Flash Encryption & Pre Generated Key , must manually burn efuses ?

Let's say I have this scenario -Firmware is in plainText -No Flash Encryption Enabled -No keys , efuses burned .. chip is brand new Now .. I -Generate a Flash Encryption Key -Burn it to efuse -didn't burn any efuses manually (no encrypt_cnt , cnf ..etc ) -Now I open menuconfig , enable flash encryp...
by ESP_Angus
Tue Jan 28, 2020 5:15 am
Forum: ESP32 IDF
Topic: Multiple C files compiled together using the CMakeLists
Replies: 3
Views: 197

Re: Multiple C files compiled together using the CMakeLists

Hi Palonso, Does the src1.c file have the same contents in all 3 places? This can't work in C, you can only define a global name in one place and then anywhere else you can use an "extern TYPE NAME;" type declaration to link to the definition in the other source file. You can google for "declaration...
by ESP_Angus
Fri Jan 24, 2020 2:32 am
Forum: ESP32 IDF
Topic: Initialising global cpp objects on specific core
Replies: 1
Views: 105

Re: Initialising global cpp objects on specific core

Hi oreskovic, Global constructors run on CPU 0 during the early part of the boot process. Note that the RTOS scheduler is not running at this point, so there are some limits in what can be done (you can create data structures including tasks, queues, semaphores, etc but you can't use them yet.) If y...
by ESP_Angus
Fri Jan 24, 2020 2:25 am
Forum: Hardware
Topic: ESP32 can get in bootloader mode after deep sleep
Replies: 1
Views: 163

Re: ESP32 can get in bootloader mode after deep sleep

Hi Matheus,

Is it possible the chip is bootstrapping into the wrong mode when it wakes up? What GPIOs are connected to it? Suggest cross-referencing against the list of strapping pins in the ESP32 datasheet.

Are you able to monitor the serial output when the ESP32 wakes up?

Angus
by ESP_Angus
Thu Jan 23, 2020 4:17 am
Forum: ESP32 Arduino
Topic: Esp32 & arduino IDE (serial monitor fail)
Replies: 1
Views: 149

Re: Esp32 & arduino IDE (serial monitor fail)

The bootloader is crashing before it can load your sketch. It may be a hardware issue of some kind (what ESP32 dev board are you using?) or it might be a configuration issue. I notice from the log ("clk div: 1") that the SPI Flash clock is set to 80MHz. Try changing it to 40MHz or 20MHz in the board...
by ESP_Angus
Thu Jan 23, 2020 4:14 am
Forum: ESP32 IDF
Topic: Requires necessary?
Replies: 1
Views: 106

Re: Requires necessary?

Hi Alex, There are a description and an example in the build system docs for master branch: https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html#component-requirements (This applies to v4.1, v4.2 but basically the same thing applies to v4.0 just some of the syntax is di...
by ESP_Angus
Wed Jan 22, 2020 11:14 pm
Forum: General Discussion
Topic: Trouble powering ESP32 using Raspberry Pi
Replies: 10
Views: 541

Re: Trouble powering ESP32 using Raspberry Pi

The board works just fine when it's not using much power. I have a BME680 connected to it that saves it's state into RTC. There's also a LED that's usually off. All works fine at this point. But when the LED is turned on, `gpio_deep_sleep_hold_en()` is called and the board goes into deep sleep for ...
by ESP_Angus
Wed Jan 22, 2020 3:19 am
Forum: General Discussion
Topic: Latest ESP-IDF compilation error
Replies: 7
Views: 1004

Re: Latest ESP-IDF compilation error

Hi Elektrik,

What ESP-IDF version are you using? Do you get any warnings from the build system about the toolchain not being the version that is expected?

Thanks,

Angus

Go to advanced search