Merge pull request #435 from trabucayre/fix_artyz7_build

targets/digilent_arty_z7: add flash region
This commit is contained in:
enjoy-digital 2022-10-14 15:49:52 +02:00 committed by GitHub
commit cb65099399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ class BaseSoC(SoCCore):
wishbone = wb_gp0, wishbone = wb_gp0,
base_address = self.mem_map["csr"]) base_address = self.mem_map["csr"])
self.bus.add_master(master=wb_gp0) self.bus.add_master(master=wb_gp0)
self.bus.add_region("flash", SoCRegion(origin=0xFC00_0000, size=0x4_0000, mode="rwx"))
# Leds ------------------------------------------------------------------------------------- # Leds -------------------------------------------------------------------------------------
if with_led_chaser: if with_led_chaser: