nRF MCU family version for the Neuron Platform
To get a full copy of the repository, including all submodules:
- Clone the repository:
git clone [email protected]:Dygmalab/NRF-Neuron.git
- Navigate to the cloned directory and update the submodules:
cd NRF-Neuron && git submodule update --init --recursive
NeuronWireless_raise2 is built to be loaded into the Nordic Semiconductor nRF52833 microcontroller.
NeuronWireless_raise2 | 0x0002E000 - ... |
----------------------- | --------------------------- |
rf_host_device | 0x00027000 - 0x0002DFFF |
----------------------- | --------------------------- |
Softdevice S140 | 0x00001000 - 0x00026FFF |
MBR | 0x00000000 - 0x00000FFF |
make 4.3
gcc-arm-none-eabi 10.3
python 3.11
IntelHex
Python library
To cover these requirements in Ubuntu based distributions, install the build-essential
package. For other Linux distros install them independently.
Install the toolchain for the arm chips
sudo apt install gcc-arm-none-eabi
For installing the IntelHex
call
sudo pip install intelhex
- Download the Nordic Semiconductor SDK nrf5_sdk_17.1.0_ddde560
- Unpack the
nrf5_sdk_17.1.0_ddde560
into thelibraries/SDK/nRF5_SDK_17.1.0_ddde560
folder
cd NeuronWireless_raise2/build
make release
or make debug
In order to upload the firmware into the Neuron, download Dygma flasher tool
https://github.com/Dygmalab/firmware-flasher/releases/latest
Follow the instructions described in its repository.
-
Download the
gcc-arm-none-eabi-10.3-2021.10-win32.exe
package from the following link: ARM Developer Downloads. -
Install the downloaded package in
C:\gcc-arm
. -
Add the
C:\gcc-arm\bin
directory to your system's PATH. -
Download and install MSYS2 from this link: MSYS2.
-
MSYS2 comes with five different terminals. Open the
MSYS2 MINGW64
terminal and run the following command to update the packages:
pacman -Syu
- Next, execute the following command to install
make
:
pacman -S make
- Add the
arm-none-eabi-gcc
compiler to the MSYS2 PATH. Go toC:\msys64\home\<YourUserName>
and add the following line to the.bashrc
file:
export PATH=$PATH:/c/gcc-arm/bin
- Close and reopen the terminal. Check that the compiler has been added successfully by running:
arm-none-eabi-gcc --version
arm-none-eabi-g++ --version
- Download the Nordic Semiconductor SDK nrf5_sdk_17.1.0_ddde560
- Unpack the
nrf5_sdk_17.1.0_ddde560
into thelibraries/SDK/nRF5_SDK_17.1.0_ddde560
folder
-
Download and install 'nRF Connect for Desktop' from this link: nRF Connect for Desktop.
-
Open 'nRF Connect for Desktop' and install the ‘Programmer’ app to flash the project onto the microcontroller.
With these steps, you should have successfully set up your development and flashing environment for the NRF-Neuron project.