soc_core: fix default --uart_name
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 14 Oct 2019 20:15:02 +0000 (22:15 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 14 Oct 2019 20:15:02 +0000 (22:15 +0200)
litex/soc/integration/soc_core.py

index 63db68e7abbf4ba84145a49ffbbda21c790faf55..7c8abecf6c3d741bf2960afead4c6dc463dda107 100644 (file)
@@ -542,7 +542,7 @@ def soc_core_args(parser):
     # UART parameters
     parser.add_argument("--with-uart", default=None, type=bool,
                         help="with UART (default=True)")
-    parser.add_argument("--uart-name", default="\"serial\"", type=str,
+    parser.add_argument("--uart-name", default="serial", type=str,
                         help="UART type/name (default=serial)")
     parser.add_argument("--uart-baudrate", default=None, type=int,
                         help="UART baudrate (default=115200)")