From 141a3ab98ee027cc9193795e4fb9268490f07926 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Thu, 16 Feb 2023 11:51:48 +0100 Subject: [PATCH] don't start PVA on Moxa --- iocsh | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/iocsh b/iocsh index aa945fa..2fc79e3 100755 --- a/iocsh +++ b/iocsh @@ -222,16 +222,22 @@ EXEPOSTFIX= case $(uname) in ( Darwin ) LIBPOSTFIX=.dylib - ;; + ;; esac -if [[ "$EPICS_HOST_ARCH" == win* ]] -then - LIBDIR=bin - LIBPREFIX= - LIBPOSTFIX=.dll - EXEPOSTFIX=.exe -fi +case "$EPICS_HOST_ARCH" in + ( win* ) + LIBDIR=bin + LIBPREFIX= + LIBPOSTFIX=.dll + EXEPOSTFIX=.exe + ;; + + # Some architectures have not enough memory to run PVA + ( moxa42-armv6l ) + NOPVA=1 + ;; +esac # Get actual EPICS BASE version, either from CONFIG_BASE_VERSION (text) file or from version string in libCom.so # Version may have 3 or 4 digits. We make a (4*2 digit) BASECODE too for easier comparison.