2. GCC-ARM for nRF51 IoT SDK
1) Packcage Install on CentOS 7
# uname -sr ; cat /etc/redhat-release
Linux 3.10.0-229.20.1.el7.x86_64
CentOS Linux release 7.1.1503 (Core)
# yum install -y wget net-tools bzip2 bc openssl-devel bluez usbutils ld-linux.so.2
# yum groupinstall "Development Tools" -y
2) Install GCC-ARM Embedded
Download GCC ARM Embedded form https://launchpad.net/gcc-arm-embedded/
# cd /usr/local/
# tar vxfj /opt/gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2
3) Install nRF51 IoT SDK
Download nRF51 from https://developer.nordicsemi.com/nRF51_IoT_SDK/
# cd /opt
# unzip nrf51_iot_sdk_0.8.0_f1f6187.zip
# vi /opt/Nordic/nrf51/components/toolchain/gcc/Makefile.posix
GNU_INSTALL_ROOT := /usr/local/gcc-arm-none-eabi-4_9-2015q3
GNU_VERSION := 4.9.3
GNU_PREFIX := arm-none-eabi
4) Compile Examples
# cd /opt/Nordic/nrf51/examples/iot/mqtt/publisher/boards/pca10028/armgcc
# make
5) Copy hex and mergehex.exe on Windows
Copy s1xx-iot-prototype2_softdevice.hex from nrf51_iot_sdk folder to windows
Copy nrf51422_xxac_s1xx_iot.hex from nrf51_iot_sdk folder to windows
C: nrf51_iot_sdk>
mergehex.exe --merge s1xx-iot-prototype2_softdevice.hex C:nrf51422_xxac_s1xx_iot.hex
--output output.hex *** and Drag&Drop output.hex to D: (MBED) nRF51 USB Dongle.
SOURCE: SAKURA Internet Research Center. 11/2015
nRF51
GCC ARM
INTERNET
NAT64
GPIO
USB Storage
Bluetooth
Linux