GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - py32-rs/py32-data

BranchesTags
Open more actions menu

Latest commit

 

History

186 Commits
186 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
data
data
 
 
py32-data-gen
py32-data-gen
 
 
py32-data-macros
py32-data-macros
 
 
py32-data-serde
py32-data-serde
 
 
py32-metapac-gen
py32-metapac-gen
 
 
raw
raw
 
 
scripts
scripts
 
 
svd
svd
 
 
.gitignore
.gitignore
 
 
Cargo.toml
Cargo.toml
 
 
DEVELOPMENT.md
DEVELOPMENT.md
 
 
LICENSE-APACHE
LICENSE-APACHE
 
 
LICENSE-MIT
LICENSE-MIT
 
 
README.md
README.md
 
 
d
d
 
 
d.ps1
d.ps1
 
 
peripheral_version.md
peripheral_version.md
 
 

Repository files navigation

py32-data & py32-metapac

Crates.io Crates.io docs.rs

All-in-one Rust PAC(Peripheral Access Crate) for Puya MCU Series.

This repository maintains the registers and metadata for PY32, processes this information, and generates the metapac.

Whenever changes are pushed to the main branch, a workflow will automatically run to push the latest generated metapac to https://github.com/py32-rs/py32-metapac.

You can check the peripheral version corresponding to the microcontroller here.

py32-hal provides a cross-family HAL implementation depending on py32-metapac.

Families

Date: 20261112

  • Low Cost
    • PY32F002A
    • PY32F002B
    • PY32F003
    • MS32C001
    • MS32C001B
  • Mainstream
    • PY32F030
    • PY32F031
    • PY32F040
    • PY32F071
    • PY32F072
    • PY32F403
  • Low Power
    • PY32L020
  • Motor Control
    • PY32M010A
    • PY32M020
    • PY32M030
    • PY32M031
    • PY32M070
    • PY32MD310
    • PY32MD320
    • PY32MD410
    • PY32MD420
  • Touch Control
    • PY32T020

Development & Contributing

If you want to add new chips, fix register bugs, or understand how this repository works, please read the Development Guide.

Generate metapac

Please install chiptool first:

cargo install --git https://github.com/embassy-rs/chiptool --locked

Then run the following command in the repo root directory to generate py32-metapac. The final output will be generated in build/py32-metapac.

./d gen

TODOs

  • Update(rescrape) chips data.

  • PY32F403 Series.

  • Configure the additional registers for peripherals like USART and I2C on the PY32F072, which has more registers compared to version 1 (F030).

  • The py32f07x reference manual does not describe the exact layout of the UID; it only specifies the base address (0x1FFF3000).

License

This project is licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

4 stars

Watchers

3 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.