Description: amp-hal-st is a HAL (Hardware Abstraction Layer) implementation for a range of ST ARM Cortex-based micro-controllers. amp-hal-st implements the interfaces defined as part of EmbeddedInfraLib.
amp-hal-st requires:
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.
CMakeLists.txt
cmake_minimum_required(VERSION 3.21)
project(MyProject VERSION 1.0.0)
include(FetchContent)
FetchContent_Declare(
emil
GIT_REPOSITORY https://github.com/philips-software/embeddedinfralib.git
GIT_TAG main
)
FetchContent_Declare(
halst
GIT_REPOSITORY https://github.com/philips-software/amp-hal-st.git
GIT_TAG main
)
FetchContent_MakeAvailable(emil halst)
add_executable(myprogram Main.cpp)
target_link_libraries(myprogram PUBLIC
infra.event
hal_st.stm32fxxx
)
halst_target_default_linker_scripts(myprogram)
halst_target_default_init(myprogram)
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.
This project uses a code-of-conduct to define expected conduct in our community. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a project maintainer
See the changelog for more info on what's been changed.
Please refer to our contributing guide when you want to contribute to this project.
amp-hal-st is licensed under the MIT license except the files and/or directories named in the notice file.