Hi,
I'm new to ESP32
i saw some examples that use make file to create a program
how can i built a program from scratch in eclipse? without the use of make?
for instance, blink project?
create program from scratch without make
-
- Posts: 6
- Joined: Tue Nov 13, 2018 6:23 am
-
- Posts: 47
- Joined: Thu Dec 20, 2018 9:47 am
-
- Posts: 6
- Joined: Tue Nov 13, 2018 6:23 am
Re: create program from scratch without make
Hi,
Thank you for the reply
however, i've seen most of the examples and they using make files, and i don't know how to add another library
for instance, in the blink example i want to add esp_bt_dev_get_address which in bt/bluedroid/api/include but i can't
I want to start a new program in eclipse write the program i want, attach the includes myself and libraries
and then build and flush
Is it possible?
i know that the examples are build with make files.
It's fine for me the create make file from my program and then build and flush it with the make command.
Thank you for the reply
however, i've seen most of the examples and they using make files, and i don't know how to add another library
for instance, in the blink example i want to add esp_bt_dev_get_address which in bt/bluedroid/api/include but i can't
I want to start a new program in eclipse write the program i want, attach the includes myself and libraries
and then build and flush
Is it possible?
i know that the examples are build with make files.
It's fine for me the create make file from my program and then build and flush it with the make command.
-
- Posts: 47
- Joined: Thu Dec 20, 2018 9:47 am
Re: create program from scratch without make
Take a look at this video: https://www.youtube.com/watch?v=-ttiPfmrehU
At 4:08 the video describes how to configure where to look for header files, including those in components/bt/bluedroid/api/include.
The file used to import the include path settings in the video is part of ESP32 Snippets and can be found here: https://github.com/nkolban/esp32-snippe ... cludes.xml
Note that the video is about building a C++ application using Eclipse.
At 4:08 the video describes how to configure where to look for header files, including those in components/bt/bluedroid/api/include.
The file used to import the include path settings in the video is part of ESP32 Snippets and can be found here: https://github.com/nkolban/esp32-snippe ... cludes.xml
Note that the video is about building a C++ application using Eclipse.
-
- Posts: 6
- Joined: Tue Nov 13, 2018 6:23 am
Re: create program from scratch without make
Thank you for the link
i've watched the video
i've import the xml
i've encounter a problem: cygwin/types:no such file or directory
so i've creted one in newlib and pass the types.h from sys folder into cygwin folder (that i've created)
now it shows me another problem:
C:\esp-idf/components/freertos/include/freertos/FreeRTOSConfig.h:73:10: fatal error: sdkconfig.h: No such file or directory
the sdkconfig.h is inside the program folder and i've include it in the program, the program is the blink example, but without the make files, just the code
how can i make FreeRTOSConfig.h know sdkconfig.h?
i've watched the video
i've import the xml
i've encounter a problem: cygwin/types:no such file or directory
so i've creted one in newlib and pass the types.h from sys folder into cygwin folder (that i've created)
now it shows me another problem:
C:\esp-idf/components/freertos/include/freertos/FreeRTOSConfig.h:73:10: fatal error: sdkconfig.h: No such file or directory
the sdkconfig.h is inside the program folder and i've include it in the program, the program is the blink example, but without the make files, just the code
how can i make FreeRTOSConfig.h know sdkconfig.h?
-
- Posts: 47
- Joined: Thu Dec 20, 2018 9:47 am
Re: create program from scratch without make
joe@shkila.com wrote: ↑Mon Jan 07, 2019 5:38 amThank you for the link
i've watched the video
i've import the xml
i've encounter a problem: cygwin/types:no such file or directory
so i've creted one in newlib and pass the types.h from sys folder into cygwin folder (that i've created)
now it shows me another problem:
C:\esp-idf/components/freertos/include/freertos/FreeRTOSConfig.h:73:10: fatal error: sdkconfig.h: No such file or directory
the sdkconfig.h is inside the program folder and i've include it in the program, the program is the blink example, but without the make files, just the code
how can i make FreeRTOSConfig.h know sdkconfig.h?
It looks like your system isn't configured correctly. Creating a directory called cygwin/types in newlib is almost certainly not the correct thing to do. I'm not sure what's going on.
Who is online
Users browsing this forum: No registered users and 87 guests