-
Notifications
You must be signed in to change notification settings - Fork 19
Rapsberry Pi
Arm32 builds are available as community supported builds for .NET Core 2.0. There is no SDK that runs on ARM32 but you can publish an application that will run on a Raspberry Pi.
These steps have been tested on a RPi 2 and RPi 3 with Linux and Windows.
Note: Pi Zero is not supported because the .NET Core JIT depends on armv7 instructions not available on Pi Zero.
-
Run
dotnet publish -r linux-arm -f netcoreapp2.0
for Linux running on Raspberry Pi. -
Under
./bin/Debug/netcoreapp2.0/linux-arm/publish
you will see the whole self contained app that you need to copy to your Raspberry Pi.
-
Install Linux on your Pi.
-
Install the prereq packages for .NET Core.
-
Copy your app to the Raspberry Pi and execute application from .NET Core running on your Pi! (make sure you
chmod 755
)