Search found 13 matches

by ashigupta9
Thu Aug 05, 2021 5:14 pm
Forum: ESP-IDF
Topic: How to add all include folders and source files of project in CMakeList.txt
Replies: 3
Views: 8335

Re: How to add all include folders and source files of project in CMakeList.txt

zliudr sry for the late response. I am registering all my folders in project level CMakelists.txt first. Below is the format of the same ########################################################################## # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VER...
by ashigupta9
Fri Jun 25, 2021 6:32 pm
Forum: General Discussion
Topic: ESP32 Project Build time
Replies: 5
Views: 5330

Re: ESP32 Project Build time

I am using ESP-IDF v4.2 and Eclipse. ( Windows 10, i7 with 32GB RAM ). Compile time depends on number of components enabled in esp-idf or project files. I have many files in my project and also using many esp-idf components and re-build ( Clean and Build) time is still 12-15 mins. Let me know if som...
by ashigupta9
Fri Jun 25, 2021 6:20 pm
Forum: ESP-IDF
Topic: How to add all include folders and source files of project in CMakeList.txt
Replies: 3
Views: 8335

Re: How to add all include folders and source files of project in CMakeList.txt

I am able to find solution for this problem . Below is the CMakeLists.txt format i am using set( srcs "xyz.cpp") set (include_dirs "include") // PAth to header file folder idf_component_register( SRCS "${srcs}" INCLUDE_DIRS "${include_dirs} )" Note: I don't wanted to use "Component" folder name in m...
by ashigupta9
Fri Jun 25, 2021 6:17 pm
Forum: ESP-IDF
Topic: ESP32 GDB debugging not working
Replies: 3
Views: 3560

Re: ESP32 GDB debugging not working

I am able to fix this problem with the help of espressif support by using below openOCD version https://github.com/espressif/openocd-esp32/releases/tag/v0.10.0-esp32-20210401 Cfg file used for debugging is -f interface/ftdi/esp32_devkitj_v1.cfg -f target/esp32-solo-1.cfg Also it is required to power...
by ashigupta9
Mon May 24, 2021 1:48 pm
Forum: ESP-IDF
Topic: ESP32 GDB debugging not working
Replies: 3
Views: 3560

Re: ESP32 GDB debugging not working

Have you find any solution for this issue? I am also seeing similar logs and debugging just won't start though flashing is working fine.
by ashigupta9
Fri Mar 19, 2021 3:23 pm
Forum: ESP-IDF
Topic: How to add all include folders and source files of project in CMakeList.txt
Replies: 3
Views: 8335

How to add all include folders and source files of project in CMakeList.txt

Hello, I am using ESP-IDV v4.2 on Eclipse along with ESP-IDF plugin and I am able to compile ESP-IDF example codes and testing the same on ESP32-Wrover-B. I want to include all source files i.e. "*.cpp" and include files "*.h" of complete project in CMakeList.txt. I have around hundred of .cpp and ....
by ashigupta9
Wed Sep 30, 2020 2:45 pm
Forum: General Discussion
Topic: ESP32 Project Build time
Replies: 5
Views: 5330

Re: ESP32 Project Build time

i have also tried using ESP-IDF command prompt but still the build time is almost same.
No specific reason of using GNU.
by ashigupta9
Wed Sep 30, 2020 8:21 am
Forum: General Discussion
Topic: ESP32 Project Build time
Replies: 5
Views: 5330

ESP32 Project Build time

Hello All, This is regarding the build time of ESP32 Project on windows 10 machine. I have tried using Eclipse / mingw32 / esp-idf command prompt but the build time for my project is very high i.e. it almost takes 5 mins to build my project and similar time for clean and flash. My project has just L...
by ashigupta9
Wed Dec 18, 2019 5:40 pm
Forum: General Discussion
Topic: Unable to find include files in freertos folder
Replies: 8
Views: 12032

Unable to find include files in freertos folder

Hi,

In my application i am including freertos files like this #include"freertos/FreeRTOSConfig.h" and this works however if i add only FreeRTOSConfig.h i get a fatal error " FreeRTOS.h: No such file or directory".

Is there any solution of how i can do this.

Regards,
AG
by ashigupta9
Fri Dec 06, 2019 1:39 pm
Forum: General Discussion
Topic: Need to enable and disable all interrupts
Replies: 8
Views: 9350

Re: Need to enable and disable all interrupts

And what would you need *that* for? (Asking because we may have an xy problem here.) I believe there are multiple reasons where someone wants to disable all interrupts when some critical section is getting executed. In my case particularly, i want to have a RAM test at startup and i would not want ...