VojislavM / nordic-nrf-ubuntu-dev-env

This repo is represents user guide and starting point in nRF development on the Linux Ubuntu machine.
0 stars 0 forks source link

setup4: create start script #4

Open VojislavM opened 4 years ago

VojislavM commented 4 years ago

create script for running vs code and adding env variables: nRF_VSCode.sh:

#! /bin/bash

# nRF SDK location
export nRF_SDK=/home/user/Documents/nrf/nRF5_SDK_15.3.0_59ac345

# ARM GCC location
export GNU_GCC=/home/user/Documents/gcc-arm-none-eabi-7-2018-q2-update

# Launch VS Code
code
VojislavM commented 4 years ago

change script permisions: chmod +x <shell_script_name>

and run script