nrf52-keyboard environment structures

SDCC

1
2
3
//it use to build ch554 fireware.Before that,you should install git and make
//https://github.com/Blinkinlabs/ch554_sdcc
sudo apt install sdcc

nrfutil

1
2
3
4
5
6
7
8
9
sudo apt install python3 python3-pip
pip3 install nrfutil //install nrfutil

//it may not work,so you can download it directly
//https://github.com/NordicSemiconductor/pc-nrfutil/releases
- first download
- rename nrfutil
- move to /usr/bin
- Use chmod to add executable permissions

mergehex

1
2
3
Download from https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download
find the mergehex file and move it to /usr/bin.
By the way,you should use chmod to add executable permissions

Gcc

1
2
3
4
wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
# you must use this version
tar xf gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2
mv gcc-arm-none-eabi-7-2018-q2-update/ /usr/local/
坚持技术分享,如果帮助到了您,您的支持将鼓励我继续创作!