Search found 8 matches

by mozufferey
Thu Nov 02, 2017 7:07 am
Forum: ESP-IDF
Topic: "gpio.h" 2 differents files
Replies: 2
Views: 5672

Re: "gpio.h" 2 differents files

I made some systematic analysis and found that many files are doubles, often same name with different content, I give here the full list as completion of this post. Note files and repository are alphabetic sorted. _types.h ./newlib/include/machine/_types.h ./newlib/include/sys/_types.h aes.h ./bt/bl...
by mozufferey
Wed Nov 01, 2017 8:52 pm
Forum: ESP-IDF
Topic: Preprocessor include "sdkconfig.h"
Replies: 0
Views: 4927

Preprocessor include "sdkconfig.h"

I meet some strange problem with new ESP_IDF. Basically I download the software from finger563 "esp32-wireless-display". with the ESP_IDF 2.0 this was working fine. I change to ESP_IDF 2.1 and at that point it didn't compile anymore. The error message is: C:/msys32/home/mozuf/esp/esp-idf/components/...
by mozufferey
Thu Oct 19, 2017 7:21 am
Forum: ESP-IDF
Topic: "gpio.h" 2 differents files
Replies: 2
Views: 5672

"gpio.h" 2 differents files

If found two files with the name gpio.h which are located 1) ~esp-idf\components\driver\include\driver\gpio.h 2) ~esp\esp-idf\components\esp32\include\rom\gpio.h In the SDK the two of them are clearly identify. e.g. in ~esp\esp-idf\components\driver\sdmmc_host.c #include "rom/gpio.h" #include "drive...
by mozufferey
Thu Sep 14, 2017 9:10 am
Forum: General Discussion
Topic: OpenOCD debug problem
Replies: 12
Views: 19777

Re: OpenOCD debug problem

Hello Gianluca,

I made it work with the Wrover-kit.

I dont know if the technique is OK but that how I do:

go to the correct subdirectory

cd ...../openocd-esp32/share/openocd/scripts

call openocd

./openocd -s tcl -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cf

Good luck,
by mozufferey
Wed Sep 13, 2017 10:28 pm
Forum: Report Bugs
Topic: Compilation error? (value<32 ) compiled as (value<31)
Replies: 2
Views: 5288

Re: Compilation error? (value<32 ) compiled as (value<31)

Many thanks to Wifive for his answer. You completely correct to point that the test is redundant and that the test with 40 (39) will be overwritten by the test with 34 (33). This is why my final test failed. I retested it with the debug and trace the code to see that it run correctly. Basically the ...
by mozufferey
Wed Sep 13, 2017 9:38 am
Forum: Report Bugs
Topic: Compilation error? (value<32 ) compiled as (value<31)
Replies: 2
Views: 5288

Compilation error? (value<32 ) compiled as (value<31)

I'm not sure about what I found here but this is quite worrying. I actually work with the "blinky" example of the esp32_IDF and debug it. Here is small extract of the code to make easier to understand the problem: void blink_task(void *pvParameter) { ...... while(1) { gpio_set_level(BLINK_GPIO, 0); ...
by mozufferey
Wed Sep 13, 2017 8:28 am
Forum: ESP-IDF
Topic: Problem With Eclipse (Need more info about setting a project)
Replies: 2
Views: 5212

Re: Problem With Eclipse (Need more info about setting a project)

In the mean time I have made significant progress and I kann use eclipse to compile and debug. ----------------------------- Wrong understanding ----------------------------------------- - I completely misunderstood what "Target" is for. As previously said I have different boards: A) ESP-EVB wich is...
by mozufferey
Thu Aug 10, 2017 9:08 pm
Forum: ESP-IDF
Topic: Problem With Eclipse (Need more info about setting a project)
Replies: 2
Views: 5212

Problem With Eclipse (Need more info about setting a project)

Hello, I'm quite new in the real of Eclipse and Unix. I've been using Keil IDE on the past, but now I'm struggling to set the Eclipse. Actually I bought two demo boards: - The ESP32-EVB (Rev.B) - The ESP-WROVER-KIT The working station is: - A PC (64 bits) with Windows 10 on it. The software I've ins...