Search found 1063 matches

by ESP_Angus
Tue Aug 21, 2018 4:41 am
Forum: ESP32 IDF
Topic: ESP-IDF V3.1-rc1 prerelease is available
Replies: 0
Views: 59

ESP-IDF V3.1-rc1 prerelease is available

This is the first Release Candidate for ESP-IDF V3.1:
https://github.com/espressif/esp-idf/re ... g/v3.1-rc1

(The current stable release is V3.0.3)
by ESP_Angus
Mon Aug 20, 2018 11:44 pm
Forum: ESP32 IDF
Topic: ESP_EARLY_LOG during interrupt and critical section in new CAN driver leads to Guru Meditation
Replies: 3
Views: 71

Re: ESP_EARLY_LOG during interrupt and critical section in new CAN driver leads to Guru Meditation

Hi jcsbanks, The ESP_LOGx APIs (which use printf) are not interrupt safe. ESP_EARLY_LOGx APIs bypass printf and use a ROM routine to write directly to the UART peripheral, so it is safe to call them in ISRs (this is why they're being used here). (The downside to them is that they don't do any softwa...
by ESP_Angus
Mon Aug 20, 2018 7:43 am
Forum: Hardware
Topic: Cannot run app on ESP32 from an external battery
Replies: 4
Views: 126

Re: Cannot run app on ESP32 from an external battery

Which pins on the development board are you connecting the 3.4V out of the battery to?
by ESP_Angus
Sun Aug 19, 2018 11:49 pm
Forum: ESP32 IDF
Topic: AWS IoT SDK integration
Replies: 5
Views: 141

Re: AWS IoT SDK integration

(If you need high frequency updates, it may be better to use raw AWS MQTT messages rather than the shadow API. Probably cheaper, too!)
by ESP_Angus
Sun Aug 19, 2018 11:48 pm
Forum: ESP32 IDF
Topic: AWS IoT SDK integration
Replies: 5
Views: 141

Re: AWS IoT SDK integration

One question - if I change the while loop interval to reduce the rate of shadow updates past ~5 seconds then I get timeout errors from the shadow. https://forums.aws.amazon.com/thread.jspa?threadID=233180 suggests that there was a keepalive variable, but the only one I can see in the esp-idf/compon...
by ESP_Angus
Sun Aug 19, 2018 11:24 pm
Forum: ESP32 IDF
Topic: Flash encryption and boot secure with esptool
Replies: 3
Views: 120

Re: Flash encryption and boot secure with esptool

Hi ctacb, If you're pre-generating the key then the steps for flash encryption are the ones shown here: https://docs.espressif.com/projects/esp-idf/en/latest/security/flash-encryption.html#reflashing-via-pregenerated-flash-encryption-key For the first boot, you generate a key and flash with espefuse...
by ESP_Angus
Fri Aug 17, 2018 12:12 am
Forum: ESP32 IDF
Topic: AWS IoT SDK integration
Replies: 5
Views: 141

Re: AWS IoT SDK integration

Hi Matt, ESP-IDF bundles the AWS IoT C SDK, so it shouldn't be necessary to include the AWS IoT SDK code directly in your project. However, to save compile time the AWS IoT component is disabled by default. You can enable it under "Component Config" when running "make menuconfig"...
by ESP_Angus
Wed Aug 15, 2018 1:21 am
Forum: ESP32 IDF
Topic: Avoiding race condition between interrupt on one core and task on the other core
Replies: 5
Views: 190

Re: Avoiding race condition between interrupt on one core and task on the other core

There is a (it seems undocumented, will see about changing this) spinlock ("portmux") macro called: /** @brief Acquire a portmux spinlock with a timeout * * @param mux Pointer to portmux to acquire. * @param timeout_cycles Timeout to spin, in CPU cycles. Pass portMUX_NO_TIMEOUT to wait for...
by ESP_Angus
Tue Aug 14, 2018 11:56 pm
Forum: ESP32 IDF
Topic: Including source in subdirectory tree - had a working solution, now I've broken it :)
Replies: 2
Views: 81

Re: Including source in subdirectory tree - had a working solution, now I've broken it :)

Hi jcsbanks, I think you probably don't want the "-maxdepth 1" argument to find, this will cause "find" to list top-level directories only and not recurse any deeper. A tip which is useful for debugging Makefiles, you can add a line like this at the bottom of your component.mk: $...
by ESP_Angus
Tue Aug 14, 2018 6:22 am
Forum: ESP32 IDF
Topic: Need information like when ESP32 BT Stack will be certified
Replies: 15
Views: 464

Re: Need information like when ESP32 BT Stack will be certified

Sorry for the delay. This question has been passed onto the Bluetooth team and an official answer should be posted soon.

Go to advanced search