Using with CLion¶
Developing with the Sming framework can also be done in CLion.
- Copy and paste Makefiles into the project
- Create
app
folder and addapplication.cpp
there - Edit
CMakeLists.txt
## Edit CMakeLists.txt
include_directories("/opt/Sming/Sming")
include_directories("/opt/Sming/Sming/Libraries")
include_directories("/opt/Sming/Sming/system/include")
include_directories("/opt/esp-open-sdk/sdk/include")
set(SOURCE_FILES app/application.cpp)
add_executable(Pathfinder ${SOURCE_FILES})
Build the project using terminal¶
make && make flash