Code building of ESP32
Posted: Wed Jan 15, 2020 6:26 am
Hello ESP Team,
I am new on ESP platform and first time I am working on ESP device. I am using ESP32 for our project. I have configured complete setup of toolchain and build system and could able to compile and build example code. But I am compiling our older code having multiple of .h and .c files(used SWD,UART,TCP) but it failed to build and it was written in past by someone else. This code base is only having source files and hex files and not having CMakef files, components, make,tools etc. as in given example folder. I can't able to compile an build my code.
I am having some questions like: do i need to create a new CMake file to compile if yes then how to create it? Do we need components folder? What are the necessary things to compile a code for ESP32 environment???
Please tell me the necessary steps how can i compile this code.
Thanks & Regards
Deepak
I am new on ESP platform and first time I am working on ESP device. I am using ESP32 for our project. I have configured complete setup of toolchain and build system and could able to compile and build example code. But I am compiling our older code having multiple of .h and .c files(used SWD,UART,TCP) but it failed to build and it was written in past by someone else. This code base is only having source files and hex files and not having CMakef files, components, make,tools etc. as in given example folder. I can't able to compile an build my code.
I am having some questions like: do i need to create a new CMake file to compile if yes then how to create it? Do we need components folder? What are the necessary things to compile a code for ESP32 environment???
Please tell me the necessary steps how can i compile this code.
Thanks & Regards
Deepak