stcarrez / ada-enet

Ada Embedded Network Stack
Apache License 2.0
21 stars 4 forks source link

Alire crate #5

Open reznikmm opened 2 weeks ago

reznikmm commented 2 weeks ago

What do you think about having ada-enet as a crate (or two crates) in Alire? Does it worth spending time?

I mean we split the code into a target independent part and stm32 dependent driver. I guess we can have a target independent crate rather easily. I can send a PR if you want. It won't break current configure scripts. By having an independent part, people will be able to write drivers for specific hardware.

Wrapping stm32 driver as a crate is harder, because it depends on STM32 packages and no crate provides these packages right now. I did an experiment with next approach:

stcarrez commented 2 weeks ago

It's fine for me, and yes, it would be nice to have a crate instead of the configure stuff which was there to cope with some configuration issues.

It is not clear for me how the Ada_Drivers_Library is still usable in the Alire environment and how.

By the way, I didn't know there was such provides thing in Alire :-)

Ready to spend time with you (in my little spare time) if you want...