Add Kinesis watchdog, ramfuncs, idle loop, start of clock configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3875 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
3d32034c35
commit
6964199994
@ -1052,6 +1052,8 @@ defconfig -- This is a configuration file similar to the Linux
|
|||||||
operation from FLASH but must copy initialized .data sections to RAM.
|
operation from FLASH but must copy initialized .data sections to RAM.
|
||||||
CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH
|
CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH
|
||||||
but copy themselves entirely into RAM for better performance.
|
but copy themselves entirely into RAM for better performance.
|
||||||
|
CONFIG_BOOT_RAMFUNCS - Other configurations may copy just some functions
|
||||||
|
into RAM, either for better performance or for errata workarounds.
|
||||||
CONFIG_STACK_POINTER - The initial stack pointer
|
CONFIG_STACK_POINTER - The initial stack pointer
|
||||||
CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack.
|
CONFIG_IDLETHREAD_STACKSIZE - The size of the initial stack.
|
||||||
This is the thread that (1) performs the inital boot of the system up
|
This is the thread that (1) performs the inital boot of the system up
|
||||||
|
@ -822,6 +822,8 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
|||||||
# (should also be =n for the KwikStik-K40 which always runs from flash)
|
# (should also be =n for the KwikStik-K40 which always runs from flash)
|
||||||
# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH
|
# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH
|
||||||
# but copy themselves entirely into RAM for better performance.
|
# but copy themselves entirely into RAM for better performance.
|
||||||
|
# CONFIG_BOOT_RAMFUNCS - Other configurations may copy just some functions
|
||||||
|
# into RAM, either for better performance or for errata workarounds.
|
||||||
# CONFIG_CUSTOM_STACK - The up_ implementation will handle
|
# CONFIG_CUSTOM_STACK - The up_ implementation will handle
|
||||||
# all stack operations outside of the nuttx model.
|
# all stack operations outside of the nuttx model.
|
||||||
# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only)
|
# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only)
|
||||||
@ -839,6 +841,7 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
|
|||||||
#
|
#
|
||||||
CONFIG_BOOT_RUNFROMFLASH=n
|
CONFIG_BOOT_RUNFROMFLASH=n
|
||||||
CONFIG_BOOT_COPYTORAM=n
|
CONFIG_BOOT_COPYTORAM=n
|
||||||
|
CONFIG_BOOT_RAMFUNCS=y
|
||||||
CONFIG_CUSTOM_STACK=n
|
CONFIG_CUSTOM_STACK=n
|
||||||
CONFIG_STACK_POINTER=
|
CONFIG_STACK_POINTER=
|
||||||
CONFIG_IDLETHREAD_STACKSIZE=1024
|
CONFIG_IDLETHREAD_STACKSIZE=1024
|
||||||
|
@ -66,8 +66,6 @@ SECTIONS
|
|||||||
_etext = ABSOLUTE(.);
|
_etext = ABSOLUTE(.);
|
||||||
} > flash
|
} > flash
|
||||||
|
|
||||||
_eronly = ABSOLUTE(.);
|
|
||||||
|
|
||||||
.data : {
|
.data : {
|
||||||
_sdata = ABSOLUTE(.);
|
_sdata = ABSOLUTE(.);
|
||||||
*(.data .data.*)
|
*(.data .data.*)
|
||||||
@ -76,6 +74,16 @@ SECTIONS
|
|||||||
_edata = ABSOLUTE(.);
|
_edata = ABSOLUTE(.);
|
||||||
} > sram AT > flash
|
} > sram AT > flash
|
||||||
|
|
||||||
|
_eronly = LOADADDR(.data);
|
||||||
|
|
||||||
|
.ramfunc ALIGN(4): {
|
||||||
|
_sramfunc_begin = . ;
|
||||||
|
*(.ramfunc .ramfunc.*)
|
||||||
|
_eramfunc_end = . ;
|
||||||
|
} > sram AT > flash
|
||||||
|
|
||||||
|
_framfunc = LOADADDR(.ramfunc);
|
||||||
|
|
||||||
.ARM.extab : {
|
.ARM.extab : {
|
||||||
*(.ARM.extab*)
|
*(.ARM.extab*)
|
||||||
} >sram
|
} >sram
|
||||||
|
Loading…
Reference in New Issue
Block a user