Code Monkey home page Code Monkey logo

xmc4500's Introduction

xmc4500

THIS IS A WORK IN PROGRESS AND MUCH IS UNTESTED

crates.io rust

This is a 'peripheral access crate' for interfacing to the XMC4500 series of microcontrollers for embedded support in Rust that is generated using svd2rust and an SVD file provided by Infineon.

All API's and usage (besides what registers exist) are defined by svd2rust

Generate Crate from SVD

# Necessary 3rd-party tools
cargo install svd2rust
cargo install form
rustup component add rustfmt

svd.sh # Generates code from crate and formats to rustfmt

xmc4500's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar github-actions[bot] avatar kodiakhq[bot] avatar lucasbrendel avatar renovate[bot] avatar xmc-action-bot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

xmc4500's Issues

[Help] Trouble running rust on xmc4500 relax lite kit

Hello,

i have trouble running rust on my xmc4500 relax lite kit. Here is my project: https://github.com/SirWalross/xmc4500-rust. I can compile the project with cargo build, but if i try to debug it with the JLinkGDBServer using cargo run it never reaches the main function.

If i step in gdb it just gives me some weird error messages: Internal error: pc 0xbc4 in read in CU, but not in symtab.

I would very much appreciate any help, tips or information what i am doing wrong. Thanks in advance.


using

  • arm-none-eabi-gcc 13.2.0
  • arm-none-eabi-gdb 13.2
  • JLinkGDBServer V7.92o
  • rustc 1.74.0

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

cargo
Cargo.toml
  • cortex-m 0.7.7
  • cortex-m-rt 0.7.4
  • critical-section 1.1.2
  • vcell 0.1.3
github-actions
.github/workflows/audit.yml
  • actions/checkout v4.1.5
  • actions-rust-lang/audit v1
.github/workflows/doc-publish.yml
  • actions/checkout v4.1.5
  • actions-rust-lang/setup-rust-toolchain v1
.github/workflows/publish.yml
  • google-github-actions/release-please-action v4
  • actions/checkout v4
  • swatinem/rust-cache v2
.github/workflows/rust.yml
  • actions/checkout v4.1.5
  • actions-rust-lang/setup-rust-toolchain v1
.github/workflows/update.yml
  • actions/checkout v4.1.5
  • actions-rust-lang/setup-rust-toolchain v1
  • oleksiyrudenko/gha-git-credentials v2.1.2
  • tibdex/github-app-token v2
  • peter-evans/create-pull-request v6

  • Check this box to trigger a request for Renovate to run again on this repository

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.