Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Alkesst/RPIAssembly
Assembly code for Raspberry Pi
https://github.com/Alkesst/RPIAssembly
arm assembly gcc-arm leds mp3 raspberry raspberry-pi raspberry-pi-3 songs wiringpi
Last synced: 4 days ago
JSON representation
Assembly code for Raspberry Pi
- Host: GitHub
- URL: https://github.com/Alkesst/RPIAssembly
- Owner: Alkesst
- Created: 2017-05-02T11:03:22.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-11T09:35:05.000Z (over 6 years ago)
- Last Synced: 2024-03-15T18:46:01.486Z (4 months ago)
- Topics: arm, assembly, gcc-arm, leds, mp3, raspberry, raspberry-pi, raspberry-pi-3, songs, wiringpi
- Language: Assembly
- Homepage:
- Size: 55.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- Awesome-Embedded - Assembly code for Raspberry Pi
README
# RPIAssembly
### Requierements
- [WiringPi][1]
- Raspberry pi
- Breadboard, leds, ressistances, buttons and buzzer
- [gcc-arm][2]### Usage
Using the WiringPi library is requiered compiling as follows:
For compile and link with all the libraries you can use compileAndLink.sh. The script will create the dicerollSimulator.o and will link it to libberry.o and wiringPi.
```bash
./compileAndLink.sh dicerollSimulator
```
Make run the program with high priority:```bash
chrt —rr 99./dicerollSimulator
```
If no libraries are being used, it is requiered to use the script build.sh. You will also need gcc-arm for ArchLinuxCompile the project like this:
```bash
./build.sh *sourceFile*
```
If a second argument is given, the script will automaticaly copy the generated image into the path given as second argument. Also, the script unmounts automaticaly the given path. It's mainly work is to compile and copy into an sd card, that's why the script unmounts the path.Base.inc stores all the macros referring to memory positions in the raspberry, thus avoiding having to define them in all the headers.
### Mp3
A "mp3" made with raspberry. If the right button is pressed, it skips the current song, if the left button is pressed, the music is paused. The leds marks the % of song reproduced.The mp3 contains the next songs:
- Atreyu - Start To Break
- Coldplay - Clocks
- Muse - Uprising
- Mors Principium Est - Dead Winds Of Hope
- Insomnium - Weather The Storm
- Amon Amarth - First Kill
- Opeth - Windowpane
- Gojira - A Sight To BeholdSpecial thanks to: [Melchor Garau][3] and [Atanasio Rubio][4]
[1]: http://wiringpi.com
[2]: https://aur.archlinux.org/packages/gcc-arm-none-eabi-bin/
[3]: http://github.com/Melchor629
[4]: http://github.com/TaxoRubio