From 1acdbfe14e59808f5fe0b29a0267e9d068b7f6f8 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Mon, 28 Jun 2021 19:40:52 +0200 Subject: [PATCH] Added CMakeLists.txt for esp-idf --- CMakeLists.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..22c4122 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,31 @@ +set(headers + bobbycar-can.h + bobbycar-common.h + bobbycar-serial.h +) + +set(sources +) + +set(dependencies +) + +idf_component_register( + INCLUDE_DIRS + . + SRCS + ${headers} + ${sources} + REQUIRES + ${dependencies} +) + +target_compile_options(${COMPONENT_TARGET} + PRIVATE + -fstack-reuse=all + -fstack-protector-all + -Wno-unused-function + -Wno-deprecated-declarations + -Wno-missing-field-initializers + -Wno-parentheses +)