Hi Oleg, that's a big question list! 🙂 Let's get to it:
1. I've never seen this dialog before and I don't know why it appeared. OpenPLC comes with mingw prepackaged with it and should always only use mingw. The included mingw is only used to build the simulation that runs on your computer. It is not used to upload code to other platforms.
2. Although OpenPLC is based on Arduino to compile and upload programs to the boards, you don't need arduino installed to upload programs. The editor comes with its own copy of the arduino-cli utility. Your problem is elsewhere.
3. What do you mean by it "does not start"? Do you get any error messages? You don't need any special drivers for it to run, but obviously it won't control anything as computers don't have any IO. It can, however, control stuff you add as slave devices (remote IO).
4. The runtime should be able to run on anything that runs Debian or any of its variants (Ubuntu, Mint, etc). Just as I explained on 3, this comes with no IO control. If you want to control specific GPIO pins on your target Linux board, then you will have to write a driver, which is called hardware layer in OpenPLC. All hardware layers are located at OpenPLC_v3/webserver/core/hardware_layers. You can check this folder for examples:
https://github.com/thiagoralves/OpenPLC_v3/tree/master/webserver/core/hardware_layers
5. You will have to write a driver for that. The interface is pretty intuitive, just 4 functions: initializeHardware(), updateBuffersIn(), updateBuffersOut(), and finalizeHardware(). The two updateBuffer functions are called cyclically during the PLC scan cycle. Check the blank driver for more information on how the driver works.
7. That dialog can only generate code for arduino-compatible boards. Windows and Linux targets must receive a program through the web interface.
8. That setting is only valid for arduino-compatible boards. Currently you can only assign Modbus to a single serial interface
9. To upload projects, yes. Board that support Ethernet can be debugged using TCP/IP (as long as Modbus/TCP is selected in the upload dialog)
10. No. Multiple tasks run in round-robin fashion inside the runtime.