Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add storage integration for ESP32 devices #231

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions src/modules/storage_esp32/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#*******************************************************************************
# Copyright (c) 2022, 2024 HR Agrartechnik GmbH
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0.
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Franz Hoepfinger - initial API and implementation and/or initial documentation
# *******************************************************************************/



#############################################################################
# FORTE_MODULE_STORAGE_ESP32 integration.
#############################################################################

# option to enable OPC UA with cmake
forte_add_module(STORAGE_ESP32 OFF "Interacting with NVS of esp32 devices")

forte_add_include_directories(${CMAKE_CURRENT_SOURCE_DIR})

if (FORTE_MODULE_STORAGE_ESP32)
forte_add_custom_configuration("#cmakedefine FORTE_MODULE_STORAGE_ESP32")

forte_add_subdirectory(nvs)

endif (FORTE_MODULE_STORAGE_ESP32)
21 changes: 21 additions & 0 deletions src/modules/storage_esp32/nvs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#*******************************************************************************
# Copyright (c) 2022, 2024 HR Agrartechnik GmbH
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0.
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Franz Hoepfinger - initial API and implementation and/or initial documentation
# *******************************************************************************/



#############################################################################
# NVS
#############################################################################

forte_add_include_directories(${CMAKE_CURRENT_SOURCE_DIR})

forte_add_sourcefile_hcpp(NVS_fbt)
Loading