Skip to content

Commit d75b881

Browse files
authored
♻️ Name fixes & update python_requires range (#20)
* 📌 Use range for python_requires * ♻️ libhal-lpc40 -> libhal-arm-mcu/lpc40 * 💚 Fix mach-o error in mac
1 parent bb75228 commit d75b881

22 files changed

Lines changed: 47 additions & 38 deletions

.clangd

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
If:
2-
PathMatch: demos/.*
3-
CompileFlags:
4-
CompilationDatabase: demos
5-
Else:
6-
CompileFlags:
7-
CompilationDatabase: .
8-
1+
CompileFlags:
2+
CompilationDatabase: .
3+
BuiltinHeaders: QueryDriver

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

.github/workflows/take.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

.github/workflows/update_name.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

ARCHITECTURE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ bootstrap.module.add_demo_requirements(self)
116116
```
117117

118118
Must be invoked in order to add the appropriate platform libraries to the
119-
`ConanFile` class. These platform libraries are usually `libhal-lpc40`,
120-
`libhal-stm32f1` and `libhal-micromod`. Note that bootstrap must be updated to
119+
`ConanFile` class. These platform libraries are usually `libhal-arm-mcu`,
120+
`libhal-linux` and `libhal-micromod`. Note that bootstrap must be updated to
121121
support additional platforms. If you attempt to use a profile with a platform
122122
name outside of what is supported by `libhal-bootstrap` then this API does
123123
nothing except include `libhal-util`.

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

conanfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@ class libhal___device___conan(ConanFile):
2626
topics = ("__device__", "libhal", "driver")
2727
settings = "compiler", "build_type", "os", "arch"
2828

29-
python_requires = "libhal-bootstrap/[^4.2.1]"
29+
python_requires = "libhal-bootstrap/[>=4.3.0 <5]"
3030
python_requires_extend = "libhal-bootstrap.library"
3131

3232
def requirements(self):

demos/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

demos/applications/__device__.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2024 Khalil Estell
1+
// Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

demos/conanfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Khalil Estell
1+
# Copyright 2024 - 2025 Khalil Estell and the libhal contributors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515

1616

1717
class demos(ConanFile):
18-
python_requires = "libhal-bootstrap/[^4.2.1]"
18+
python_requires = "libhal-bootstrap/[>=4.3.0 <5]"
1919
python_requires_extend = "libhal-bootstrap.demo"
2020

2121
def requirements(self):

0 commit comments

Comments
 (0)