Skip to content

reshalfahsi/baremetal-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Baremetal Pi - Operating Systems Development: Internal LED Blinking

This repository is for exercise of Embedded Operating System course (TKEE163251) in Electrical and Information Engineering of Universitas Gadjah Mada. The task is simple: blink the Raspberry Pi 3B internal LED based on student number. There are 5 digits in student number. The LED must blink with 200ms delay for each digit. There is a 2s delay between digits.

alt text

Click to Show Full Video

Requirements

You will need Raspberry Pi 3B for testing the actual code, but you don't need any Raspberry Pi 3B to compile, you can use the gcc arm eabi toolchain in another device such as Personal Computer.

You can install the ARM gcc with:

sudo apt install gcc-arm-none-eabi

Compiling and running on Raspberry Pi 3B

make clean
make all

Copy the generated kernel7.img to your SD card, along with the Raspberry Pi boot files (bootloader.bin and start.elf).

About

Blink LED on Raspberry Pi

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy