Skip to content

Commit

Permalink
Prepare pubblishing for ESP registry
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Orru <[email protected]>
  • Loading branch information
sorru94 committed Aug 22, 2024
1 parent 88b6569 commit 8e5babe
Show file tree
Hide file tree
Showing 15 changed files with 183 additions and 14 deletions.
2 changes: 0 additions & 2 deletions examples/aggregates/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/../..)

project(aggregates)
26 changes: 26 additions & 0 deletions examples/aggregates/main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# This file is part of Astarte.
#
# Copyright 2024 SECO Mind Srl
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: LGPL-2.1-or-later OR Apache-2.0
#

description: Example for transmission and reception of aggregated datastreams
dependencies:
idf: ">=5.0"
astarte-platform/astarte-device-sdk-esp32:
version: '1.3.1'
override_path: '../../../' # three levels up, pointing the directory with the component itself
2 changes: 0 additions & 2 deletions examples/datastreams/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/../..)

project(datastreams)
26 changes: 26 additions & 0 deletions examples/datastreams/main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# This file is part of Astarte.
#
# Copyright 2024 SECO Mind Srl
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: LGPL-2.1-or-later OR Apache-2.0
#

description: Example for transmission and reception of individual datastreams
dependencies:
idf: ">=5.0"
astarte-platform/astarte-device-sdk-esp32:
version: '1.3.1'
override_path: '../../../' # three levels up, pointing the directory with the component itself
2 changes: 0 additions & 2 deletions examples/encryption/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/../..)

project(encryption)
26 changes: 26 additions & 0 deletions examples/encryption/main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# This file is part of Astarte.
#
# Copyright 2024 SECO Mind Srl
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: LGPL-2.1-or-later OR Apache-2.0
#

description: Example for the use of the Astarte device SDK with encrypted flash partitions
dependencies:
idf: ">=5.0"
astarte-platform/astarte-device-sdk-esp32:
version: '1.3.1'
override_path: '../../../' # three levels up, pointing the directory with the component itself
2 changes: 0 additions & 2 deletions examples/non_volatile_storage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/../..)

project(non-volatile-storage)
26 changes: 26 additions & 0 deletions examples/non_volatile_storage/main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# This file is part of Astarte.
#
# Copyright 2024 SECO Mind Srl
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: LGPL-2.1-or-later OR Apache-2.0
#

description: Example for the use of the Astarte device SDK with non volatile storage enabled
dependencies:
idf: ">=5.0"
astarte-platform/astarte-device-sdk-esp32:
version: '1.3.1'
override_path: '../../../' # three levels up, pointing the directory with the component itself
2 changes: 0 additions & 2 deletions examples/properties/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/../..)

project(properties)
26 changes: 26 additions & 0 deletions examples/properties/main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# This file is part of Astarte.
#
# Copyright 2024 SECO Mind Srl
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: LGPL-2.1-or-later OR Apache-2.0
#

description: Example for setting and unsetting individual properties
dependencies:
idf: ">=5.0"
astarte-platform/astarte-device-sdk-esp32:
version: '1.3.1'
override_path: '../../../' # three levels up, pointing the directory with the component itself
2 changes: 0 additions & 2 deletions examples/registration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/../..)

project(registration)
26 changes: 26 additions & 0 deletions examples/registration/main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# This file is part of Astarte.
#
# Copyright 2024 SECO Mind Srl
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: LGPL-2.1-or-later OR Apache-2.0
#

description: Example for on board registration using a JWT
dependencies:
idf: ">=5.0"
astarte-platform/astarte-device-sdk-esp32:
version: '1.3.1'
override_path: '../../../' # three levels up, pointing the directory with the component itself
2 changes: 0 additions & 2 deletions examples/toggle_led/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ cmake_minimum_required(VERSION 3.5)

include($ENV{IDF_PATH}/tools/cmake/project.cmake)

set(EXTRA_COMPONENT_DIRS ${CMAKE_SOURCE_DIR}/../..)

project(toggle-led)
26 changes: 26 additions & 0 deletions examples/toggle_led/main/idf_component.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# This file is part of Astarte.
#
# Copyright 2024 SECO Mind Srl
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: LGPL-2.1-or-later OR Apache-2.0
#

description: Example with a led toggle for visual demonstration
dependencies:
idf: ">=5.0"
astarte-platform/astarte-device-sdk-esp32:
version: '1.3.1'
override_path: '../../../' # three levels up, pointing the directory with the component itself
1 change: 1 addition & 0 deletions idf_component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ version: "1.3.1"
description: "A component that provides communication and pairing primitives to an Astarte cluster"
url: "https://github.com/astarte-platform/astarte-device-sdk-esp32"
documentation: "https://docs.astarte-platform.org/device-sdks/esp32/1.3/api"
license: "Apache-2.0"

tags:
- sdk
Expand Down

0 comments on commit 8e5babe

Please sign in to comment.