So first i pull the mysensors code from github to my raspberry pi.
For running a mysensors gateway node on my raspberry pi using RS485 for transport i would then set it up with :+1:
./configure --my-gateway=serial --my-serial-is-pty --my-serial-pty=/dev/ttyUSBMySGW1 --my-transport=rs485 --my-rs485-serial-port=/dev/ttySC0 --my-rs485-baudrate=19200 --my-rs485-de-pin=23
Then make and make install that gateway and voila..
I can do the same for an RF based gateway running on the raspberry pi itself using a directly connected NRF module, which would recreate the mysensors files and install those. Which means i have either the RS485 or the RF gateway. Not both at the same time.
My point is, how to set this up properly so i can compile 2 mysensors gateway instances on the same raspberry pi and run them at the same time. 1 for RF and one using RS485 ???