Search found 9 matches

by ashelman-ec
Sat Feb 24, 2024 6:37 am
Forum: ESP IoT Solution
Topic: single iot-button with a range of long-hold intervals for different modes
Replies: 2
Views: 8010

Re: single iot-button with a range of long-hold intervals for different modes

I need similar functionality (distinguishing between press durations). Espressif had a quite sophisticated "touchpad" component in esp-iot-solution v1.0 (see code ). It was used to support the ESP32-Sense development board. It allows registration of multiple callbacks for presses of different durati...
by ashelman-ec
Tue Dec 27, 2022 9:20 am
Forum: ESP-IDF
Topic: VSCode is not including esp-idf/components/ path
Replies: 4
Views: 10617

Re: VSCode is not including esp-idf/components/ path

Note: I set up VS Code and ESP-IDF per the Espressif guide and building and running from within VS Code is working for me.
by ashelman-ec
Mon Dec 19, 2022 12:15 pm
Forum: ESP-IDF
Topic: Configure ESP32 app using Bluetooth
Replies: 1
Views: 1984

Re: Configure ESP32 app using Bluetooth

I am in the process of making a selection from the various options as well. Here is a list of what I found, along with a brief summary. Hopefully it will be helpful in making a selection appropriate for your use case. Indeed, there are a lot of choices! Unified Provisioning ( docs ) via WiFi or BLE,...
by ashelman-ec
Mon Dec 19, 2022 4:37 am
Forum: ESP-IDF
Topic: pre_encrypted_ota example fails in esp_encrypted_img_decrypt_end()
Replies: 0
Views: 1103

pre_encrypted_ota example fails in esp_encrypted_img_decrypt_end()

Has anyone gotten examples/system/ota/pre_encrypted_ota/ with ESP-IDF v5.0 and esp_encrypted_img v2.0.2 to run successfully?

For me it is failing in the esp_encrypted_img_decrypt_end() function call.

Details here:
https://github.com/espressif/idf-extra- ... issues/117
by ashelman-ec
Mon May 23, 2022 9:29 am
Forum: ESP-IDF
Topic: Unit tests for main app
Replies: 4
Views: 4607

Re: Unit tests for main app

FYI all,

For anyone looking for details on how to implement unit tests, refer to Espressif's examples / system / unit_test project.

For those using VS Code with the Espressif IDF extension, refer to this post for details on how to run the tests.
by ashelman-ec
Fri May 20, 2022 6:59 am
Forum: IDEs for ESP-IDF
Topic: Building and running unit_test example on vscode extension
Replies: 3
Views: 4802

Re: Building and running unit_test example on vscode extension

Next question: How to debug when running the unit tests?

I read here and tried the custom settings described here, but no luck.

When a unit test fails, it sure would be useful to run the debugger on it!

Anybody know how to do this?
by ashelman-ec
Wed May 18, 2022 2:17 pm
Forum: IDEs for ESP-IDF
Topic: getting the debugger working in VS Code
Replies: 9
Views: 34780

Re: getting the debugger working in VS Code

In the Windows terminal, the ampersand is used to separate two commands on one line.

In PowerShell, a semicolon is used instead.

Try this instead:

Code: Select all

 "command": "clear ; start openocd -c \"set ESP_RTOS none\" -f board/esp32-wrover-kit-3.3v.cfg ; exit"
by ashelman-ec
Wed May 18, 2022 1:35 pm
Forum: IDEs for ESP-IDF
Topic: Building and running unit_test example on vscode extension
Replies: 3
Views: 4802

Re: Building and running unit_test example on vscode extension

OK, so I am new to ESP32 and VS Code, but after studying about VS Code tasks , here is how I was able to build, flash, and run the unit tests for Espressif's examples / system / unit_test project. Basically, the .vscode/tasks.json file defines tasks (such as build, flash, clean, and monitor) and the...