Code Monkey home page Code Monkey logo

libhal-expander's Introduction

libhal-expander

โœ… Checks GitHub stars GitHub forks GitHub issues

libhal compatible device library for the expander family of devices.

๐Ÿ—๏ธ Building Demos

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

conan build demos -pr lpc4078 -pr arm-gcc-12.3

or for the lpc4074

conan build demos -pr lpc4074 -pr arm-gcc-12.3

or for the stm32f103c8

conan build demos -pr stm32f103c8 -pr arm-gcc-12.3

๐Ÿ“ฆ Building The Library Package Demos

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

conan create . -pr lpc4078 -pr arm-gcc-12.3 --version=latest

To compile the package for the stm32f103c8 or lpc4074, simply replace the lpc4078 profile with the appropriate profile name. For example:

conan create . -pr stm32f103c8 -pr arm-gcc-12.3 --version=latest

Note

If you are developing the code, and simply need to test that it builds and that tests pass, use conan build . vs conan create .. This will build the package locally in the current directory. You'll find the contents in the build/ directory at the root of the repo. Now links will point to the code in the repo and NOT the conan package directory.

๐Ÿ“‹ Adding libhal-expander to your project

Add the following to your requirements() method within your application or library's conanfile.py:

    def requirements(self):
        self.requires("libhal-expander/[^1.0.0]")

Replace version 1.0.0 with the desired version of the library.

Assuming you are using CMake, you'll need to find and link the package to your executable:

find_package(libhal-expander REQUIRED CONFIG)
target_link_libraries(app.elf PRIVATE libhal::expander)

Replace app.elf with the name of your executable.

The available headers for your app or library will exist in the include/libhal-expander/ directory.

Contributing

See CONTRIBUTING.md for details.

License

Apache 2.0; see LICENSE for details.

libhal-expander's People

Contributors

kammce avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.