Skip to content

Instantly share code, notes, and snippets.

@baruch
Last active April 28, 2022 12:11
Show Gist options
  • Save baruch/c6b33e3f2019d7c4c5be to your computer and use it in GitHub Desktop.
Save baruch/c6b33e3f2019d7c4c5be to your computer and use it in GitHub Desktop.
Setup Raspberry Pi for nRF24LE1 development
# 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