Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

441 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hal-st

Linting & Formatting OpenSSF Scorecard

Description: hal-st is a HAL (Hardware Abstraction Layer) implementation for a range of ST 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 repository.

Dependencies

hal-st requires:

How to build the software

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

cmake_minimum_required(VERSION 3.21)

project(MyProject VERSION 1.0.0)

include(FetchContent)

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

FetchContent_Declare(
    halst
    GIT_REPOSITORY https://github.com/embedded-pro/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)

How to test the software

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

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

Changelog

See the changelog for more info on what's been changed.

Contributing

Please refer to our contributing guide when you want to contribute to this project.

License

hal-st is licensed under the MIT license except the files and/or directories named in the notice file.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages