Benutzerbeiträge von „Satyria“

Aus C und Assembler mit Raspberry
Ein Benutzer mit 1.209 Bearbeitungen. Das Konto wurde am 2. Juli 2024 erstellt.
Suche nach BenutzerbeiträgenAusklappenEinklappen
⧼contribs-top⧽
⧼contribs-date⧽
(neueste | älteste) Zeige ( | ) (20 | 50 | 100 | 250 | 500)

23. Juli 2024

22. Juli 2024

12. Juli 2024

6. Juli 2024

  • 19:5919:59, 6. Jul. 2024 Unterschied Versionen +13.888 Bytes N Making the LED Blink (PI5)Die Seite wurde neu angelegt: „With the previously created Makefile and linker script, we have established a foundation to develop a meaningful program. Our goal is to make the built-in LED of the Raspberry Pi blink. I will explain each step and why it is implemented in this project. === Directory Preparation === First, create a new directory, for example, LED, and place the Makefile and the linker.ld file in it. Also, create the "include" directory within LED to organize our header…“
  • 19:3219:32, 6. Jul. 2024 Unterschied Versionen +3.419 Bytes N Working with Make and Linker ScriptDie Seite wurde neu angelegt: „In this section, we will learn how to develop an operating system on the Raspberry Pi 5 by creating multiple source files and linking them with a linker. We will also use a Makefile to automate the build process. Additionally, we will cover C and C++. === Creating a Makefile === A Makefile helps us automate the build process and keep track of our files. Here is an example Makefile: <syntaxhighlight lang="shell"> CSRCS := $(wildcard *.c) CPPSRCS := $(wildc…“
  • 19:2519:25, 6. Jul. 2024 Unterschied Versionen +915 Bytes N Running the Program on the Raspberry Pi 5Die Seite wurde neu angelegt: „== Preparing the SD Card == To create a bootable SD card for the Raspberry Pi 5, we first need an SD card formatted in FAT32. === Downloading the File === Download the following file from this GitHub repository https://github.com/raspberrypi/firmware/tree/master/boot: *bcm2712-rpi-5-b.dtb === Copying the File to the SD Card === Copy the downloaded file to the SD card. === Creating config.txt === Create a file named config.txt on the SD card and add th…“
  • 19:2319:23, 6. Jul. 2024 Unterschied Versionen +2 Bytes Our First Program (PI5)Keine Bearbeitungszusammenfassung
  • 19:2319:23, 6. Jul. 2024 Unterschied Versionen +2 Bytes Unser erstes Programm (PI5)Keine Bearbeitungszusammenfassung
  • 19:2219:22, 6. Jul. 2024 Unterschied Versionen +2.314 Bytes N Our First Program (PI5)Die Seite wurde neu angelegt: „Our first program will initially do nothing. It will simply run an infinite loop. This serves as a basic building block for all further experiments. I will explain how to create, compile, and run such a program. First, let's check if everything works. === Creating the Source Code === Open a text editor to write our first Assembly program: <syntaxhighlight lang="GAS"> // // The first program // 01.07.2024 www.satyria.de // .section .init // Ensure the link…“
  • 19:1919:19, 6. Jul. 2024 Unterschied Versionen +755 Bytes N Introduction to C and Assembly Programming with the Raspberry Pi 5Die Seite wurde neu angelegt: „In this tutorial, we will cover some topics not described in the previous script for the Raspberry Pi 4. Creating an operating system requires various functions. For example, we need to set up memory management and handle interrupts. Interaction via a USB interface can also be complicated. Later on, we will introduce disk operations, launching additional programs written for this operating system, and more. === Why C and Assembly? === Although the focus o…“
  • 19:1719:17, 6. Jul. 2024 Unterschied Versionen +1.145 Bytes N Setting up the Programming Environment (64-Bit)Die Seite wurde neu angelegt: „== Installing the GNU Toolchain == The GNU Toolchain can be downloaded directly from ARM: https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads There is only a 32-bit version available, but this does not affect us. Download the ZIP file. none|400px === Downloading and Extracting the Toolchain === Go to your download directory, select the ZIP file, and right-click on it. Choose "Extract All…". === Selecting th…“

5. Juli 2024

4. Juli 2024

(neueste | älteste) Zeige ( | ) (20 | 50 | 100 | 250 | 500)