Misc setup changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2109 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
9631982ae2
commit
43bfcf45c5
@ -118,6 +118,15 @@ NuttX buildroot Toolchain
|
||||
detailed PLUS some special instructions that you will need to follow if you are
|
||||
building a Cortex-M3 toolchain for Cygwin under Windows.
|
||||
|
||||
DFU
|
||||
^^^
|
||||
|
||||
The linker files in these projects assume that you will be loading code
|
||||
using STMicro built in USB DFU loader. In this case, the code will not
|
||||
be positioned at the beginning of FLASH (0x80000000) but will be offset
|
||||
to 0x08030000. If you need to change that origin, you will need to
|
||||
edit the file(s) ld.script for each configuration.
|
||||
|
||||
STM3210E-EVAL-specific Configuration Options
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
@ -214,9 +214,9 @@ CONFIG_SSI_POLLWAIT=y
|
||||
# CONFIG_HAVE_LIBM - toolchain supports libm.a
|
||||
#
|
||||
CONFIG_RRLOAD_BINARY=n
|
||||
CONFIG_INTELHEX_BINARY=n
|
||||
CONFIG_INTELHEX_BINARY=y
|
||||
CONFIG_MOTOROLA_SREC=n
|
||||
CONFIG_RAW_BINARY=y
|
||||
CONFIG_RAW_BINARY=n
|
||||
CONFIG_HAVE_LIBM=n
|
||||
|
||||
#
|
||||
|
@ -34,12 +34,14 @@
|
||||
****************************************************************************/
|
||||
|
||||
/* The STM32F103ZET6 has 512Kb of FLASH beginning at address 0x0800:0000 and
|
||||
* 64Kb of SRAM beginning at address 0x2000:0000
|
||||
* 64Kb of SRAM beginning at address 0x2000:0000. Here we assume that the
|
||||
* STM3210E-EVAL's DFU bootloader is being used. In that case, the corrct
|
||||
* load .text load address is 0x08030000 (leaving 320Kb).
|
||||
*/
|
||||
|
||||
MEMORY
|
||||
{
|
||||
flash (rx) : ORIGIN = 0x08000000, LENGTH = 512K
|
||||
flash (rx) : ORIGIN = 0x08030000, LENGTH = 320K
|
||||
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user