quicklogic_quickfeather: Avoid add_csr calls (not required).

This commit is contained in:
Florent Kermarrec 2021-11-14 08:54:49 +01:00
parent 06bae58f48
commit df468fcf85
1 changed files with 0 additions and 3 deletions

View File

@ -67,15 +67,12 @@ class BaseSoC(SoCCore):
if with_gpioin: if with_gpioin:
self.submodules.gpio = GPIOIn( self.submodules.gpio = GPIOIn(
pads = platform.request_all("user_btn_n"), with_irq=True) pads = platform.request_all("user_btn_n"), with_irq=True)
self.add_csr("gpio")
self.irq.add("gpio", use_loc_if_exists=True) self.irq.add("gpio", use_loc_if_exists=True)
# Leds ------------------------------------------------------------------------------------- # Leds -------------------------------------------------------------------------------------
if with_led_chaser: if with_led_chaser:
self.submodules.leds = LedChaser( self.submodules.leds = LedChaser(
pads = platform.request_all("user_led"), pads = platform.request_all("user_led"),
sys_clk_freq = sys_clk_freq) sys_clk_freq = sys_clk_freq)
if is_eoss3_cpu:
self.add_csr("leds")
# Build -------------------------------------------------------------------------------------------- # Build --------------------------------------------------------------------------------------------