Author Topic: esp32-c6 idf.py binding to codeblocks , what could work best ?  (Read 2108 times)

Offline cb.damiano

  • Single posting newcomer
  • *
  • Posts: 3
esp32-c6 idf.py binding to codeblocks , what could work best ?
« on: September 08, 2025, 04:27:31 pm »
Current status

  • I am dealing with a esp32-c6 and the associated ESP-IDF
  • I am on linux, debian derivative, devuan, OLD (as in 2024-03) versions of eclipse work well, meaning the system works
  • I have the idf.py app working, can download and run sample code using idf.py
  • the whole toolkit is a jungle, because "think different" and letś make a circle as an hexagon
  • current version of eclipse + the ESP32 plugin result in a SLOW molassa + frequent freezes + editor panel constantly showing unreliable errors, a mess

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

  • Create a Makefile with a single rule Release
  • always call a shell script that setup the IDF environment and call idf.py app
  • redirect all messages away from make and into a log and err file

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




Offline cb.damiano

  • Single posting newcomer
  • *
  • Posts: 3
Re: esp32-c6 idf.py binding to codeblocks , what could work best ?
« Reply #1 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"

Offline cb.damiano

  • Single posting newcomer
  • *
  • Posts: 3
Re: esp32-c6 idf.py binding to codeblocks , what could work best ?
« Reply #2 on: Yesterday at 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