From 77299f7047ed6dd1d8750eaa5ad898ec81614cd1 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Mon, 30 Sep 2024 19:23:19 +0200 Subject: [PATCH] Add esp32 cmake. Signed-off-by: Pol Henarejos --- src/openpgp/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/openpgp/CMakeLists.txt diff --git a/src/openpgp/CMakeLists.txt b/src/openpgp/CMakeLists.txt new file mode 100644 index 0000000..a0fff70 --- /dev/null +++ b/src/openpgp/CMakeLists.txt @@ -0,0 +1,6 @@ +idf_component_register( + SRCS ${SOURCES} + INCLUDE_DIRS . ../../pico-keys-sdk/src ../../pico-keys-sdk/src/fs ../../pico-keys-sdk/src/rng ../../pico-keys-sdk/src/usb ../../pico-keys-sdk/tinycbor/src + REQUIRES bootloader_support esp_partition esp_tinyusb zorxx__neopixel mbedtls efuse +) +idf_component_set_property(${COMPONENT_NAME} WHOLE_ARCHIVE ON)