diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-07 15:29:13 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-07-07 15:29:13 +0000 |
commit | ac94ef18a7373645f708c1256df06e369ea9f371 (patch) | |
tree | f687b0a066cf60cf2f9bcd25b2e15fccf12f2849 /nuttx/arch/arm/src/lpc43xx/lpc43_allocateheap.c | |
parent | 873dfa2ae7f7eb298fbae5a1e3e22d4877bbcb30 (diff) | |
download | px4-nuttx-ac94ef18a7373645f708c1256df06e369ea9f371.tar.gz px4-nuttx-ac94ef18a7373645f708c1256df06e369ea9f371.tar.bz2 px4-nuttx-ac94ef18a7373645f708c1256df06e369ea9f371.zip |
Straighten out LPC32 UART clocking (still some baud calculation issues)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4917 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc43xx/lpc43_allocateheap.c')
-rw-r--r-- | nuttx/arch/arm/src/lpc43xx/lpc43_allocateheap.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/lpc43xx/lpc43_allocateheap.c b/nuttx/arch/arm/src/lpc43xx/lpc43_allocateheap.c index cb15f0bc4..7912f6c6e 100644 --- a/nuttx/arch/arm/src/lpc43xx/lpc43_allocateheap.c +++ b/nuttx/arch/arm/src/lpc43xx/lpc43_allocateheap.c @@ -202,6 +202,21 @@ ****************************************************************************/ /**************************************************************************** + * Public Data + ****************************************************************************/ + +/* _sbss is the start of the BSS region (see the linker script) _ebss is the + * end of the BSS regsion (see the linker script). The idle task stack starts + * at the end of BSS and is of size CONFIG_IDLETHREAD_STACKSIZE. The IDLE + * thread is the thread that the system boots on and, eventually, becomes the + * idle, do nothing task that runs only when there is nothing else to run. + * The heap continues from there until the configured end of memory. + * g_heapbase is the beginning of this heap region (not necessarily aligned). + */ + +const uint32_t g_heapbase = (uint32_t)&_ebss + CONFIG_IDLETHREAD_STACKSIZE; + +/**************************************************************************** * Private Functions ****************************************************************************/ |