rust-embedded-community / tm4c-hal

An Embedded HAL and general chip support for the TM4C123/LM4F120. Replaces the old lm4f120 crate.
Apache License 2.0
40 stars 26 forks source link

Updated deps #52

Closed amcelroy closed 1 year ago

amcelroy commented 1 year ago

Howdy,

I'd like to submit for review some changes to the Cargo.toml files to upgrade the dependencies to use with more modern dependencies, such as RTIC v1. We recently started a project in RTIC v1 for the Max32660 and I wanted to upgrade an older TM4C project that used RTIC v0.5.

To do this, I had to change some of the code in the dslite2svd crate in commit #77a40f0. I was hoping to get this version released on crates.io but after discussing with the maintainer they tagged the repo as v0.9.1 and we agreed to try and submit a PR to this project using the git repo + tag instead of trying to update crates.io for the tm4c123x and tm4c129x dependencies.

I've been using the upgraded HAL with RTIC v1 and haven't noticed any issues with GPIO, EEPROM, UART, Timers, ADC, and SPI. The project has been behaving similarly to

Thanks for considering!

eldruin commented 1 year ago

@amcelroy Could you update this to use the published versions?

amcelroy commented 1 year ago

Just confirmed that the new crates.io version 0.9.1 for tm4c123x is working (we don't have a tm4c129x, but presumably it works) with our current project using RTIC v1.1.4.

The last commit reverts the dependencies from the github repo to crates.io.

Thanks for helping maintain this library, we have really appreciated using it to get into Rust using it since we still use the TM4C123 for a couple of projects.

eldruin commented 1 year ago

I have now published the new versions of the crates.