Skip to content

libhal/libhal-linux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1663336 Β· May 10, 2024

History

5 Commits
Apr 26, 2024
Apr 26, 2024
May 9, 2024
May 10, 2024
May 9, 2024
May 9, 2024
Apr 26, 2024
May 9, 2024
Apr 26, 2024
Apr 26, 2024
Apr 26, 2024
Apr 26, 2024
May 9, 2024
Apr 26, 2024
Apr 26, 2024
May 10, 2024
Apr 26, 2024
May 10, 2024
May 9, 2024

Repository files navigation

libhal-linux

Important

There is not yet a published package on JFrog and you will need to build the package manually using conan create . --version=latest. This will be fixed soon. No cross compiler profiles have been created yet, to use develop using this you currently need develop with the same archtecture and operating system as your build target. A Dockerfile has been provided for arm64 linux development. (Raspberry Pis and alike)

βœ… Checks Coverage GitHub stars GitHub forks GitHub issues

Userspace library for embedded linux

Git History for implementations of output_pin, input_pin, i2c, and serial can be seen here

Contributing

See CONTRIBUTING.md for details.

License

Apache 2.0; see LICENSE for details.


πŸ“š Software APIs & Usage

To learn about available kernel APIs, documentation will be be made available soon.

To see some example code on how various APIs are used, see the programs inside the demos folder.

🧰 Setup

Following the πŸš€ Getting Started instructions.

πŸ“‘ Installing Profiles

Coming soon, see important notice.

πŸ—οΈ Building Demos

ON the device that is to run this code, a computer that is the same OS and architecture, or inside the provided docker container:

To build demos, start at the root of the repo and execute the following command:

conan build demos

πŸ’Ύ Flashing/Programming

The easiest way to get your compiled program onto hardware like a Raspberry Pi is via ssh. (Assuming your hardware's linux installation has sshd).

Run the following command:

scp path/to/your.bin username@hardware_device:new_path/to/app