litex_server: refactor parameters and to allow setting bind address
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Sun, 14 Apr 2019 06:56:51 +0000 (08:56 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Sun, 14 Apr 2019 07:00:08 +0000 (09:00 +0200)
commit76bc57851bce3a49425e73f8047b7c3f5e8ea891
tree84a720190aea561147f042a8c5112c119161d05c
parent13a76ec7fbc943be5141892bc8b2630269d25a96
litex_server: refactor parameters and to allow setting bind address

In some cases, it can be useful to bind to "0.0.0.0" instead of "localhost".
While adding bind address support, parameters passing has also been refactored
to ease adding parameters in the future.
litex/utils/litex_server.py