parent
a67fba652d
commit
01c3159a83
|
@ -19,7 +19,7 @@
|
|||
`define JTAG_RESET_FF_LEVELS 5
|
||||
|
||||
`define ROM_DEPTH (32 * 1024) // 指令存储器深度,单位为word(4字节)
|
||||
`define RAM_DEPTH ( 8 * 1024) // 数据存储器深度,单位为word(4字节)
|
||||
`define RAM_DEPTH (16 * 1024) // 数据存储器深度,单位为word(4字节)
|
||||
|
||||
// 外设地址、大小
|
||||
// ROM
|
||||
|
|
|
@ -5,13 +5,13 @@ ENTRY(_start)
|
|||
MEMORY
|
||||
{
|
||||
flash (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 32K
|
||||
ram (wxa!ri) : ORIGIN = 0x20000000, LENGTH = 8K
|
||||
ram (wxa!ri) : ORIGIN = 0x20000000, LENGTH = 16K
|
||||
}
|
||||
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
__stack_size = DEFINED(__stack_size) ? __stack_size : 2K;
|
||||
__stack_size = DEFINED(__stack_size) ? __stack_size : 8K;
|
||||
|
||||
.init :
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue