kossnikita / at32f4xx-hal

4 stars 2 forks source link

Any plans to implement I2C and SPI? #1

Open truelecter opened 9 months ago

truelecter commented 9 months ago

Hey!

I'm new to the rust and rust embedded in particular and I am trying to write some code for the AT32F403A chip. Currently, I'm using stm32f1xx-hal, and it kind of works, but found your project and it seems real nice.

Are there any plans to implement SPI and I2C in the foreseeable future?

kossnikita commented 9 months ago

Greetings! I'm glad you're interested in the project. You are right, since Artery completely copied the registers from ST, then the hal will work. I'm busy with another project at the moment, but I'll get back to it. Hopefully at the beginning of the year. SPI and I2C should definitely be implemented, but my priorities are USART and PWM.

If you are interested in helping this project, you can open an PR. This project is practically a copy of stm32fxxx-hal. So to implement these functions, you can take the code there.