Skip to content

Commit

Permalink
⬆️ Upgrade packages
Browse files Browse the repository at this point in the history
- libhal-lpc40/[^5.1.0]
- libhal-stm32f1/[^5.0.0]
- libhal-micromod/[^1.0.1]
  • Loading branch information
kammce committed Jul 9, 2024
1 parent 8eb3a16 commit af9d3a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@
from conan.tools.env import VirtualBuildEnv
import os

required_conan_version = ">=2.0.14"
required_conan_version = ">=2.2.2"


def add_demo_requirements(conan_file: ConanFile, is_platform: bool = False):
if not is_platform:
platform = str(conan_file.options.platform)
if platform.startswith("lpc40"):
conan_file.output.warning("Using lpc40 platform library!!")
conan_file.requires("libhal-lpc40/[^4.0.1]")
conan_file.requires("libhal-lpc40/[^5.1.0]")

elif platform.startswith("stm32f1"):
conan_file.output.warning("Using stm32f1 platform library!!")
conan_file.requires("libhal-stm32f1/[^4.0.0]")
conan_file.requires("libhal-stm32f1/[^5.0.0]")

elif platform == "micromod":
conan_file.output.warning("Using micromod platform library!!")
conan_file.requires("libhal-micromod/[^1.0.0]")
conan_file.requires("libhal-micromod/[^1.0.1]")

conan_file.requires("libhal-util/[^5.0.0]")

Expand Down Expand Up @@ -193,5 +193,5 @@ def test(self):

class libhal_bootstrap(ConanFile):
name = "libhal-bootstrap"
version = "2.1.2"
version = "3.0.0"
package_type = "python-require"

0 comments on commit af9d3a1

Please sign in to comment.