[fix] add pmod uart in default config

This commit is contained in:
Charles-Henri Mousset 2023-04-30 09:24:15 +02:00
parent f5dfdf9abf
commit fd5511f3fd
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ class BaseSoC(SoCCore):
platform = colorlight_i9plus.Platform(toolchain=toolchain)
# PMOD: uart on P2 (top) -------------------------------------------------------------------
if with_pmod_uart:
if with_pmod_uart or kwargs.get("uart_name", "") == "serial":
platform.add_extension(colorlight_i9plus.pmod_uart())
# CRG --------------------------------------------------------------------------------------