You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my case I have an existing project using the .NET IoT package (https://github.com/dotnet/iot) running a headless Raspberry Pi. I wanted to take advantage of the great library of devices in Meadow Foundation, especially the ST7789 display that I wanted to use for status information in my project. Since your libraries use interfaces all over, which is awesome, I was thinking it wouldn't be too hard to just create my own RPi adapter without the display (Skia/Silk) dependencies (since I don't have a display, they are of no use to me), plus I wanted to use the existing .NET IoT code as well. But unfortunately the RaspberryPi implementation is inherited from the Linux class, and the dependency for display is in that base class.
What I ended up was rolling my own implementation, which works fine, but I wanted to suggest that you separate the display (Skia/Silk) parts from the main Linux/Rpi class so it can just be added if needed.
I'm pretty sure a lot of people who want to use the Foundation devices don't have/need the display parts. Here's a link to my adapter if someone wants to marry Meadow Foundation with .NET IoT: https://github.com/HakanL/Meadow.DotNetIoT
The text was updated successfully, but these errors were encountered:
I've pulled it out to the LinuxDesktop which is probably where it should have been in the first place. That said, it's still a ref because all of the Linux implementations are in that same assembly. I'm thinking that to decrease this, maybe we should have a Linux assembly, and then derived assemblies for each target platform, so RPi, BeagleBone, Jetson, Desktop, etc all become individual assemblies.
That sounds good, but yeah, ultimately it would be nice to not have that dependency in the assembly, as IMHO Skia in this context is used for debug/development, and not often in a production environment (however the RPi using IO via Meadow could be used in production, at least that's my plan).
In my case I have an existing project using the .NET IoT package (https://github.com/dotnet/iot) running a headless Raspberry Pi. I wanted to take advantage of the great library of devices in Meadow Foundation, especially the ST7789 display that I wanted to use for status information in my project. Since your libraries use interfaces all over, which is awesome, I was thinking it wouldn't be too hard to just create my own RPi adapter without the display (Skia/Silk) dependencies (since I don't have a display, they are of no use to me), plus I wanted to use the existing .NET IoT code as well. But unfortunately the RaspberryPi implementation is inherited from the
Linux
class, and the dependency for display is in that base class.What I ended up was rolling my own implementation, which works fine, but I wanted to suggest that you separate the display (Skia/Silk) parts from the main
Linux
/Rpi class so it can just be added if needed.I'm pretty sure a lot of people who want to use the Foundation devices don't have/need the display parts. Here's a link to my adapter if someone wants to marry Meadow Foundation with .NET IoT: https://github.com/HakanL/Meadow.DotNetIoT
The text was updated successfully, but these errors were encountered: