This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Updating from sdk 8.1 to 12.2: How to compile with terminal

I have a project (using a Ble Nano) that currently is running on Nordic SDK 8.1 but I want to update it to 12.2 . I currently use terminal to compile the project (I got the instructions for how to do it here: github.com/.../RB_Nano_Doc_6-8-15.pdf). I use the following commands to compile my current project:

$make all  
$ cd _build   
$SOFTDEVICE=$NRF51_SDK/components/softdevice/s110/hex/s110_softdevice.hex 
$ OUTPUT=output.hex 
$INPUT=nrf51422_xxac_s110.hex 
$srec_cat $SOFTDEVICE -intel $INPUT -intel -o $OUTPUT -intel --line-length=44 
$cp $OUTPUT /media/$USER/MBED

`

When I went to update the project I was able to use the following commands:
$make all $ cd _build $SOFTDEVICE=~/nRF5_SDK_12.2.0_f012efa/components/softdevice/s130/hex/s130_nrf51_2.0.1_softdevice.hex $ OUTPUT=output.hex
but when I went to set the INPUT ($INPUT=nrf51422_xxac_s110.hex) I was unable to find the appropriate hex file. Where can I find the hex file for a s130 device in the 12.2 sdk?

Related