-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split out hal implementation to efm32hg-hal crate #23
Conversation
Dont forget |
I also found that the bit banding doesnt seem to work, I temporarily tried outclr and outset implementation which worked |
This is where I got with those fixes Since he doesnt wrap systick I had to have multiple delays to get to 1 second, which seems to work |
Also, moved watchdog over to a pr there chrysn/efm32gg-hal#3 seemed to work |
Noted. bit-banding seems to not available at cortex M0+, confirmed at silabs' own knowledge base: I'll work on the gpio in a bit more, also would like to have all the gpio modes back for efm32hg. I think @chrysn already stated some concerns related to this (the availability of gpio set/clear registers). We could discuss this further over there. |
|
} | ||
|
||
/// Common trait for leds | ||
pub trait LedTrait { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small nitpick. Can we get the LedTrait back. Tried to use it for something and noticed it was gone :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added. sorry I took my time on this.
but as we can't do much with error here, ignore Result for now
this closes #15 |
Try to leverage gpio and cmu hal implementation from efm32gg-hal.
enable_trace
, sadly dcb is not available in cortex-m0+MonoTimer
, sadly dwt lacks cyccnt support in cortex-m0+It compiles, but still not in runnable state.It compiles and all examples are running now.on progress...