I just started getting into the ESP32, and i just wanted to say thanks for the videos. I like the way you teach, and look forward to more that you produce in this device.
@GfastGao
7 жыл бұрын
Hi Kolban, Great work! just drop by to say thank you! It's always like a thousand mile better to look some one doing something in action then to find something out from a book thicker then a Dictionary!
@MegaTraxxas
4 жыл бұрын
Just a perfect tutorial
@mohamadn6116
7 жыл бұрын
Hi Neil, Thanks for your videos & great book. I have followed the tutorials and everything is working except the "printf" function. I have an ESP32 from Sparkfun, and any printf results in gibberish text. I tried changing the baud rate to different values, but nothing changed. My laptop is a Mac. I also tried what you show in the book (screen ... ) but no success
@sergeykuznetsov3692
5 жыл бұрын
Hack, I do not have error on 2:44 (Makefile:8: /make/$(BLASH_BLASH_BLA)). First time when I am more lucky than video tutorial creator... Thanks for video, it makes difference to develop app in full-featured IDE instead of GNU Nano! Respect!
@michaelo2l
6 жыл бұрын
Been using the command line version and things work perfectly but it's a lot of hard work remembering everything so I thought I'd make life easier by installing Eclipse and thank to your hard work it was much easier... I did have one issue however, make wasn't found, turns out it's in D:/msys32/usr/bin ... so I added that to the path but also had to add (D:/msys32/opt/xtensa-esp32-elf/bin) to the path as per the video instructions... else I had other issues...
@sickvic3909
7 жыл бұрын
Thanks for reaffirming my inferiority complex. :))))))
@behnkethomas9724
2 жыл бұрын
Hello, i try to follow your instructions but i am not able to use the command "./setenv.sh" because its unknown. Can you give me an idea to solve the problem ? The "make menuconfig" is'nt accesable.
@pedrojosegarciaperez4974
7 жыл бұрын
Thank you Kolban. Thanks for these fantastic tutorials. I would like know how i can get assembler output code for a testproject. I have tried change below line in properties project > C/C++ General > Preprocessor Include > Providers > CDT Cross GCC Built-in Compiler Setting. xtensa-esp32-elf-gcc ${FLAGS} -save-temps -E -P -v -dD "{INPUTS}". It generates several files (spec.i, spec.ii,spec.s) but without assembler information. Thanks in advance
@ami6packs
7 жыл бұрын
very nice tutorial. thanks. it made my development routine FASTER. (vim guy here ;))
@alejandrocamacho444
7 жыл бұрын
all things works properly tanks a lot!
@anthonycross901
4 жыл бұрын
Hi There, I got as far as setenv.sh but then was told "setenv.sh: command not found". Can anybody point me in the right direction? Thanks
@ijazahmed619
4 жыл бұрын
i have the same problem. has anyone found solution
@eugenev13
6 жыл бұрын
As always, great work!
@themoyhoms
2 жыл бұрын
It does not appear to me the C/C++ build option..... WhatsApp can I do?
@xavierr4508
4 жыл бұрын
The Github repo is out of date in regards with new Eclipse and the ESP32 framework. Any hint in how to create the xml dependencies file from scratch?
@siowlimchow7755
7 жыл бұрын
I would like ask how to get the added include paths exported. I did again and again, yet I see it has been exported to a xml file. HOwever, when I import it to a new project, nothing happen. I searched Eclipse and read the description. I can confirm , I did not missed any steps. However, yet I could not export or import the include path settings. Any comments?
@nicholaslasky3754
7 жыл бұрын
How do you launch eclipse from the command line? Is there a setup process for integrating eclipse?
@monkeytronics4494
4 жыл бұрын
Hi Neil. Awesome work! Have you tried to do this with the AWS version of freeRtos? The file structure is all mushed around with common folders and vendor folders etc...
@kimlanbu
7 жыл бұрын
you saved my day, thank you kolban
@SeverSpanulescu
6 жыл бұрын
So fast in Linux! Unfortunately, in Windows it compiles at least 4-5 times slower.
@musabaybek1957
5 жыл бұрын
I couldn't understand how APIs work. I don't know which APIs I should use in my code and when I should use them. Is there any examples which I can understand the logic of APIs? Please help
@shamilyazeen4062
3 жыл бұрын
Actually , i have doubt .Instead of using existing templates how to start a new project?I mean how to generate all Cmake and those files?
@jegajith
6 жыл бұрын
Very Good Explanation .... Super you are awesome :-)
@MrRubyyyy
7 жыл бұрын
Thank you for your tutorial! I've tried to adapt your tutorial for windows. and I got two issues. portTICK_PERIOD_MS and WIFI_INIT_CONFIG_DEFAULT() can not be found. Is this caused by the fact I used windows, or a fault on my part (like an error in the sdkconfig)?
@makeriot1195
7 жыл бұрын
Very nice tutorial. It helped me to setup ide console to develop on ESP32.......can you help me how to run the "make monitor" for display program outputs. I created one more build with monitor, It is displaying "recipe for target 'monitor' failed make: *** [monitor] Error 1".
@awaisahmed7033
6 жыл бұрын
do we have to connect the board sparkfun thing esp32 while running this flash command?
@sajeelahmed5072
7 жыл бұрын
Hi, The tutorial is amazing and I have followed too to setup and configure eclipse on my system... Is it possible to merge two different codes together to make them one using "existing code as makefile project" ??need help
@sultanmulani8616
5 жыл бұрын
i am looking esp32 jtag debugging with eclipse environment, any idea will be appreciated..thanks
@oscarhumbertomontejorodrig5524
7 жыл бұрын
Thanks for the great explication
@AlfieMakes
7 жыл бұрын
Where did you get your ESP32 module? I've been trying to get one myself :(
@kolban1
7 жыл бұрын
The ESP32 is very new and supplies of modules are hard to find. I registered with Adafruit to be informed when a module came in stock ... www.adafruit.com/product/3269 I suspect that there will be cheaper ESP32 boards in the market place in the months ahead.
@javierandresfernandez6373
7 жыл бұрын
Hi Neil, thanks for your tutorials, they have been of great help for many of us!! I need to know something, in the "Build and Flash in Eclipse IDE" guide, it says that you should go to projects´s properties and modify some parameters under "C/C++ General-> Preprocessor Include Paths-> Providers. Particularly, it recommends to change the "CDT GCC Build Output Parser" compiler command pattern and the command in "CDT Cross GCC Built-in compilers settings". You didn´t do it, but it is compiling and flashing flawlessly anyway. What am I missing? I don´t get it. Sorry if this is a silly question, I am really a newbie to all of this.
@kolbantechnicaltutorials4715
7 жыл бұрын
Howdy Javier, Thanks for the kind words and the comments. The fun thing about making videos is that they are "point in time stories" and as we learn more, a video isn't easily fixable. Its not like I can open a Word document and just add a few more lines (which is what I do in the free ESP32 book). When this video was built (looks like 2016) these were the instructions that were fine. However, since then, new capabilities opened up ... specifically, the ability to compile applications in C++ and have them work well. Within the Eclipse environment, we have to instruct Eclipse on where it can find headers, libraries and other goodies. These are NOT used in our compilation environment, but are instead used to provide entry assist and function signature validation in the editors. The compilation in Eclipse is performed by running the external Make commands running the build system supplied by Espressif. If we code in C and use a function or data structure defined in an ESP32 header file, it makes obvious sense that we have to tell Eclipse about that header file otherwise the editor will not know how to interpret what it sees in the code and hence can't say one way or the other whether you have made a typo in a function name or passed in the wrong data type. That's what adding "Preprocessor Include Paths" did for us. Now imagine that we are writing a C++ program. In C++ there are headers and libraries that are provided by C++ and those are provided by YOUR choice of C++ compiler. If you were coding in C++ and tried to use a C++ data type (eg. std::string - A C++ string type), your editor would complain saying "I don't know what that is". There is no explicit header you can add in Paths, because you don't know where the headers are (they are owned by the C++ compiler). By setting things like "CDT Cross GCC Built-in compilers settings" you are telling Eclipse about the compiler you are using and allowing the editor to go and ask that compiler about its own built-ins. Since I am guessing you have been coding in C as opposed to C++, you haven't been using data types that are not "simple" data types in C.
@javierandresfernandez6373
7 жыл бұрын
Thanks Neil!!! No I understand what those instructions are for! You are right, I have no experience in coding C++, and I have never used it, but I will try to make some experience with it in a near future. You have been very kind in explaining all this to me. Thanks a lot!!!
@emanhussein2892
7 жыл бұрын
I got these in the console : File "build/bdist.msys-2.7.0-i686/egg/serial/serialposix.py", line 268, in open serial.serialutil.SerialException: [Errno 2] could not open port COM4: [Errno 2] No such file or directory: 'dev/ttyUSB0' make: *** [/home/esp-idf/components/esptool_py/Makefile.projbuild:53: flash] Error 1 my kit is connected on COM4 , I tried changing CONFIG_ESPTOOLPY_PORT="/dev/ttyUSB0" to CONFIG_ESPTOOLPY_PORT="/COM4" but still not working. Another question please, how to enable flash mode ?
@kolban1
7 жыл бұрын
Howdy, Let me suggest that you post your questions to the ESP32 forum found here ... esp32.com/index.php This is where you will get the most viewers and responders and maybe others will benefit from the Q&A. It is also possible that others may already have asked a similar question.
@ThomasHaberkorn
6 жыл бұрын
how to show the printf(..) commands in the console-window in Eclipse?
@power-max
6 жыл бұрын
ThomasHaberkorn Although I have absolutely no experiance with this microcontroller and programming it, I would guess that printf isnt implemented. After all, I don't think there is a console output on the ESP32, you didn't explicity program any implementation of an output. So You would probably need to configure a UART serial output and import a serial library in order to have a "serial_printf()" type function, and use a serial ASCII capture and decoder in order to see the output.
@browaruspierogus2182
6 жыл бұрын
Is there intellisense?
@robertmengual7343
7 жыл бұрын
Hi Kolban, do you know how to make ESP IDF look for the libraries in /usr/include ? When I compile in eclipse or even with make I can't reach libraries like the that you use in some of the examples of your book. Thanks.
@kolban1
7 жыл бұрын
Howdy Robert, can I ask you to post your question to the ESP32 forum found here ... esp32.com/index.php The high level is that Eclipse needs to be told about each of the directories that it should look in during compilation. One needs to add an entry for each of those directories in the projects properties.
@robertmengual7343
7 жыл бұрын
I have just posted it. So do you mean that I have to include all the needed paths manually to Eclipse or maybe is just something I have to add to the Makefile?
@kolban1
7 жыл бұрын
When the post shows up, I'll respond fully on the forum. Usually takes a few hours for the first post to show. After that it is instantaneous.
@robertmengual7343
7 жыл бұрын
Thank you very much!
@rzajac
7 жыл бұрын
Good tutorial! Will IDF work with esp8266?
@kolban1
7 жыл бұрын
Currently, the ESP-IDF is ESP32 only ... see the following github.com/espressif/esp-idf However, there is no reason one can't use Eclipse in a similar manner to build ESP8266 applications. The recipes will be similar but not identical.
@timandr7540
6 жыл бұрын
Thanks)
@nour56571
7 жыл бұрын
how to flash to the esp32 , i tired to build the flash but i got same error u got , can u help me in this is one
@kolban1
7 жыл бұрын
Delighted to help ... post your question with as much information on the ESP32 forum found here ... esp32.com/viewforum.php?f=13 ... and I'll try and assist as quickly as possible.
@nour56571
7 жыл бұрын
okay thank you so much
@bonafide9085
7 жыл бұрын
Nice tutorial! I have 35 entries in the components folder. Do I really have to add all of them one-by-one for eclipse?
@kolban1
7 жыл бұрын
Yes and no. All the component must be added to the include path lookup in Eclipse ... but they need only be added once. Once done, you can export the configuration from Eclipse and then load those in a new project. Let me try and create a sample of mine and upload that somewhere so that it may become easier.
@bonafide9085
7 жыл бұрын
Thanks I made it already, just wondering why eclipse can't search for include files recursively in 2017. However that is great if you provide an exported config for other grumpy guys like me.
@kolban1
7 жыл бұрын
Its a good question. My immediate guess is that "all" includes would be wrong. In C programming, if we ask to include file X.h, it will happily include that file ... i.e. the first file with that name on the include path. Unlike some other languages (eg. Java) that have the concept of packages and namespaces, C does not. So if I create a header file called "SPI.h" and another package creates a header file called "SPI.h", then we are in trouble. The solution would be to explicitly name the path to the header ... i.e. force the developer to explicitly choose which one to include. If we glibly add all the header directories we can find, then we have introduced potential confusions across the board.
@bonafide9085
7 жыл бұрын
Thank you and sorry for taking your time with this.
@kolban1
7 жыл бұрын
Don't give it a second thought. We are all here to help each other. For deeper Q&A, visit the ESP32 forum at www.esp32.com
@GfastGao
7 жыл бұрын
header file for "bool", "true" & "false": ./esp-idf/components/esp32/include/xtensa/xos_types.h
@jimgaluska1361
6 жыл бұрын
I too went down the path of trying to include xos_types.h into Eclipse's paths for includes. Unfortunately this did not work well for me. I believe the real definition used is in a include file that is in the extensa tool chain located in the folder /path/to/toolchain/lib/gcc/xtensa-esp32-elf/version_number/include. Including this path (substituting the real 'path/to/toolchain' and 'version_number') into Eclipse's "'paths and symbol' not only solved the true/false issues, but it also solved a whole bunch of other things , like unknown 'size_t' and more
@mustaphaaref7178
6 жыл бұрын
2017 not working !!
@lut5ch3r
6 жыл бұрын
Why is this so complicated? I bought the module in hope I could connect to the Bluetooth and just send a text to see a proof of concept. No, you first have to write like 4 books of code which don't even have a real functionality, which then can't be compiled because something is missing in the installation or path... The whole concept of the processor is maybe fine, but it's not worth the time.
@donhamilton4037
7 жыл бұрын
Even the experts can not get it right.
6 жыл бұрын
a virgin build. ggrrrrr.
@jegajith
6 жыл бұрын
Very Good Explanation .... Super you are awesome :-)
Пікірлер: 65