Hello Simon, 2 years late, I discovered your KZbin videos on the C++ programming of the ESP32. Thank you for sharing. You taught me a lot of things in this area. I move forward with more confidence in the C+ world, after a past experience as a C and C# programmer.
@sarimjalil6690 Жыл бұрын
Hi, I can't explain how thankful I am to you for creating this series. I have searched a lot on KZbin to find learning stuff on ESP IDF and couldn't find anything satisfactory. Looking forward to the video series on the latest IDF versions and explaining the differences etc. Till than I will be going through this series for my learning.
@abdelrahmanyasser572011 ай бұрын
Best dude ever. Thank you very much
@chuc2rk2 жыл бұрын
Thank you so much your videos! I search many times to find programming using esp-idf but not a lot.
@markbratcher90953 жыл бұрын
Excellent videos! Following through the entire process is very instructive. Not sure when this change occurred, but the latest ESP-IDF documentation says that `app_main` is now allowed to return: Unlike normal FreeRTOS tasks (or embedded C main functions), the app_main task is allowed to return. If this happens, The task is cleaned up and the system will continue running with other RTOS tasks scheduled normally. Therefore, it is possible to implement app_main as either a function that creates other application tasks and then returns, or as a main application task itself.
@DrGreenGiant3 жыл бұрын
Oh interesting! That's definitely new to me and saves an idle task. Thank you!
@italosoares69 Жыл бұрын
Thank you so much!, i`ve been banging my head for a long time trying to make it work using the espressif instructions.
@DrGreenGiant Жыл бұрын
You're welcome! Just be aware which version of the IDF I was on when I made this (IDF4). I think version 5 is out now which may be quite different. (Hoping to do some videos later this year!)
@SagarShelarB3 жыл бұрын
Thank you for making this videos. ESP-IDF with C++ is really helpful and there's less help available.
@original_anu3 жыл бұрын
Really easy to understand. I'm really excited to follow this series ❤
@zyghom2 жыл бұрын
fantastic 45 minutes I spent here! thx
@asmaulhabib67214 жыл бұрын
This is great Simon, really appreciate if you continue making ESP-IDF videos. Thanks
@Scwan150219833 жыл бұрын
yea please more videos about esp-idf in c++🙂
@techheck3358 Жыл бұрын
Thank you mate, youre a legend. cheers from the south east :)
@Falney5 ай бұрын
omg your voice is extremely similar to mine. For a moment I was confused because I didn't remember recording a series on ESP32 programming.
@jessidleonvelezgutierrez36452 жыл бұрын
Thanks a lot for this absolute great explanation
@sparesnone3 жыл бұрын
It's good to make text a bit bigger when recording for KZbin, but on my 32 inch monitor the text size is really crazy
@markbratcher90953 жыл бұрын
I sometimes watch these kinds of videos on my TV from across the room. And I'm > 60 years old. So I appreciate the larger font, even if it's a bit larger than I really require. In contrast, there are many videos I have trouble reading even on my laptop (which is a 15 inch monitor). So it's probably to err on the larger side if it is to be accessible to a wide audience.
@edsonbrusque25 күн бұрын
Very nice. Thank you!
@mindset_02052 жыл бұрын
Simon, I love the way your code is colored, I have been trying to configure my c++ extension on vs code but I don't seem to know why I can't get my code to highlight stuffs and it is frustrating coding like that. I would love if you could share some few tips.
@DrGreenGiant Жыл бұрын
I used to use "Bracket Pair Colorizer 2" but this is now built into VSCode. Under settings->text Editor->Bracket Pair Colorization
@tcl782 жыл бұрын
Hello, thank you for this series, is there a link from where to download the code (the full project's code or the code of the video)?
@DrGreenGiant Жыл бұрын
In the later videos I have put links in the description. You may have to do some rooting about the commits to get this episode if it is even there for this simple example: github.com/howroyd/esp32_youtube_series/commits/youtube
@meoDomicio Жыл бұрын
Merci
@felixfigueroa2 жыл бұрын
Hi Simon, what do you think about working on PlatformIO ?
@DrGreenGiant2 жыл бұрын
Nothing wrong with it at all but personally I didn't enjoy it nor find it helpful for the stuff I do. I found the documentation seriously lacking. It's been a few years since I last looked though
@TomMaynard--TCM-- Жыл бұрын
Could you please add all the files (and a file structure map) to your Github repo for this series, or at least this episode? I'm coming out of retirement and was mostly blindsided by your content (and pace!). It would be great help. Thanks.
@DrGreenGiant Жыл бұрын
Hiya! You can find links to GitHub from episode 4 onwards when I realise this might be a good idea to do. Thanks for the comment, I've learned a lot about what to improve on for presentation next time. I'll add in doxygen or similar so you can get a call tree graph too. Hoping to start a new series later this year
@尹长平 Жыл бұрын
But is it really necessary to add extern "C" to the main function?
@DrGreenGiant Жыл бұрын
If you are going to be using C++ then yes. You will get a compile time error if you don't as the entry point of the programme will not be linked. Feel free to Google it for a better explanation of why you need it when you have both C and C++ code.
@robot838803 жыл бұрын
Great video. Having issues with the inc folder everytime i build the project, it seem to identify directory and outputs an error /core/Src/Inc' is not a directory. would you have any workarounds to this
@DrGreenGiant3 жыл бұрын
Not sure without seeing your setup. I'll go back and check this commit to see if I've made a mistake in the cmakelists somewhere
@larslacour93753 жыл бұрын
Hi Simon and all that also would like to use the ESP32, cmake and C++/CPP This video is great! Here are some thoughts from me after learning a lot from the video. The starting point was a bit unclear for me, when I implemented the code in the tutorial. I did not get it to work on my first attempt, since I missed something that was setup before the video started. But I did succeed in my second attempt, this time starting from the “get started --> hello world” example from the vendor kzbin.info/www/bejne/gpSZkqipnrCph68&ab_channel=EspressifSystems (shown at 4 min. 12 sec.), edited that project as in this tutorial and got it all to work. Great work Simon, and thanks for sharing.
@peterwilson6910 ай бұрын
I kind of grateful, but after 20 minutes I realized, that this is a 40min video. Does it really take 40mins of configuration to write hello world.
@DrGreenGiant10 ай бұрын
Not really. If you just want to download and run the example project provided by espressif then that would be fastest, but then I'm not adding any depth or value at that point by making a video about it. This is a very old video now and my first one so the quality is poor to be honest. I'm starting a new series soon and am aiming to be much more concise and watchable.
@thuyetmai96503 жыл бұрын
First of all thank you very much for making these videos. I'm a student in major of embedded programming. May I ask, are there any difference between programming esp32 in Cpp and C? Or is it just simply a programming style? Looking forward to your reply. Thank you so much !!!
@DrGreenGiant3 жыл бұрын
No none at all. Just a different language so a different way of going about things. C++ is much more modern and can catch a lot more bugs at compile time than C can natively. It's an age old argument for which is better for embedded but I'm all cases I've seen C++ outperforms or matches C for the compiled code speed and memory. The CppCon has lots of good videos and people often compare against C quantitatively. There's also a fair chunk of the IDF that's written in C++ now as well but retains the C style interface for compatibility.
@DrGreenGiant3 жыл бұрын
Feel free to ask any more questions, happy to answer or point you in the right direction as much as I can
@thuyetmai96503 жыл бұрын
@@DrGreenGiant You are very enthusiastic, thank you very much, I will try to practice through your videos to get more experience
@dmitriidobrov4613 жыл бұрын
Hi! English is not my native language. Can u add auto subtitles to your videos?:))
@DrGreenGiant3 жыл бұрын
I have just been though and checked and it is set to auto subtitles by KZbin (English). All seems to be set correctly at my end. Is it not working for you? If not I'll dig a bit deeper
@oliverer33 жыл бұрын
@@DrGreenGiant Can confirm subtitles are indeed enabled.
@DrGreenGiant2 жыл бұрын
@MaxFreak it's all done automatically by KZbin, so I don't think so, but I shall look into it just in case
@jcbritobr7 ай бұрын
You ate using c instead of c++. Using a .cpp extension means nothing.
@DrGreenGiant7 ай бұрын
This episode is setting up the framework to use a C++ compiler, which I do throughout. In all the episodes following this we use C++ language. File extensions are used to differentiate between C and C++ source files in the toolchain. If you wrote C++ code in a .c extended file then the toolchain would fail to compile the code with the way it's been setup by Espressif.
@nhanNguyen-wo8fy Жыл бұрын
16:45 Cmake
@icarossavvides26412 ай бұрын
Sorry but I found this presentation very slapdash, unstructured, inaccurate and amateurish. Also maybe install a proper video grabber instead of a camera pointing at the screen?
@DrGreenGiant2 ай бұрын
@@icarossavvides2641 I'm not a professional content creator, nor do I claim to be. I don't monetise my videos. This was also my first video. Curious what you thought was "inaccurate" or "amateurish" in terms of the technical detail? I used OBS, not a camera pointing at the screen, obviously.