Nut/OS  5.0.5
API Reference
ksk_lpc1788_sk.c File Reference
#include <arch/cm3.h>
#include <inttypes.h>
#include <sys/timer.h>
#include <arch/cm3/nxp/lpc177x_8x_clk.h>
#include <arch/cm3/nxp/lpc177x_8x_emc.h>
#include <dev/gpio.h>
#include <dev/sdram.h>
#include <sys/heap.h>
Include dependency graph for ksk_lpc1788_sk.c:

Defines

#define SDRAM_BASE_ADDR   0xA0000000
#define SDRAM_SIZE   0x04000000

Functions

void NutBoardInit (void)
 Early KSK LPC1788 SK hardware initialization. Especialy SD-RAM.
void NutIdleInit (void)
 Extended system initialisation. Add sdram memory to the available memory.

Define Documentation

#define SDRAM_BASE_ADDR   0xA0000000
#define SDRAM_SIZE   0x04000000

Function Documentation

void NutBoardInit ( void  )

Early KSK LPC1788 SK hardware initialization. Especialy SD-RAM.

Early AT91SAM7X-EK hardware initialization.

This routine is called during system initalization.

References GPIO_CFG_PERIPHERAL1, GPIO_CFG_REPEATER, GpioPinConfigSet(), Lpc177x_8x_EmcInit(), Lpc177x_8x_EmcSDRAMInit(), NUTGPIO_PORT2, NUTGPIO_PORT3, and NUTGPIO_PORT4.

Here is the call graph for this function:

void NutIdleInit ( void  )

Extended system initialisation. Add sdram memory to the available memory.

Late Gameboy Advance hardware initialization.

This routine is called during system initialisation right before the idle thread is created. We will use it to add the SDRAM memory space to out heap.

References _sdram_params::base_addr, Lpc177x_8x_EmcSDRAMCheck(), NULL, NutHeapAdd, NutTimerStart(), and _sdram_params::size.

Here is the call graph for this function: