diff --git a/Software/fab-reader2-c/.gitignore b/Software/fab-reader2-c/.gitignore new file mode 100644 index 0000000..ae9a17b --- /dev/null +++ b/Software/fab-reader2-c/.gitignore @@ -0,0 +1,102 @@ +.config +*.o +*.pyc + +# gtags +GTAGS +GRTAGS +GPATH + +# emacs +.dir-locals.el + +# emacs temp file suffixes +*~ +.#* +\#*# + +# eclipse setting +.settings + +# MacOS directory files +.DS_Store + +# cache dir +.cache/ + +# Components Unit Test Apps files +components/**/build/ +components/**/build_*_*/ +components/**/sdkconfig +components/**/sdkconfig.old + +# Example project files +examples/**/build/ +examples/**/build_esp*_*/ +examples/**/sdkconfig +examples/**/sdkconfig.old + +# Doc build artifacts +docs/_build/ +docs/doxygen_sqlite3.db + +# Downloaded font files +docs/_static/DejaVuSans.ttf +docs/_static/NotoSansSC-Regular.otf + +# Unit test app files +tools/unit-test-app/sdkconfig +tools/unit-test-app/sdkconfig.old +tools/unit-test-app/build +tools/unit-test-app/build_*_*/ +tools/unit-test-app/output +tools/unit-test-app/test_configs + +# Unit Test CMake compile log folder +log_ut_cmake + +# test application build files +tools/test_apps/**/build/ +tools/test_apps/**/build_*_*/ +tools/test_apps/**/sdkconfig +tools/test_apps/**/sdkconfig.old + +# IDF monitor test +tools/test_idf_monitor/outputs + +TEST_LOGS + +# gcov coverage reports +*.gcda +*.gcno +coverage.info +coverage_report/ + +test_multi_heap_host + +# VS Code Settings +.vscode/ + +# VIM files +*.swp +*.swo + +# Clion IDE CMake build & config +.idea/ +cmake-build-*/ + +# Results for the checking of the Python coding style and static analysis +.mypy_cache +flake8_output.txt + +# ESP-IDF default build directory name +build + +# lock files for examples and components +dependencies.lock + +# managed_components for examples +managed_components + +# pytest log +pytest_embedded_log/ diff --git a/Software/fab-reader2-c/CMakeLists.txt b/Software/fab-reader2-c/CMakeLists.txt new file mode 100644 index 0000000..a38c955 --- /dev/null +++ b/Software/fab-reader2-c/CMakeLists.txt @@ -0,0 +1,11 @@ +# For more information about build system see +# https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html +# The following five lines of boilerplate have to be in your project's +# CMakeLists in this exact order for cmake to work correctly +cmake_minimum_required(VERSION 3.5) + +include($ENV{IDF_PATH}/tools/cmake/project.cmake) +project(fab-reader2-c) + +set(COMPONENTS main) +#list(SET COMPONENTS "mqtt") diff --git a/Software/fab-reader2-c/components/rfal/CMakeLists.txt b/Software/fab-reader2-c/components/rfal/CMakeLists.txt new file mode 100644 index 0000000..26b4e4c --- /dev/null +++ b/Software/fab-reader2-c/components/rfal/CMakeLists.txt @@ -0,0 +1,14 @@ +idf_component_register(SRCS "Src/rfal_nfc.c" + "Src/rfal_analogConfig.c" + "Src/rfal_crc.c" + "Src/rfal_dpo.c" + "Src/rfal_iso15693_2.c" + "Src/rfal_isoDep.c" + "Src/rfal_nfca.c" + "Src/rfal_nfcb.c" + "Src/rfal_rfst25r3911.c" + "Src/rfal_t1t.c" + "Src/rfal_t2t.c" + "Src/rfal_t4t.c" + INCLUDE_DIRS "Inc" + REQUIRES "st25r3911") diff --git a/Software/fab-reader2-c/components/rfal/Inc/rfal_analogConfig.h b/Software/fab-reader2-c/components/rfal/Inc/rfal_analogConfig.h new file mode 100644 index 0000000..6da5de9 --- /dev/null +++ b/Software/fab-reader2-c/components/rfal/Inc/rfal_analogConfig.h @@ -0,0 +1,334 @@ + +/****************************************************************************** + * \attention + * + *
+
+
+
|
+