mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
spec/microblaze: Use configurable RAM size
When committed, the MicroBlaze RAM size was hard-coded to 16MB. This changes the default to 256MB and sets the KCU105 BSPs to 2GB since that is what the board has on it.
This commit is contained in:
committed by
Joel Sherrill
parent
3317d1e8f0
commit
fa944c5eac
@@ -33,6 +33,8 @@ links:
|
||||
uid: opticachesize
|
||||
- role: build-dependency
|
||||
uid: optintcbaseaddress
|
||||
- role: build-dependency
|
||||
uid: optramlen
|
||||
- role: build-dependency
|
||||
uid: opttimerbaseaddress
|
||||
- role: build-dependency
|
||||
|
||||
@@ -35,7 +35,7 @@ content: |
|
||||
MEMORY
|
||||
{
|
||||
BRAM (AIW) : ORIGIN = 0x00000000, LENGTH = 0x10000
|
||||
RAM : ORIGIN = _TEXT_START_ADDR, LENGTH = 0x1000000
|
||||
RAM : ORIGIN = _TEXT_START_ADDR, LENGTH = ${BSP_MICROBLAZE_FPGA_RAM_LENGTH}
|
||||
}
|
||||
|
||||
REGION_ALIAS ("REGION_START", BRAM);
|
||||
|
||||
21
spec/build/bsps/microblaze/microblaze_fpga/optramlen.yml
Normal file
21
spec/build/bsps/microblaze/microblaze_fpga/optramlen.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||
actions:
|
||||
- get-integer: null
|
||||
- assert-uint32: null
|
||||
- env-assign: null
|
||||
- format-and-define: null
|
||||
build-type: option
|
||||
copyrights:
|
||||
- Copyright (C) 2022 On-Line Applications Research (OAR)
|
||||
default: 0x10000000
|
||||
default-by-variant:
|
||||
- value: 0x80000000
|
||||
variants:
|
||||
- microblaze/kcu105.*
|
||||
description: |
|
||||
length of memory area available to the BSP
|
||||
enabled-by: true
|
||||
format: '{:#010x}'
|
||||
links: []
|
||||
name: BSP_MICROBLAZE_FPGA_RAM_LENGTH
|
||||
type: build
|
||||
Reference in New Issue
Block a user