paoloteti / ti-hercules-bsp

Bare Metal Board Support Package for Texas Instruments Cortex-R4F/R5F TMS570
Other
25 stars 4 forks source link

Add support for TMS570LCxx/RM57LCxx targets #10

Open kamathba opened 5 years ago

kamathba commented 5 years ago

I have access to development kits for both of these targets. I'm relatively new to embedded rust but I tried hacking on your crate a bit and was able to build something that mostly ran on target some time ago. Some differences between LS/LC parts:

Would it be worth trying to come up with chip/mcu definitions and defining the const base register addresses there?

paoloteti commented 5 years ago

I don't have LC class devices in my lab at the moment, but I'm open to review any PR.

Just a remark about FLASH memory: It is a special memory and specs are not available. A workaround is to use F021 lib. from TI in Rust. For this reason I wrote f021-flash-api. Pre-compiled F021 libs a available on TI website.

kamathba commented 5 years ago

Appreciated. I've actually used the two pieces of hardware in a c/c++ project, including ones that used the F021 library. Your work is actually what made me think about trying out embedded rust on some hardware/bsps I'm familiar with (and happen to have on hand).