Search found 23 matches

by kozmotronik
Sat Nov 01, 2025 8:19 am
Forum: ESP IoT Solution
Topic: How to implement a multi-profile BLE server with NimBLE?
Replies: 0
Views: 6694

How to implement a multi-profile BLE server with NimBLE?

Hi everyone!

I have a case where I need to use a custom BLE profile + ESPBLE OTA profile on top of the NimBLE stack within the same project.

I already implemented my custom BLE profile which has its own init functions and callback implementations. However the ESP BLE OTA component also has its own ...
by kozmotronik
Fri Aug 29, 2025 10:47 am
Forum: ESP-IDF
Topic: NVS read and write take very long time (in QEMU)
Replies: 0
Views: 179

NVS read and write take very long time (in QEMU)

In unit tests of a component I develop, one of the time constrained tests was failing. I happened to profile the code that touches the NVS library. I discovered that NVS get and set functions take incredibly huge amount of time to execute, even longer than the nvs_commit function. In fact, I was ...
by kozmotronik
Thu Jul 24, 2025 11:31 am
Forum: IDEs for ESP-IDF
Topic: Exit idf.py monitor VSCode Server
Replies: 2
Views: 8581

Re: Exit idf.py monitor VSCode Server

The exact order to exit from IDF Monitor is:
  1. Press CTRL + T for menu escape
  2. Press X to exit
PS: The case of the letter makes no difference.
by kozmotronik
Thu Jul 24, 2025 8:07 am
Forum: IDEs for ESP-IDF
Topic: Can't Enable GCOV in VSCode
Replies: 3
Views: 5172

Re: Can't Enable GCOV in VSCode

Hi bignacio ,

Thanks for the answer, but the example does not help to solve the problem.

It turns out that this problem arises because the ESP-IDF can't find the configuration of the app_trace component. Although this wasn't mentioned in the relevant docs or the gcov example, the component should ...
by kozmotronik
Fri Jul 18, 2025 1:01 pm
Forum: ESP-IDF
Topic: esp-idf.py -T results in "Error: No such option: -T"
Replies: 1
Views: 2802

Re: esp-idf.py -T results in "Error: No such option: -T"

Testing with ESP-IDF is so difficult...

I am getting the same output as of 2025:

$ idf.py -T all build
Usage: idf.py [OPTIONS] COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]...
Try 'idf.py --help' for help.

Error: No such option: -T


So, what is the deal with this? Has the -T flag deprecated or it is ...
by kozmotronik
Thu Jul 10, 2025 12:21 pm
Forum: IDEs for ESP-IDF
Topic: How to set linux as target in Vscode?
Replies: 6
Views: 9134

Re: How to set linux as target in Vscode?

I think there is a bug in the VSCode ESP-IDF Extension. When I set target as linux from the UI and then build the code, it somehow builds the code but fails to generate/link the executable .elf file with the following message:

error: cannot parse "Memory Configuration" section in "/disk/Projeler ...
by kozmotronik
Wed Jul 09, 2025 7:28 am
Forum: IDEs for ESP-IDF
Topic: How to set linux as target in Vscode?
Replies: 6
Views: 9134

Re: How to set linux as target in Vscode?

It looks like I managed to set it by pressing the enter key when I'm asked for openocd config file. This sets the target as linux however the popup: "ESP-IDF: Setting device target..." never goes away as if the process hasn't terminated.
vscode-esp-idf-target-linux-popup.png
vscode-esp-idf-target-linux-popup.png (11.68 KiB) Viewed 9132 times
by kozmotronik
Wed Jul 09, 2025 6:58 am
Forum: IDEs for ESP-IDF
Topic: How to set linux as target in Vscode?
Replies: 6
Views: 9134

How to set linux as target in Vscode?

Hello everyone,

I am trying to write host tests for a custom component. I need set target as linux in order to execute the tests on the host machine. However I could not manage to set target to linux . In my environment, esp32c3 was already set as a target. When I try to select the target from the ...
by kozmotronik
Tue Jul 08, 2025 11:57 am
Forum: IDEs for ESP-IDF
Topic: Can't Enable GCOV in VSCode
Replies: 3
Views: 5172

Re: Can't Enable GCOV in VSCode

I've tried adding the path of the app_trace as IDF_PATH/components as below but didn't work.

I've also tried adding those config symbols to a sdkconfig.defaults file as below:

# For IDF 5.0
CONFIG_ESP_TASK_WDT_EN=n

# For IDF4.4
CONFIG_ESP_TASK_WDT=n

CONFIG_APPTRACE_DEST_UART=y
# CONFIG_APPTRACE ...
by kozmotronik
Tue Jul 08, 2025 11:11 am
Forum: IDEs for ESP-IDF
Topic: Can't Enable GCOV in VSCode
Replies: 3
Views: 5172

Can't Enable GCOV in VSCode

Hi,

I've tried to enable code coverage for unit testing in many ways but with no success. I follow instructions from https://docs.espressif.com/projects/vscode-esp-idf-extension/en/latest/additionalfeatures/coverage.html#esp-idf-coverage page.

According to this guide I need to execute the ...

Go to advanced search