User forums > Embedded development
esp32-c6 idf.py binding to codeblocks , what could work best ?
(1/1)
cb.damiano:
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
cb.damiano:
discovered that esp32 can generate a standard makefile (at least for now)
--- Code: ---$ cmake . -G "CodeBlocks - Unix Makefiles"
--- End code ---
now, I need to find out how to define a "custom compiler"
cb.damiano:
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
--- End code ---
and if you have created a codeblock compatible makefile with Cmake you should be able to
--- Code: ---$ codeblocks app-template.cbp
--- End code ---
Navigation
[0] Message Index
Go to full version