bobbin-rs / bobbin-sdk

A multi-platform embedded software development kit using the Rust programming language.
Apache License 2.0
43 stars 4 forks source link

Add MCU support for STM32F42x #6

Closed andreytkachenko closed 6 years ago

andreytkachenko commented 6 years ago

Issue #5

...
/bobbin-sdk/mcu/bobbin-stm32/stm32f42x/src/irq.rs:157: undefined reference to `DEFAULT_HANDLER'
...

Examples status:

jcsoo commented 6 years ago

I haven't had a chance to look at this in detail yet, but from what I see, it looks great! Hopefully will have a chance to review some time this weekend.

jcsoo commented 6 years ago

Looks good to me! I notice you reverted updating the boards to cortex-m-rt 5.1. Was this to simplify the pull request, or did you run into a specific issue? I would like to get all of the boards up to date in the near future.

andreytkachenko commented 6 years ago

I've reverted updating the boards to cortex-m-rt 5.1 because I ran into the linking error: it couldn't find DEFAULT_HANDLER in irq.rs files. I found that if I switch off LTO some examples (which not using interrups) compiles, but others - not.

tekjar commented 6 years ago

Hi. Any update on this? Can I use bobbin sdk for stm32f427?

andreytkachenko commented 6 years ago

@tekjar, I was been testing on stm32f429-dico board, and I don't see any reasons why it wouldn't work on devices from same family. So you can add new board describing where are LEDs (and other periph) are located on the board, but MCU should work