armchair_fw/main/CMakeLists.txt
jonny_ji7 f8415655c2 Create class 'automatedArmchair', Add AUTO mode
- Create class automatedArmchair in new files auto.hpp and auto.cpp
  This class currently makes it possible to queue up and run commands
  (motorstate, duty for certaion duration),

- add new file to cmakelists
- create automatedArmchair instance 'armchair' in config.cpp
- add loglevel configuration to main.cpp
- add AUTO mode to control.cpp (no way to change to mode yet)
2022-08-10 22:01:50 +02:00

20 lines
395 B
CMake

idf_component_register(
SRCS
"main.cpp"
"motordrivers.cpp"
"motorctl.cpp"
"config.cpp"
"joystick.cpp"
"buzzer.cpp"
"control.cpp"
"button.cpp"
"fan.cpp"
"wifi.c"
"http.cpp"
"auto.cpp"
INCLUDE_DIRS
"."
)
spiffs_create_partition_image(spiffs ../react-app/build FLASH_IN_PROJECT)