diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-11 20:26:55 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-11 20:26:55 +0000 |
commit | 569561d0b8bbf208837ed267a59b5c8152b278d7 (patch) | |
tree | a811a5b1a1418ff45417d02863d5fcc2ffaa8b25 /nuttx/arch/arm/src/sam3u | |
parent | 3578c60ae17a31fef6486ba5c3a2f97b899fb243 (diff) | |
download | px4-nuttx-569561d0b8bbf208837ed267a59b5c8152b278d7.tar.gz px4-nuttx-569561d0b8bbf208837ed267a59b5c8152b278d7.tar.bz2 px4-nuttx-569561d0b8bbf208837ed267a59b5c8152b278d7.zip |
Reorganize some AT91SAM3U files; Add an NSH kernel build configuration to the WaveSahhare Open1788 board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5732 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/sam3u')
-rw-r--r-- | nuttx/arch/arm/src/sam3u/sam3u_allocateheap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/sam3u/sam3u_allocateheap.c b/nuttx/arch/arm/src/sam3u/sam3u_allocateheap.c index 249777d69..8f269491e 100644 --- a/nuttx/arch/arm/src/sam3u/sam3u_allocateheap.c +++ b/nuttx/arch/arm/src/sam3u/sam3u_allocateheap.c @@ -48,6 +48,7 @@ #include <arch/board/board.h> #include "chip.h" +#include "mpu.h" #include "up_arch.h" #include "up_internal.h" #include "sam3u_internal.h" @@ -125,7 +126,7 @@ void up_allocate_heap(FAR void **heap_start, size_t *heap_size) DEBUGASSERT((CONFIG_DRAM_END & ((1 << log2) - 1)) == 0); usize = (1 << log2); - ubase = CONFIG_DRAM_END - usize + ubase = CONFIG_DRAM_END - usize; /* Return the user-space heap settings */ @@ -176,7 +177,7 @@ void up_allocate_kheap(FAR void **heap_start, size_t *heap_size) DEBUGASSERT((CONFIG_DRAM_END & ((1 << log2) - 1)) == 0); usize = (1 << log2); - ubase = CONFIG_DRAM_END - usize + ubase = CONFIG_DRAM_END - usize; /* Return the kernel heap settings */ |