mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
Kconfig: QEMU fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5116 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+1
-1
@@ -143,7 +143,7 @@ config DRAM_SIZE
|
|||||||
comment "Boot options"
|
comment "Boot options"
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "LPC31xx Boot Mode"
|
prompt "Boot Mode"
|
||||||
default BOOT_RUNFROMFLASH
|
default BOOT_RUNFROMFLASH
|
||||||
|
|
||||||
config BOOT_RUNFROMEXTSRAM
|
config BOOT_RUNFROMEXTSRAM
|
||||||
|
|||||||
+1
-1
@@ -367,7 +367,7 @@ config ARCH_BOARD_PJRC_87C52
|
|||||||
|
|
||||||
config ARCH_BOARD_QEMU_I486
|
config ARCH_BOARD_QEMU_I486
|
||||||
bool "Qemu i486 Mode"
|
bool "Qemu i486 Mode"
|
||||||
depends on ARCH_QEMU
|
depends on ARCH_X86 || ARCH_I486
|
||||||
---help---
|
---help---
|
||||||
Port of NuttX to QEMU in i486 mode. This port will also run on real i486
|
Port of NuttX to QEMU in i486 mode. This port will also run on real i486
|
||||||
hardwared (Google the Bifferboard).
|
hardwared (Google the Bifferboard).
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ CONFIG_ARCH_CHIP_QEMU=y
|
|||||||
CONFIG_ARCH_BOARD="qemu-i486"
|
CONFIG_ARCH_BOARD="qemu-i486"
|
||||||
CONFIG_ARCH_BOARD_QEMU_I486=y
|
CONFIG_ARCH_BOARD_QEMU_I486=y
|
||||||
CONFIG_BOARD_LOOPSPERMSEC=999
|
CONFIG_BOARD_LOOPSPERMSEC=999
|
||||||
|
CONFIG_BOOT_RUNFROMEXTSRAM=y
|
||||||
CONFIG_DRAM_SIZE=1048576
|
CONFIG_DRAM_SIZE=1048576
|
||||||
CONFIG_DRAM_START=0x00100000
|
CONFIG_DRAM_START=0x00100000
|
||||||
CONFIG_ARCH_NOINTC=n
|
CONFIG_ARCH_NOINTC=n
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ CONFIG_ARCH_CHIP_QEMU=y
|
|||||||
CONFIG_ARCH_BOARD="qemu-i486"
|
CONFIG_ARCH_BOARD="qemu-i486"
|
||||||
CONFIG_ARCH_BOARD_QEMU_I486=y
|
CONFIG_ARCH_BOARD_QEMU_I486=y
|
||||||
CONFIG_BOARD_LOOPSPERMSEC=999
|
CONFIG_BOARD_LOOPSPERMSEC=999
|
||||||
|
CONFIG_BOOT_RUNFROMEXTSRAM=y
|
||||||
CONFIG_DRAM_SIZE=1048576
|
CONFIG_DRAM_SIZE=1048576
|
||||||
CONFIG_DRAM_START=0x00100000
|
CONFIG_DRAM_START=0x00100000
|
||||||
CONFIG_ARCH_NOINTC=n
|
CONFIG_ARCH_NOINTC=n
|
||||||
|
|||||||
@@ -88,7 +88,13 @@ ifeq ($(CONFIG_STM32_BUILDROOT),y)
|
|||||||
MAXOPTIMIZATION = -Os
|
MAXOPTIMIZATION = -Os
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDSCRIPT = ld.script
|
# Pick the linker script
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_STM32_DFU),y)
|
||||||
|
LDSCRIPT = ld.script.dfu
|
||||||
|
else
|
||||||
|
LDSCRIPT = ld.script
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(WINTOOL),y)
|
ifeq ($(WINTOOL),y)
|
||||||
# Windows-native toolchains
|
# Windows-native toolchains
|
||||||
|
|||||||
@@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* The STM32F107VC has 256Kb of FLASH beginning at address 0x0800:0000 and
|
/* The STM32F107VC has 256K of FLASH beginning at address 0x0800:0000 and
|
||||||
* 64Kb of SRAM beginning at address 0x2000:0000.
|
* 64K of SRAM beginning at address 0x2000:0000.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
@@ -33,10 +33,10 @@
|
|||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* The STM32F107VC has 256Kb of FLASH beginning at address 0x0800:0000 and
|
/* The STM32F107VC has 256K of FLASH beginning at address 0x0800:0000 and
|
||||||
* 64Kb of SRAM beginning at address 0x2000:0000. Here we assume that the
|
* 64K of SRAM beginning at address 0x2000:0000. Here we assume that the
|
||||||
* STMicro DFU bootloader is being used. In that case, the corrct load .text
|
* STMicro DFU bootloader is being used. In that case, the corrct load .text
|
||||||
* load address is 0x08003000 (leaving 464Kb).
|
* load address is 0x08003000 (leaving 208K).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
MEMORY
|
MEMORY
|
||||||
|
|||||||
Reference in New Issue
Block a user