https://github.com/bertrandmartel/raspberry-dev
:computer: A quick development environment to develop for Raspberry PI on your PC (cross compilation)
https://github.com/bertrandmartel/raspberry-dev
bash cross-compilation development-environment raspberry-pi toolchain
Last synced: 3 months ago
JSON representation
:computer: A quick development environment to develop for Raspberry PI on your PC (cross compilation)
- Host: GitHub
- URL: https://github.com/bertrandmartel/raspberry-dev
- Owner: bertrandmartel
- License: mit
- Created: 2018-10-12T01:56:54.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-05T17:56:22.000Z (over 5 years ago)
- Last Synced: 2025-01-03T20:12:24.905Z (9 months ago)
- Topics: bash, cross-compilation, development-environment, raspberry-pi, toolchain
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Raspberry PI developement environment
A quick development environment to develop for Raspberry PI on your PC based on [this guide](https://medium.com/@au42/the-useful-raspberrypi-cross-compile-guide-ea56054de187). A standalone bash script download the toolchain and build [wiringPi](http://wiringpi.com/) library using cmake.
It can be included as a submodule like this :
```bash
cd project_dir
git submodule add git://github.com/bertrandmartel/raspberry-dev.git
git submodule update --init --recursive
```Then, create your CMakeLists.txt in your project directory and execute :
```bash
./raspberry-dev/init.sh
cmake . -DCMAKE_TOOLCHAIN_FILE=./raspberry-dev/toolchain.cmake
make
```Note: toolchain can be changed in `toolchain-rpi.cmake`
## License
The MIT License (MIT) Copyright (c) 2018 Bertrand Martel