- outsource global variables and objects
- move from config.hpp to global.cpp / hpp
- rename config.hpp, thus change all includes
- re-arrange includes -> in source files instead of header
- optimize / make function comment titles more consistent
- optimize comments overall
- add several temporary files to gitignore
- fix unused variable compiler warnings
19 lines
430 B
CMake
19 lines
430 B
CMake
idf_component_register(
|
|
SRCS
|
|
"main.cpp"
|
|
"global.cpp"
|
|
"control.cpp"
|
|
"buzzer.cpp"
|
|
"vfd.cpp"
|
|
"display.cpp"
|
|
"cutter.cpp"
|
|
"switchesAnalog.cpp"
|
|
"stepper.cpp"
|
|
"guide-stepper.cpp"
|
|
"encoder.cpp"
|
|
INCLUDE_DIRS
|
|
"."
|
|
)
|
|
|
|
# colored build output (errors, warnings...)
|
|
idf_build_set_property(COMPILE_OPTIONS "-fdiagnostics-color=always" APPEND) |