57 lines
1.2 KiB
Plaintext
57 lines
1.2 KiB
Plaintext
# generic ARC BSP configuration options
|
|
|
|
|
|
config PLATFORM
|
|
string
|
|
default generic_arc
|
|
help
|
|
This option holds the directory name used by the build system
|
|
to locate the correct linker file.
|
|
|
|
config NUM_IRQ_PRIO_LEVELS
|
|
# This processor supports only 2 priority levels:
|
|
# 0 for Fast Interrupts (FIRQs) and 1 for Regular Interrupts (IRQs).
|
|
default 2
|
|
|
|
config NUM_REGULAR_IRQ_PRIO_LEVELS
|
|
# This processor supports only 1 Regular Interrupt priority level (1).
|
|
default 1
|
|
|
|
config NUM_IRQS
|
|
# must be >= the highest interrupt number used
|
|
default 17
|
|
|
|
|
|
menu "Generic BSP Options"
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
default 32000000
|
|
|
|
config RAM_START
|
|
prompt "RAM start address"
|
|
hex
|
|
default 0x4000 if NSIM
|
|
default 0xa8000000
|
|
|
|
config RAM_SIZE
|
|
prompt "RAM size (in bytes)"
|
|
hex
|
|
default 0x4000 if NSIM
|
|
default 0x14000
|
|
|
|
config NSIM
|
|
prompt "Running on the MetaWare nSIM simulator"
|
|
bool
|
|
default n
|
|
help
|
|
For running on nSIM simulator.
|
|
|
|
a) Uses non-XIP to run in RAM.
|
|
b) Linked at address 0x4000 with 0x4000 of RAM so that it works with
|
|
a pc_size of 16 (default).
|
|
c) Sets the entry point to __reset, since it seems nSIM ignores the
|
|
reset vector when starting (??).
|
|
|
|
endmenu
|