-
Notifications
You must be signed in to change notification settings - Fork 60
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
Support for the STM32L0x0 subfamily #141
Comments
Looks like the SVD descriptors are missing from the files published by ST Micro... >_>' |
I poked ST about it, will post an update if I hear from them. |
They sent me The file exists there, however it says it's under the "End User License Agreement for STMicroelectronics" license and I am unsure if this is any compatible to share so I asked them if this is okay to publish at this point |
I received an updated today: Regarding you github question, you have to respect the following license: Copyright (c) 2020 STMicroelectronics. SPDX-License-Identifier: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software |
for easier access to the file until ST fixes their SVD download package, I created a repo with the file https://github.com/jglauche/STM32L0x0 |
I tried making HAL support (specifically serial ports) for STM32L0x0 by hacking around in the stm32f0xx-hal crate. It seems a new io definition is needed as a number of peripherals are missing compared to the L0x1 devices. But still I am pretty stuck, as I can't get simple GPIO / UART code working. I can upload a fork of the repo with my hacks, but I doubt it has much value. |
Have you tried my fork at https://github.com/jglauche/stm32l0xx-hal ? |
When building for the chip on my dev board, using this feature set : stm32l0xx-hal = { path="../test/stm32l0xx-hal", features = ["mcu-STM32L010R8Tx", "stm32l0x0", "rt"] } - I get compilation errors on the Nr interrupt trait. error[E0277]: the trait bound I removed the exti module from the build, and have managed to get some basics working. ( GPIO + I2C - seems promising ) |
Is there any chance of this getting included ? |
Hi!
Support for the STM32L0x0 subfamily seems to be missing, according to both the README and
docs.rs
.Presumably, this is because they are also missing from the Peripheral Access Crate, but what would be required (beyond some
svd2rust
calls) to make this happen?I suspect @jglauche and I would be willing to make it happen, if you can point us in the right direction.
The text was updated successfully, but these errors were encountered: