Search found 214 matches

by f.h-f.s.
Fri Nov 10, 2017 9:56 am
Forum: ESP-IDF
Topic: [SOLVED] Eclipse SDK cannot find certain files when building.
Replies: 9
Views: 16117

Re: Eclipse SDK cannot find certain files when building.

You are able to build using the msys2 terminal?
by f.h-f.s.
Thu Nov 09, 2017 8:48 am
Forum: ESP-IDF
Topic: [SOLVED] Eclipse SDK cannot find certain files when building.
Replies: 9
Views: 16117

Re: Eclipse SDK cannot find certain files when building.

Could you try using the python2.7.exe included in msys2? From the windows commandline I can build by executing: "C:\Path\To\Project>C:\msys2\usr\bin\python2.7.exe esp-idf\tools\windows\eclipse_make.py" windows commandline current working directory is your project. "C:\Path\To\Project>" explicit path...
by f.h-f.s.
Wed Nov 08, 2017 11:49 am
Forum: General Discussion
Topic: How to get "CPU load" and "Memory Usage"
Replies: 18
Views: 52995

Re: How to get "CPU load" and "Memory Usage"

You can also loop though all running tasks and get the TaskStatus_t for each task. Which contains usStackHighWaterMark. if CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is defined you can also get vTaskGetRunTimeStats or ulRunTimeCounter from TaskStatus_t, although you might have to do some things to get ...
by f.h-f.s.
Wed Nov 08, 2017 9:44 am
Forum: ESP-IDF
Topic: [SOLVED] Eclipse SDK cannot find certain files when building.
Replies: 9
Views: 16117

Re: Eclipse SDK cannot find certain files when building.

What happens if you add variable IDF_PATH:'/c/espIDF/esp-idf' to your windows environment variables? Also i see "C:\MinGW\bin;" added to your path, does this contain a make.exe? The build should use the make program from the "/usr/bin/" folder relative to your msys2 toolchain folder (e.g. /c/msys2/u...
by f.h-f.s.
Wed Nov 08, 2017 9:31 am
Forum: Report Bugs
Topic: make monitor does not work on Win 7
Replies: 4
Views: 7148

Re: make monitor does not work on Win 7

Are you able to run python from your msys2 terminal window?
something like: "python /path/to/esp-idf/tools/idf_monitor.py --port COM6 --baud 115200 /path/to/build/myproject.elf"
or "/mingw32/bin/python /path/to/esp-idf/tools/idf_monitor.py --port COM6 --baud 115200 /path/to/build/myproject.elf"
by f.h-f.s.
Thu Nov 02, 2017 1:43 pm
Forum: ESP-IDF
Topic: Unable to read characteristics since new API
Replies: 1
Views: 4066

Re: Unable to read characteristics since new API

esp_ble_gattc_get_char_by_uuid() returns a type that contains a char_handle.
My problem was I didnt know the handle is not the same as a 16bit uuid.
by f.h-f.s.
Tue Oct 31, 2017 12:36 pm
Forum: ESP-IDF
Topic: Unable to read characteristics since new API
Replies: 1
Views: 4066

Unable to read characteristics since new API

Since the new GATTC API I am unable to read the characteristics. The same flow is used. Scan for advertising devices and gattc_open the proper device. A GATTC_CONNECT event is followed by a GATTC_OPEN event. A ESP_GAP_BLE_SEC_REQ_EVT is raised and we respond with true. The devices successfully pair ...
by f.h-f.s.
Sun Oct 22, 2017 10:39 am
Forum: General Discussion
Topic: Including mbedtls - undefined references
Replies: 1
Views: 4315

Re: Including mbedtls - undefined references

You should not have to copy the mbedtls folder to your own components folder. What happens when you try to build the https example(it uses the mbedtls component)? https://github.com/espressif/esp-idf/tree/master/examples/protocols/https_request If you have set up everything correctly you should be a...
by f.h-f.s.
Wed Oct 18, 2017 8:52 am
Forum: ESP-IDF
Topic: vfs_fat_spiflash: esp_vfs_fat_register failed 0x(101)
Replies: 0
Views: 3417

vfs_fat_spiflash: esp_vfs_fat_register failed 0x(101)

Hi all, I added the wear-level FAT filesystem to my project. Had low memory at the startup so I added a delay before I started the vfs and it works. Then I wanted to move the startup of vfs to a callback I get when my connections are set up. When I start vfs at that point, esp_vfs_fat_register fails...
by f.h-f.s.
Fri Oct 13, 2017 10:33 am
Forum: ESP-IDF
Topic: gattc open issue
Replies: 10
Views: 20597

Re: gattc open issue

Disconnect Reason 0x003E meant BLE_HCI_CONN_FAILED_TO_BE_ESTABLISHED https://devzone.nordicsemi.com/question/37528/connection-is-disconnected-automatically/ https://devzone.nordicsemi.com/question/41570/unknown-hci-errors/ Some more information, reasons for this error. There is a closed issue with ...