Skip to content

A hardware abstraction layer generated from the RP2040's SVD.

License

Notifications You must be signed in to change notification settings

vkottler/hal-rp2040

Repository files navigation

hal-rp2040 (1.1.1)

codecov Build Status

A hardware abstraction layer generated from the RP2040's SVD.

Documentation

Generated

Workflow

Install vmklib such that you can mk --version (a pip install vmklib to your desired Python environment is all that's needed).

From a fresh checkout:

git submodule update --init
mk dz-sync
mk g

This should result in fully compiled code that you can now use or add to.

Generating Interfaces

Structs and enumerations can be defined for ifgen which can then generate C++ source code into the project.

Generating configurations based on an SVD file:

mk ifgen-svd-XMC4700

Generating code from an ifgen.yaml in the root directory of the project:

mk ifgen