Crates.io | py32csdk-hal-sys |
lib.rs | py32csdk-hal-sys |
version | 0.4.0 |
source | src |
created_at | 2024-07-19 11:06:16.635049 |
updated_at | 2024-08-15 07:06:54.477386 |
description | PY32 HAL bindings |
homepage | https://github.com/decaday/py32csdk-hal-sys |
repository | https://github.com/decaday/py32csdk-hal-sys |
max_upload_size | |
id | 1308531 |
size | 16,123,472 |
This is a crate that generates bindings using the C SDK for PY32F0.
This package is used by bind-hal, you can use bind-hal's rust API.
Puya PY32F002A, PY32F003, PY32F030
Xinlinggo XL32F003*, XL32F002A*
Luat AIR001
This library uses precompiled static libraries and pregenerated bindings by default.
When using a debug build, this crate uses -Og -g, and when using a release build, uses -Ofast.
These two static libraries are ready for you if you don't want to bother!
To handle macros with type conversions, this library requires using this Pull Request. However, to compile this PR, you need to set the dependency address of cmacro
to https://github.com/reitermarkus/cmacro-rs. You might be able to achieve this using [patch.crates-io]
or by directly fetching the library.
This crate use Clang and cc to compile CSDK.
Some content needs to be processed manually or by script
(*(uint32_t *)
__HAL_RCC_xxx