Last active
April 28, 2022 12:11
-
-
Save baruch/c6b33e3f2019d7c4c5be to your computer and use it in GitHub Desktop.
Setup Raspberry Pi for nRF24LE1 development
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install sdcc to build nRF24LE1 code | |
# Install python-dev and python-setuptools to build python code for hacking | |
# Install minicom for UART communication | |
# Install screen to avoid network disconnect interruptions | |
sudo apt-get update && sudo apt-get install sdcc python-dev python-setuptools minicom screen | |
sudo apt-get dist-upgrade | |
# Install bcm2835 library | |
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.38.tar.gz && tar xvf bcm2835/bcm2835-1.38.tar.gz && cd bcm2835-1.38 && ./configure && make && sudo make install | |
cd ~ | |
# Install nRF24LE1 programmer | |
git clone https://github.com/derekstavis/nrf24le1-libbcm2835.git && cd nrf24le1-libbcm2835 && mkdir -p bin && make | |
cd ~ | |
# use raspi-config to enable SPI & I2C, disable Serial, reduce GPU to 16MB | |
raspi-config | |
# Not strictly flashing related, but general stuff I needed | |
sudo apt-get install vim ctags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment