From b2cd8429da34c287ea693ba66a1abdeb7d0872bb Mon Sep 17 00:00:00 2001 From: scbj Date: Tue, 1 Oct 2024 16:53:21 +0200 Subject: [PATCH] added 'bash-conf-work' (for work specific paths and alias), among others --- bash-conf-work/.bash_alias | 7 +++++++ bash-conf-work/.bash_profile | 9 +++++++++ bashrc/.bashrc | 8 +++++++- code/.config/Code/User/settings.json | 1 + 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 bash-conf-work/.bash_alias create mode 100644 bash-conf-work/.bash_profile diff --git a/bash-conf-work/.bash_alias b/bash-conf-work/.bash_alias new file mode 100644 index 0000000..8436d22 --- /dev/null +++ b/bash-conf-work/.bash_alias @@ -0,0 +1,7 @@ +# +# ~/.bash_alias +# + +# xilinx specific aliases +alias petalinux-source='source ~/repos/docker-petalinux2/etc/petalin2.sh' +alias xilinx-vivado-source='source ~/tools/Xilinx/Vivado/2021.1/settings64.sh' diff --git a/bash-conf-work/.bash_profile b/bash-conf-work/.bash_profile new file mode 100644 index 0000000..4db8580 --- /dev/null +++ b/bash-conf-work/.bash_profile @@ -0,0 +1,9 @@ +# +# ~/.bash_profile +# + +# extend paths +export PATH="$PATH:~/tools/Xilinx/Vivado/2021.1/bin" + +# vivado license +export XILINXD_LICENSE_FILE=26140@aberdeen.zhaw.ch diff --git a/bashrc/.bashrc b/bashrc/.bashrc index bc8b12c..8e8c7a1 100644 --- a/bashrc/.bashrc +++ b/bashrc/.bashrc @@ -19,6 +19,9 @@ PS1='[\u@\h \W]\$ ' # overwrite $TERM to avoid problems when connecting to devices via ssh export TERM="xterm-256color" +# extend PATH variable +# export PATH=$PATH:~/path/to/add + # setup starship eval "$(starship init bash)" @@ -27,4 +30,7 @@ eval "$(starship init bash)" # custom functions for specific purposes source ~/collection/commands/colors.sh -source ~/collection/commands/dunst.sh \ No newline at end of file +source ~/collection/commands/dunst.sh + +# source alias file +source ~/.bash_alias \ No newline at end of file diff --git a/code/.config/Code/User/settings.json b/code/.config/Code/User/settings.json index 8f81bd6..671916f 100755 --- a/code/.config/Code/User/settings.json +++ b/code/.config/Code/User/settings.json @@ -36,6 +36,7 @@ "cortex-debug.liveWatchRefreshRate": 400, "cortex-debug.stutilPath": "/usr/bin/st-util", "cortex-debug.gdbPath": "/usr/bin/arm-none-eabi-gdb", + "cortex-debug.JLinkGDBServerPath": "/home/scbj/repos/jlink_linux/JLinkGDBServer", "pdf-preview.default.sidebar": true, "workbench.tree.indent": 20 } \ No newline at end of file