raspi:raspi-dev-en
Differences
This shows you the differences between two versions of the page.
| — | raspi:raspi-dev-en [2022/12/10 18:18] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | [[: | ||
| + | ======RasPi====== | ||
| + | [[: | ||
| + | \\ | ||
| + | \\ | ||
| + | [[http:// | ||
| + | |||
| + | | ||
| + | |||
| + | ===== Install pre-build package ===== | ||
| + | Pre-build packages (daily build) can be found here: | ||
| + | * https:// | ||
| + | |||
| + | ====Download==== | ||
| + | < | ||
| + | wget https:// | ||
| + | </ | ||
| + | |||
| + | ====Package install==== | ||
| + | < | ||
| + | sudo apt install ./ | ||
| + | </ | ||
| + | |||
| + | > Note: the " | ||
| + | \\ | ||
| + | |||
| + | ===== Build from source ===== | ||
| + | ==== Get the source ==== | ||
| + | < | ||
| + | git clone < | ||
| + | </ | ||
| + | \\ | ||
| + | |||
| + | ==== Make ==== | ||
| + | < | ||
| + | cd ~/ | ||
| + | make fromtar | ||
| + | </ | ||
| + | > Note: Use the '' | ||
| + | |||
| + | If wxWidgets is not installed the build process will end at the start of compiling Rocview.\\ | ||
| + | Just ignore the errors if you are interested in the Rocrail Server only.\\ | ||
| + | ===Update=== | ||
| + | With the following command the sources can be updated: | ||
| + | < | ||
| + | cd ~/ | ||
| + | git reset --hard | ||
| + | git pull | ||
| + | </ | ||
| + | Use the following command to rebuild Rocrail: | ||
| + | < | ||
| + | cd ~/ | ||
| + | make fromtar | ||
| + | </ | ||
| + | Or to rebuild the Rocrail Server only: | ||
| + | < | ||
| + | cd ~/ | ||
| + | make fromtar server | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===Install=== | ||
| + | < | ||
| + | sudo make install | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | ====Optional distribution package==== | ||
| + | A build can be shared by creating an install package: | ||
| + | < | ||
| + | cd rocrail | ||
| + | ./mkdeb.sh wheezy armhf | ||
| + | </ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | =====Documentation===== | ||
| + | * [[raspi: | ||
| + | \\ | ||
| + | |||
| + | ===== Configuration Tips ===== | ||
| + | Open the RasPi Configuration utility in a terminal: | ||
| + | < | ||
| + | sudo raspi-config | ||
| + | </ | ||
| + | ====Network & WiFi ==== | ||
| + | * http:// | ||
| + | \\ | ||
| + | |||
| + | ===== Programming Tips ===== | ||
| + | ====Detecting ARM===== | ||
| + | <code c> | ||
| + | #include < | ||
| + | |||
| + | int main() { | ||
| + | #ifdef __arm__ | ||
| + | printf(" | ||
| + | #endif | ||
| + | return 0; | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||