HAL for the XMC4xxx microcontrollers
xmc-rs / xmc4-hal Goto Github PK
View Code? Open in Web Editor NEWHAL for the XMC4xxx microcontrollers
Home Page: https://xmc-rs.github.io/xmc4-hal/
License: MIT License
HAL for the XMC4xxx microcontrollers
Home Page: https://xmc-rs.github.io/xmc4-hal/
License: MIT License
Dependabot can't resolve your Rust dependency files.
As a result, Dependabot couldn't update your dependencies.
The error Dependabot encountered was:
Updating crates.io index
Updating git repository `https://github.com/japaric/jnet`
error: failed to select a version for the requirement `as-slice = ">= 0.2.0"`
candidate versions found which didn't match: 0.1.2, 0.1.0
location searched: crates.io index
required by package `xmc4-hal v0.0.1 (/home/dependabot/dependabot-updater/dependabot_tmp_dir
If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.
Support the internal die temperature as its own module. It is mainly part of the Scu but i think it will be more obvious that it exists if it is abstracted out of the Scu.
Issue branching from this original issue:
I have been trying to use this package for my XMC4500 micro-controller; however, it has been impossible to properly use so far.
Are there any examples of how to use this HAL, and any documentation on how it should be properly used?
Add Probot for auto merging pull requests that are labeled as 'merge'. Refer to XMC4200.
Lines 285 to 290 in a76e3b5
TODO
comment in a76e3b5. It's been assigned to @lucasbrendel because they committed the code.This issue has been automatically created by todo-actions based on a TODO comment found in src/wdt.rs:65. It will automatically be closed when the TODO comment is removed from the default branch (master).
Lines 169 to 174 in 7d57ddb
TODO
comment in 7d57ddb. It's been assigned to @lucasbrendel because they committed the code.Add Apache License alongside MIT.
Lines 289 to 294 in a76e3b5
TODO
comment in a76e3b5. It's been assigned to @lucasbrendel because they committed the code.This issue has been automatically created by todo-actions based on a TODO comment found in src/scu.rs:351. It will automatically be closed when the TODO comment is removed from the default branch (master).
This issue has been automatically created by todo-actions based on a TODO comment found in src/scu.rs:345. It will automatically be closed when the TODO comment is removed from the default branch (master).
Details | |
---|---|
Package | heapless |
Version | 0.5.6 |
Warning | unsound |
URL | rust-embedded/heapless#181 |
Patched Versions | >=0.6.1 |
Aliases | CVE-2020-36464, GHSA-qgwf-r2jj-2ccv |
The IntoIter
Clone
implementation clones the whole underlying Vec
.
If the iterator is partially consumed the consumed items will be copied, thus creating a use-after-free access.
A proof of concept is available in the original bug report.
Create GitHub Actions flow for building project. Refer to XMC4200.
Lines 275 to 280 in a76e3b5
TODO
comment in a76e3b5. It's been assigned to @lucasbrendel because they committed the code.Lines 293 to 298 in a76e3b5
TODO
comment in a76e3b5. It's been assigned to @lucasbrendel because they committed the code.Lines 297 to 302 in a76e3b5
TODO
comment in a76e3b5. It's been assigned to @lucasbrendel because they committed the code.Lines 301 to 303 in a76e3b5
TODO
comment in a76e3b5. It's been assigned to @lucasbrendel because they committed the code.This issue has been automatically created by todo-actions based on a TODO comment found in src/scu.rs:409. It will automatically be closed when the TODO comment is removed from the default branch (master).
This issue has been automatically created by todo-actions based on a TODO comment found in src/scu.rs:399. It will automatically be closed when the TODO comment is removed from the default branch (master).
This will track known differences between the different XMC4xxx family of Micros based on their output of the SVD files and generated Rust. The goal is to track compatibility and feature parity.
4100 and 4200 are exactly identical
4200 and 4300 have the following differences
can_mo0
, hrpwm0
, hrpwm0_csg0
, hrpwm0_hrc0
, posif0
,can_mo
, ecat0
, ecat_con
, ecat0_fmmu0
, ecat0_sm0
, eth0
, eth0_con
, port15
, port4
, port5
, usb_ch0
ccu40
(ecrd.rs), ccu80
(ecrd.rs), scu_general
(many), scu_hibernate
(many),ccu40_cc40
(ecrd0.rs, ecrd1.rs), ccu80_cc80
(ecrd0.rs, ecrd1.rs), port0
(iocr12.rs), port3
(iocr4.rs), scu_clk
(ecatclkcr.rs)usb0
4200 and 4400 have the following differences
dsd
, dsd_ch0
, eth0
, eth0_con
, port15
, port4
, port5
, usb_ch0
port0
(iocr12.rs), port3
(iocr4.rs), usb_0
(many)4300 and 4800 contain ecat
mod and no others do.
4300 4500 4700 4800 have sdmmc
Lines 225 to 230 in 7d57ddb
TODO
comment in 7d57ddb. It's been assigned to @lucasbrendel because they committed the code.This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Cargo.toml
xmc4100 0.12.0
xmc4200 0.12.0
xmc4300 0.11.0
xmc4400 0.12.0
xmc4500 0.12.0
xmc4700 0.11.0
xmc4800 0.12.0
cortex-m 0.7.7
nb 1.1.0
cortex-m-rt 0.7.4
void 1.0.2
cast 0.3.0
embedded-hal 0.2.7
panic-halt 0.2.0
panic-semihosting 0.6.0
panic-itm 0.4.2
cortex-m-semihosting 0.5.0
heapless 0.8.0
libm 0.2.8
as-slice 0.2.1
cortex-m-rtic 1.1.4
byteorder 1.5.0
cobs 0.2.3
crc16 0.4.0
either 1.11.0
.github/workflows/ci.yml
actions/checkout v4.1.4
actions-rust-lang/audit v1
actions/checkout v4.1.4
actions-rust-lang/setup-rust-toolchain v1
actions/checkout v4.1.4
actions-rust-lang/setup-rust-toolchain v1
actions-rust-lang/rustfmt v1
actions/checkout v4.1.4
actions-rust-lang/setup-rust-toolchain v1
actions/checkout v4.1.4
actions-rust-lang/setup-rust-toolchain v1
google-github-actions/release-please-action v4
actions/checkout v4
actions-rust-lang/setup-rust-toolchain v1
swatinem/rust-cache v2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.