Skip to content

Conversation

JalonWong
Copy link
Contributor

@JalonWong JalonWong commented Aug 12, 2025

The STM32L1 crate is too old, so I use F1 instead. I have debugged it, and it works well.
Depends on #90
resolve #66

@JalonWong JalonWong force-pushed the m3 branch 2 times, most recently from b952c1e to 2ac8548 Compare August 12, 2025 22:04
env:
RUSTFLAGS: -D warnings # Warnings disabled only in CI
# env:
# RUSTFLAGS: -D warnings # Warnings disabled only in CI
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason to re-enable warnings?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because there is no warning now, I think enabling it is better.

key: ${{ runner.os }}-${{ runner.arch }}
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
uses: dtolnay/rust-toolchain@stable
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see this PR also has changes included in the other PR. I'll add my comments from the other PR here in case it makes sense to just merge this one.

It looks like this is changing the overall build to be stable, not the examples. I'm not sure if it makes sense to switch the whole project over to stable at this time. If the goal is to build only some examples with the stable toolchain, maybe it makes sense to make a copy of the examples section that runs only the ones that work on stable?

// delay_n(555);
}
unsafe fn HardFault(_ef: &ExceptionFrame) -> ! {
// Blink 3 times long when exception occures
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the comment still correct? I don't see anything that would blink now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I deleted the comment, the same as M4. And the function set_led() is not a very good example. I don't think we should encourage implementation like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to embedded-hal v1
2 participants