Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ghcr.io/philips-software/amp-devcontainer-cpp:6.2.2@sha256:e2ab956d2e2d44581ae787396309149a8e6ce656bb6ea0fd1a240457c9d6ccbe
FROM gabrielfrasantos/embedded-devcontainer-cpp:latest@sha256:bd4f1eb7556fad821b0a2f5ba7326fed5c19c88b4ee8475ae8f8db21e7c09b64

HEALTHCHECK NONE
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @philips-software/awesome-embedded-projects

6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
- uses: hendrikmuhs/ccache-action@bfa03e1de4d7f7c3e80ad9109feedd05c4f5a716 # v1.2.19
with:
key: ${{ github.job }}-ubuntu-latest
max-size: 2G
save: ${{ github.ref == 'refs/heads/main' }}
- uses: seanmiddleditch/gha-setup-ninja@3b1f8f94a2f8254bd26914c4ab9474d4f0015f67 # v6
- uses: lukka/run-cmake@af1be47fd7c933593f687731bc6fdbee024d3ff4 # v10.8
with:
Expand Down Expand Up @@ -60,6 +62,8 @@ jobs:
- uses: hendrikmuhs/ccache-action@bfa03e1de4d7f7c3e80ad9109feedd05c4f5a716 # v1.2.19
with:
key: ${{ github.job }}-${{ matrix.os }}
max-size: 2G
save: ${{ github.ref == 'refs/heads/main' }}
- uses: lukka/run-cmake@af1be47fd7c933593f687731bc6fdbee024d3ff4 # v10.8
with:
configurePreset: "host-single-Debug"
Expand Down Expand Up @@ -130,6 +134,8 @@ jobs:
- uses: hendrikmuhs/ccache-action@bfa03e1de4d7f7c3e80ad9109feedd05c4f5a716 # v1.2.19
with:
key: ${{ matrix.gcc }}-${{ matrix.configuration }}-${{ matrix.target }}
max-size: 2G
save: ${{ github.ref == 'refs/heads/main' }}
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
with:
name: hal_st
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-emil-git-tag.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Update amp-embedded-infra-lib Git Tag
name: Update embedded-pro/embedded-infra-lib Git Tag

on:
schedule:
Expand Down Expand Up @@ -64,10 +64,10 @@ jobs:
if: ${{ steps.pull_head.outputs.current_hash != steps.pull_head.outputs.latest_hash }}
with:
token: ${{ steps.token.outputs.token }}
commit-message: "chore: update amp-embedded-infra-lib hash to ${{ steps.pull_head.outputs.latest_hash }}"
title: "chore: update amp-embedded-infra-lib hash to ${{ steps.pull_head.outputs.latest_hash }}"
commit-message: "chore: update embedded-pro/embedded-infra-lib hash to ${{ steps.pull_head.outputs.latest_hash }}"
title: "chore: update embedded-pro/embedded-infra-lib hash to ${{ steps.pull_head.outputs.latest_hash }}"
body: |
commits on amp-embedded-infra-lib:
commits on embedded-pro/embedded-infra-lib:

```
${{ steps.pull_head.outputs.git_log }}
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (HALST_STANDALONE)
FetchContent_Declare(
emil
GIT_REPOSITORY https://github.com/embedded-pro/embedded-infra-lib.git
GIT_TAG 74165ff75d8734b9968bd5f2772e542968bfe2a0 # unreleased
GIT_TAG 74165ff75d8734b9968bd5f2772e542968bfe2a0 # Unreleased
)
FetchContent_MakeAvailable(emil)

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Following these guidelines helps to communicate that you respect the time of the

## Contributing to development

amp-hal-st is a young open source project and we love to receive contributions from our community — you! There are many ways to contribute, from writing examples, improving the documentation, submitting bug reports and feature requests or writing code which can be incorporated into EmbeddedInfraLib itself.
hal-st is a young open source project and we love to receive contributions from our community — you! There are many ways to contribute, from writing examples, improving the documentation, submitting bug reports and feature requests or writing code which can be incorporated into EmbeddedInfraLib itself.

## Ground Rules

Expand Down
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
# amp-hal-st
# hal-st

[![Linting & Formatting](https://github.com/philips-software/amp-hal-st/actions/workflows/linting-formatting.yml/badge.svg)](https://github.com/philips-software/amp-hal-st/actions/workflows/linting-formatting.yml) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/philips-software/amp-hal-st/badge)](https://api.securityscorecards.dev/projects/github.com/philips-software/amp-hal-st)
[![Linting & Formatting](https://github.com/embedded-pro/hal-st/actions/workflows/linting-formatting.yml/badge.svg)](https://github.com/embedded-pro/hal-st/actions/workflows/linting-formatting.yml) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/embedded-pro/hal-st/badge)](https://api.securityscorecards.dev/projects/github.com/embedded-pro/hal-st)

**Description**: amp-hal-st is a HAL (Hardware Abstraction Layer) implementation for a range of [ST](https://st.com) ARM Cortex-based micro-controllers. amp-hal-st implements the interfaces defined as part of [EmbeddedInfraLib].
**Description**: hal-st is a HAL (Hardware Abstraction Layer) implementation for a range of [ST](https://st.com) ARM Cortex-based micro-controllers. hal-st implements the interfaces defined as part of [EmbeddedInfraLib].

> **Note**: This repository is a copy of the original [amp-hal-st](https://github.com/philips-software/amp-hal-st) repository.

## Dependencies

amp-hal-st requires:
hal-st requires:
- [EmbeddedInfraLib].

## How to build the software

amp-hal-st cannot be built by-itself, it must be built as part of a larger project. This paragraph describes how to add amp-hal-st to a CMake build-system, using [EmbeddedInfraLib].
hal-st cannot be built by-itself, it must be built as part of a larger project. This paragraph describes how to add hal-st to a CMake build-system, using [EmbeddedInfraLib].

> CMakeLists.txt

Expand All @@ -24,13 +26,13 @@ include(FetchContent)

FetchContent_Declare(
emil
GIT_REPOSITORY https://github.com/philips-software/embeddedinfralib.git
GIT_REPOSITORY https://github.com/embedded-pro/embedded-infra-lib.git
GIT_TAG main
)

FetchContent_Declare(
halst
GIT_REPOSITORY https://github.com/philips-software/amp-hal-st.git
GIT_REPOSITORY https://github.com/embedded-pro/hal-st.git
GIT_TAG main
)

Expand All @@ -50,7 +52,7 @@ halst_target_default_init(myprogram)

## How to test the software

Due to the nature of amp-hal-st: a HAL implementation, there are no included automated tests. Testing should be done in-context on the target hardware.
Due to the nature of hal-st: a HAL implementation, there are no included automated tests. Testing should be done in-context on the target hardware.

## Community

Expand All @@ -66,6 +68,6 @@ Please refer to our [contributing](CONTRIBUTING.md) guide when you want to contr

## License

amp-hal-st is licensed under the [MIT](https://choosealicense.com/licenses/mit/) [license](LICENSE) except the files and/or directories named in the [notice](NOTICE) file.
hal-st is licensed under the [MIT](https://choosealicense.com/licenses/mit/) [license](LICENSE) except the files and/or directories named in the [notice](NOTICE) file.

[EmbeddedInfraLib]: https://github.com/philips-software/embeddedinfralib
[EmbeddedInfraLib]: https://github.com/embedded-pro/embedded-infra-lib
2 changes: 1 addition & 1 deletion integration_test/runner/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ int main(int argc, char** argv)
{
cucumber_cpp::library::Application application{};

application.CliParser().add_option("--target", *application.ProgramContext().EmplaceAt<std::string>("target"), "COM port or hostname (ws://<host>/path or tcp://<host>) of the amp-hal-st integration test board")->required();
application.CliParser().add_option("--target", *application.ProgramContext().EmplaceAt<std::string>("target"), "COM port or hostname (ws://<host>/path or tcp://<host>) of the hal-st integration test board")->required();

return application.Run(argc, argv);
}
6 changes: 2 additions & 4 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
"packages": {
".": {
"release-type": "simple",
"package-name": "amp-hal-st",
"extra-files": [
"CMakeLists.txt"
]
"package-name": "hal-st",
"extra-files": ["CMakeLists.txt"]
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
Expand Down