OpenPLC runtime调试

232 阅读1分钟
  1. git clone github.com/thiagoralve…
  2. 切换到目录"/OpenPLC_v3"中并执行./install.sh
  3. 将需要调试的st文件放入目录"OpenPLC_v3/webserver/st_files"中
  4. 切换到目录"/OpenPLC_v3/webserver/scripts"中并修改compile_program.sh文件如下图 image.png
  5. 执行./compile_program.sh test.st
  6. 切换到目录"OpenPLC_v3/webserver/core"中并执行gdb openplc