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

Lists

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 ArchLinux

Compile 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 Behold

Special 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