Skip to content
Snippets Groups Projects
Commit ea30c381 authored by patacongo's avatar patacongo
Browse files

SAM3U KERNEL definitions are backward

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3980 42af7a65-404d-4744-a932-0658087f49c3
parent f301589f
No related branches found
No related tags found
No related merge requests found
......@@ -448,7 +448,7 @@ EXTERN void sam3u_lowsetup(void);
*
****************************************************************************/
#ifndef CONFIG_NUTTX_KERNEL
#ifdef CONFIG_NUTTX_KERNEL
EXTERN void sam3u_userspace(void);
#endif
......@@ -461,7 +461,7 @@ EXTERN void sam3u_userspace(void);
*
****************************************************************************/
#ifndef CONFIG_NUTTX_KERNEL
#ifdef CONFIG_NUTTX_KERNEL
EXTERN void sam3u_mpuinitialize(void);
#else
# define sam3u_mpuinitialize()
......@@ -475,7 +475,7 @@ EXTERN void sam3u_mpuinitialize(void);
*
****************************************************************************/
#ifndef CONFIG_NUTTX_KERNEL
#ifdef CONFIG_NUTTX_KERNEL
EXTERN void sam3u_mpuheap(uintptr_t start, size_t size);
#else
# define sam3u_mpuheap(start,size)
......
......@@ -41,7 +41,7 @@
#include <arch/board/user_map.h>
#include "mpu.h"
#ifndef CONFIG_NUTTX_KERNEL
#ifdef CONFIG_NUTTX_KERNEL
/****************************************************************************
* Private Definitions
......
......@@ -140,7 +140,7 @@ void __start(void)
* segements.
*/
#ifndef CONFIG_NUTTX_KERNEL
#ifdef CONFIG_NUTTX_KERNEL
sam3u_userspace();
#endif
......
......@@ -40,7 +40,7 @@
#include <nuttx/config.h>
#include <arch/board/user_map.h>
#ifndef CONFIG_NUTTX_KERNEL
#ifdef CONFIG_NUTTX_KERNEL
/****************************************************************************
* Private Definitions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment