Search found 97 matches

by rwel59
Fri Nov 30, 2018 2:37 pm
Forum: General Discussion
Topic: Error using Windows CMake configuration
Replies: 5
Views: 6766

Re: Error using Windows CMake configuration

Angus, sorry for delay, for some reason I'm not receiving notifications. I ran python -m pip --version and got pip 18.0 from c:\python\lib\site-packages\pip (python 2.7) I am using windows command prompt. Have also tried powershell from within vscode. I do not have any other version of python instal...
by rwel59
Wed Nov 07, 2018 1:49 pm
Forum: General Discussion
Topic: Error using Windows CMake configuration
Replies: 5
Views: 6766

Error using Windows CMake configuration

I've been trying to get espidf working in a windows environment for awhile. Had msys/mingw working but very very slow. I just found the docs for using CMake instead. I followed the default install steps exactly as stated in the docs. When I got to the idf.py menuconfig step, I get the following erro...
by rwel59
Tue Oct 09, 2018 12:48 pm
Forum: General Discussion
Topic: ESP 32 is not connecting to wifi after using external power.
Replies: 2
Views: 5303

Re: ESP 32 is not connecting to wifi after using external power.

I had the exact same issue with external power supply. My power supply has 1 amp capacity so it should be starved for power. I am using DevKitC's and have had the issue on all of them. I have been ignoring the issue for months. We are hoping to move into production in a few months and building our o...
by rwel59
Tue Apr 24, 2018 12:32 am
Forum: General Discussion
Topic: ERROR running ADC Example: invalid conversion from 'void*'
Replies: 4
Views: 7654

Re: ERROR running ADC Example: invalid conversion from 'void*'

Angus,
that is exactly what I did. just started looking at using the ADC's and copied the code from the espidf example.

thanks, I will keep that in mind next time I cut & paste.
by rwel59
Sat Apr 21, 2018 6:14 pm
Forum: General Discussion
Topic: ERROR running ADC Example: invalid conversion from 'void*'
Replies: 4
Views: 7654

ERROR running ADC Example: invalid conversion from 'void*'

starting on some adc stuff and grabbed the example ( esp-idf/examples/peripherals/adc/main/adc1_example_main.c) compiler errors out on this line: adc_chars = calloc(1, sizeof(esp_adc_cal_characteristics_t)); with the following error: error: invalid conversion from 'void*' to 'esp_adc_cal_characteris...
by rwel59
Mon Apr 02, 2018 11:44 am
Forum: General Discussion
Topic: Functions to display current tasks and memory usage
Replies: 8
Views: 21389

Re: Functions to display current tasks and memory usage

I'm assuming that turning on the trace will impact size (and maybe performance)? Are there any non-debugging facilities available to get this info as part of 'normal' code operations?
by rwel59
Mon Apr 02, 2018 3:03 am
Forum: General Discussion
Topic: Functions to display current tasks and memory usage
Replies: 8
Views: 21389

Functions to display current tasks and memory usage

I thought that I had seen references to a couple of functions but having trouble finding them again (or maybe it was my imagination). - Is there a function that I can call in code to determine what tasks are currently running, or at least if a specific (named) task is running - Is there a function t...
by rwel59
Fri Mar 30, 2018 5:31 pm
Forum: ESP-IDF
Topic: cJSON std::string heap corruption crash
Replies: 4
Views: 7253

Re: cJSON std::string heap corruption crash

UPDATE: Couple of observations. I had my setup structure defined in another cpp (stores.cpp) and declared extern in TransformJSON.cpp - this was the situation when getting the crash. I defined a new structure variable in transformJSON.cpp and did not get the failure. I am loading the setup struct fr...
by rwel59
Fri Mar 30, 2018 2:22 pm
Forum: ESP-IDF
Topic: cJSON std::string heap corruption crash
Replies: 4
Views: 7253

Re: cJSON std::string heap corruption crash

Added more error checks to validate json. code runs until setting the struct variable to obj.getString then fails... CODE: case SET_NETWORK: ESP_LOGI(TAG, "getFreeHeapSize %d", System::getFreeHeapSize()); ESP_LOGI(TAG, "SET_NETWORK %d", heap_caps_check_integrity_all(true)); ESP_LOGI(TAG, "SET_NETWOR...