abouttreesummaryrefslogcommitdiff
path: root/esp32/esp_project_risc_v/components/matrix
diff options
context:
space:
mode:
authorPatrick2023-11-13 22:25:32 +0100
committerPatrick2023-11-13 22:25:32 +0100
commit22b9954c1582649310fbc49f54653996d24e5ab7 (patch)
tree565fda60211e2e59bfcf707179ac120398db1752 /esp32/esp_project_risc_v/components/matrix
parent0326538d115050abe9a57c7517715ab5642d85eb (diff)
downloadmatrix_esp_thesis-22b9954c1582649310fbc49f54653996d24e5ab7.tar.gz
matrix_esp_thesis-22b9954c1582649310fbc49f54653996d24e5ab7.zip
esp32 project for riscv
Diffstat (limited to 'esp32/esp_project_risc_v/components/matrix')
-rw-r--r--esp32/esp_project_risc_v/components/matrix/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/esp32/esp_project_risc_v/components/matrix/CMakeLists.txt b/esp32/esp_project_risc_v/components/matrix/CMakeLists.txt
new file mode 100644
index 0000000..bf7da7a
--- /dev/null
+++ b/esp32/esp_project_risc_v/components/matrix/CMakeLists.txt
@@ -0,0 +1,16 @@
+idf_component_register(SRCS
+ "../../../../src/matrix.c"
+ "../../../../src/matrix_http_esp32.c"
+ "../../../../ext/mjson/src/mjson.c"
+ INCLUDE_DIRS
+ "../../../../ext/olm/include"
+ "../../../../ext/olm/lib"
+ "../../../../ext/mjson/src"
+ "../../../../src"
+ REQUIRES
+ esp-tls
+ esp_http_client
+ esp_netif
+ nvs_flash)
+
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")