Code::Blocks Forums

User forums => Embedded development => Topic started by: cb.damiano on September 08, 2025, 04:27:31 pm

Title: esp32-c6 idf.py binding to codeblocks , what could work best ?
Post by: cb.damiano on September 08, 2025, 04:27:31 pm
Current status


so, I installed codeblocks and I can see the code, next step is how to interface CB to ESP-IDF, what I did


the above works, meaning I can "build" from CB and it actually build the app

BUT I am missing, totally, compilation errors, include path

so, the question is

what could be the simplest strategy to "interface" codeblocks to the esp32 build environment ?

yes, I know, not really a codeblocks issue.....  I am posting the same question to esp32 forums and hopefully something good will happen



Title: Re: esp32-c6 idf.py binding to codeblocks , what could work best ?
Post by: cb.damiano on September 09, 2025, 07:26:53 pm
discovered that esp32 can generate a standard makefile (at least for now)

Code
$ cmake . -G "CodeBlocks - Unix Makefiles"

now, I need to find out how to define a "custom compiler"
Title: Re: esp32-c6 idf.py binding to codeblocks , what could work best ?
Post by: cb.damiano on September 10, 2025, 04:36:33 pm
another info, if you are on linux, download the updated binary since the codeblocks that is in the distribution is probably outdated

then you can install the most relevnt parts using

Code
# dpkg -i codeblocks-common_25.03_all.deb  libcodeblocks0_25.03_amd64.deb codeblocks_25.03_amd64.deb

and if you have created a codeblock compatible makefile with Cmake you should be able to

Code
$ codeblocks app-template.cbp