feat: Makefile for running the expect script
This is only needed to parameterize the filename.
This commit is contained in:
parent
1a29951635
commit
5200177db9
3
Makefile
Normal file
3
Makefile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.PHONY: run
|
||||||
|
run: ./ap3825i.expect
|
||||||
|
env OUTPUT_LOG_FILE=$(shell date +%Y-%m-%d_%H-%M-%S).date.log ./ap3825i.expect
|
@ -5,7 +5,7 @@ exp_internal 1
|
|||||||
|
|
||||||
set send_slow {1 0.005}
|
set send_slow {1 0.005}
|
||||||
|
|
||||||
spawn picocom -b 115200 /dev/ttyUSB1 --logfile typescript
|
spawn picocom -b 115200 /dev/ttyUSB1 --logfile $env(OUTPUT_LOG_FILE)
|
||||||
set term_id $spawn_id
|
set term_id $spawn_id
|
||||||
spawn ./toggle_jg928a_port.sh
|
spawn ./toggle_jg928a_port.sh
|
||||||
set spawn_id $term_id
|
set spawn_id $term_id
|
||||||
|
Loading…
Reference in New Issue
Block a user