Looks like an error all all kernel build linker scripts
This commit is contained in:
parent
43e47f8e78
commit
9e416c2363
|
@ -96,5 +96,5 @@ MEMORY
|
|||
|
||||
ksram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
|
||||
usram (rwx) : ORIGIN = 0x20001000, LENGTH = 4K
|
||||
xsram (rwx) : ORIGIN = 0x20001000, LENGTH = 104K
|
||||
xsram (rwx) : ORIGIN = 0x20002000, LENGTH = 104K
|
||||
}
|
||||
|
|
|
@ -89,7 +89,7 @@ MEMORY
|
|||
|
||||
ksram1 (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
|
||||
usram1 (rwx) : ORIGIN = 0x20001000, LENGTH = 4K
|
||||
xsram1 (rwx) : ORIGIN = 0x20001000, LENGTH = 24K
|
||||
xsram1 (rwx) : ORIGIN = 0x20002000, LENGTH = 24K
|
||||
|
||||
/* 16Kb SRAM */
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ CONFIG_PASS1_TARGET="all"
|
|||
CONFIG_PASS1_BUILDIR="configs/stm3240g-eval/kernel"
|
||||
CONFIG_PASS1_OBJECT=""
|
||||
CONFIG_NUTTX_KERNEL=y
|
||||
CONFIG_NUTTX_USERSPACE=0x08020000
|
||||
CONFIG_NUTTX_USERSPACE=0x08040000
|
||||
|
||||
#
|
||||
# Binary Output Formats
|
||||
|
@ -685,7 +685,9 @@ CONFIG_NXSTART_DEVNO=0
|
|||
#
|
||||
# Memory Management
|
||||
#
|
||||
# CONFIG_MM_MULTIHEAP is not set
|
||||
CONFIG_MM_MULTIHEAP=y
|
||||
CONFIG_MM_KERNEL_HEAP=y
|
||||
CONFIG_MM_KERNEL_HEAPSIZE=8192
|
||||
# CONFIG_MM_SMALL is not set
|
||||
CONFIG_MM_REGIONS=2
|
||||
# CONFIG_GRAN is not set
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
* where the code expects to begin execution by jumping to the entry point in
|
||||
* the 0x0800:0000 address range.
|
||||
*
|
||||
* For MPU support, the kernel-mode NuttX section is assumed to be 128Kb of
|
||||
* For MPU support, the kernel-mode NuttX section is assumed to be 256Kb of
|
||||
* FLASH and 4Kb of SRAM. That is an excessive amount for the kernel which
|
||||
* should fit into 64KB and, of course, can be optimized as needed (See
|
||||
* also configs/stm3240g-eval/scripts/kernel-space.ld). Allowing the
|
||||
|
@ -88,13 +88,13 @@ MEMORY
|
|||
{
|
||||
/* 1024Kb FLASH */
|
||||
|
||||
kflash (rx) : ORIGIN = 0x08000000, LENGTH = 128K
|
||||
uflash (rx) : ORIGIN = 0x08020000, LENGTH = 128K
|
||||
xflash (rx) : ORIGIN = 0x08040000, LENGTH = 768K
|
||||
kflash (rx) : ORIGIN = 0x08000000, LENGTH = 256K
|
||||
uflash (rx) : ORIGIN = 0x08040000, LENGTH = 256K
|
||||
xflash (rx) : ORIGIN = 0x08080000, LENGTH = 512K
|
||||
|
||||
/* 112Kb of contiguous SRAM */
|
||||
|
||||
ksram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
|
||||
usram (rwx) : ORIGIN = 0x20001000, LENGTH = 4K
|
||||
xsram (rwx) : ORIGIN = 0x20001000, LENGTH = 104K
|
||||
xsram (rwx) : ORIGIN = 0x20002000, LENGTH = 104K
|
||||
}
|
||||
|
|
|
@ -97,5 +97,5 @@ MEMORY
|
|||
|
||||
ksram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
|
||||
usram (rwx) : ORIGIN = 0x20001000, LENGTH = 4K
|
||||
xsram (rwx) : ORIGIN = 0x20001000, LENGTH = 104K
|
||||
xsram (rwx) : ORIGIN = 0x20002000, LENGTH = 104K
|
||||
}
|
||||
|
|
|
@ -96,5 +96,5 @@ MEMORY
|
|||
|
||||
ksram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
|
||||
usram (rwx) : ORIGIN = 0x20001000, LENGTH = 4K
|
||||
xsram (rwx) : ORIGIN = 0x20001000, LENGTH = 104K
|
||||
xsram (rwx) : ORIGIN = 0x20002000, LENGTH = 104K
|
||||
}
|
||||
|
|
|
@ -36,8 +36,8 @@ conditions where mmap() can be supported:
|
|||
2. If CONFIG_FS_RAMMAP is defined in the configuration, then mmap() will
|
||||
support simulation of memory mapped files by copying files whole
|
||||
into RAM. These copied files have some of the properties of
|
||||
standard memory mapped files. There are many, many exceptions
|
||||
exceptions, however. Some of these include:
|
||||
standard memory mapped files. There are many, many exceptions,
|
||||
however. Some of these include:
|
||||
|
||||
a. The goal is to have a single region of memory that represents a single
|
||||
file and can be shared by many threads. That is, given a filename a
|
||||
|
|
Loading…
Reference in New Issue