Merge pull request #620 from oleg-sin/master
Update sipeed_tang_nano_4k.py
This commit is contained in:
commit
3fa0f6861e
|
@ -86,12 +86,12 @@ class BaseSoC(SoCCore):
|
||||||
# Use EMCU's SRAM.
|
# Use EMCU's SRAM.
|
||||||
self.bus.add_region("sram", SoCRegion(
|
self.bus.add_region("sram", SoCRegion(
|
||||||
origin = self.cpu.mem_map["sram"],
|
origin = self.cpu.mem_map["sram"],
|
||||||
size = 16 * kB,
|
size = 16 * KILOBYTE,
|
||||||
))
|
))
|
||||||
# Use ECMU's FLASH as ROM.
|
# Use ECMU's FLASH as ROM.
|
||||||
self.bus.add_region("rom", SoCRegion(
|
self.bus.add_region("rom", SoCRegion(
|
||||||
origin = self.cpu.mem_map["rom"],
|
origin = self.cpu.mem_map["rom"],
|
||||||
size = 32 * kB,
|
size = 32 * KILOBYTE,
|
||||||
linker = True,
|
linker = True,
|
||||||
))
|
))
|
||||||
# No Gowin EMCU ----------------------------------------------------------------------------
|
# No Gowin EMCU ----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue