Set up Swift environment on Raspberry Pi (part 2/2)
Source: medium.com
This guide, part two of a series, details how to establish a Swift 4.1.1 programming environment on a Raspberry Pi 3 B+ running Raspbian Stretch Lite. It outlines the steps for installing necessary software via command line, downloading and configuring the Swift compiler, and then demonstrates creating and executing a basic "Hello world!" program on the Pi.
Categorisation
Stage 3: Architect (11-13+)Algorithmic & Procedural ThinkingScreen-Assisted / HybridCoding Activity
Props & Materials Required
- •Raspberry Pi Model 3 B+
- •Raspbian Stretch Lite OS (pre-installed, as per part 1)
- •A computer with terminal access to SSH from
- •Internet connection for Raspberry Pi
- •git software
- •nano text editor
Why It Works & Notes
Parent Note:
Learners will gain experience with command-line operations, remote system access via SSH, Linux package management, and setting up a development environment. It also introduces the fundamentals of Swift programming and how to run code on embedded systems.