Skip to content
/ libhal Public
forked from libhal-google/libhal

A collection of interfaces and abstractions for embedded peripherals and devices using modern C++

License

Notifications You must be signed in to change notification settings

libhal/libhal

 
 

Repository files navigation

libhal

✅CI GitHub stars GitHub forks GitHub issues

The foundation of the libhal ecosystem, containing the core hardware interfaces used to make the whole ecosystem work.

📚 Software APIs & Usage

To learn about the available drivers and APIs see the API Reference documentation page or look at the include/libhal directory.

🧰 Setup

Following the 🚀 Getting Started instructions.

📦 Adding libhal to your project

This section assumes you are using the libhal-starter project.

Add the following to your requirements() method to the ConanFile class:

    def requirements(self):
          self.requires("libhal/[^4.0.0]", transitive_headers=True)

The version number can be changed to whatever is appropriate for your application. If you don't know, using the latest is usually a good choice.

Normally, this is not done, as usually libhal is into the code base via implementation libraries such libhal-lpc40 and libhal-stm32f1 for peripheral drivers, or, libhal-esp8266 and libhal-mpu for device drivers.

👥 Contributing

See CONTRIBUTING.md for details.

License

Apache 2.0; see LICENSE for details.

About

A collection of interfaces and abstractions for embedded peripherals and devices using modern C++

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.0%
  • Python 1.8%
  • CMake 1.2%