Skip to content

Commit f6edbb0

Browse files
committed
remove old scripts and modify target
1 parent a9aee3c commit f6edbb0

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

apax.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type: app
66
description: Application example for using the state machine library
77
targets:
88
- "plcsim"
9-
- axunit-llvm
9+
- "llvm"
1010
# Environment variables
1111
variables:
1212
APAX_BUILD_ARGS:
@@ -16,13 +16,10 @@ variables:
1616
WATCHLISTS: "./watchlist"
1717
# Apax scripts
1818
scripts:
19-
load: sld -i $BIN_FOLDER -t $IP_ADDRESS -r --accept-security-disclaimer -l debug
20-
--default-server-interface
21-
reset: apax hwld --resetPlc:keepOnlyIP --targetIP $IP_ADDRESS
22-
--accept-security-disclaimer
23-
loadhwcn: apax hwld --input ./hwcn/MMC --targetIP $IP_ADDRESS
24-
--accept-security-disclaimer
25-
watch: apax mon -t $IP_ADDRESS -f ./watchfiles/mon.mon -c
19+
# call 'apax load' to download the builded program to the target. An 'apax build' might be required upfront
20+
load: apax sld load --input $BIN_FOLDER --target $IP_ADDRESS --restart
21+
--accept-security-disclaimer --log debug
22+
# call 'apax dlsim' to build and download the application to the target
2623
dlsim:
2724
- apax build
2825
- apax load

0 commit comments

Comments
 (0)