Nut/OS  4.10.3
API Reference
nutinit.c File Reference
#include <cfg/clock.h>
#include <cfg/arch.h>
#include <cfg/memory.h>
#include <cfg/os.h>
#include <sys/heap.h>
#include <sys/confos.h>
#include <sys/thread.h>
#include <sys/timer.h>
#include <arch/avr32.h>
#include <arch/avr32/pm.h>
#include <arch/avr32/ihndlr.h>
Include dependency graph for nutinit.c:

Go to the source code of this file.

Data Structures

union  u_avr32_flashc_fcr_t

Defines

#define NUT_THREAD_MAINSTACK   1024
#define NUT_THREAD_IDLESTACK   512
#define NUTMEM_START   ((uint32_t)&__ram_start__)
 Last memory address.
#define NUTMEM_SIZE   ((uint32_t)&__ram_size__)
#define NUTMEM_END   (uptr_t)(NUTMEM_START + NUTMEM_SIZE - 1U)
#define HEAP_START   &__heap_start
#define HEAP_SIZE   ((uptr_t) (NUTMEM_END - 256 - (uptr_t) (&__heap_start)))

Functions

void NutAppMain (void *arg)
void NutIdle (void *arg)
 Idle thread.
void NutInit (void)
 Nut/OS Initialization.

Variables

void * __heap_start
void * __ram_start__
void * __ram_size__