2011-05-15 11:27:49 +00:00
|
|
|
#include "lpc134x.h"
|
|
|
|
#include "sysdefs.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*=========================================================================
|
|
|
|
CORE CPU SETTINGS
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
|
|
|
|
CFG_CPU_CCLK Value is for reference only. 'core/cpu/cpu.c' must
|
|
|
|
be modified to change the clock speed, but the value
|
|
|
|
should be indicated here since CFG_CPU_CCLK is used by
|
|
|
|
other peripherals to determine timing.
|
|
|
|
|
|
|
|
-----------------------------------------------------------------------*/
|
|
|
|
#define CFG_CPU_CCLK (72000000) // 1 tick = 13.88nS
|
|
|
|
/*=========================================================================*/
|
|
|
|
|
|
|
|
|
|
|
|
/*=========================================================================
|
|
|
|
SYSTICK TIMER
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
|
|
|
|
CFG_SYSTICK_DELAY_IN_MS The number of milliseconds between each tick
|
|
|
|
of the systick timer.
|
|
|
|
|
|
|
|
-----------------------------------------------------------------------*/
|
|
|
|
#define CFG_SYSTICK_DELAY_IN_MS (1)
|
|
|
|
/*=========================================================================*/
|
|
|
|
|
|
|
|
|
|
|
|
/*=========================================================================
|
|
|
|
SSP
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
|
|
|
|
CFG_SSP0_SCKPIN_2_11 Indicates which pin should be used for SCK0
|
|
|
|
CFG_SSP0_SCKPIN_0_6
|
|
|
|
|
|
|
|
-----------------------------------------------------------------------*/
|
|
|
|
#define CFG_SSP0_SCKPIN_2_11
|
|
|
|
/*=========================================================================*/
|
|
|
|
|
|
|
|
/*=========================================================================
|
|
|
|
ON-BOARD LED
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
|
|
|
|
CFG_LED_PORT The port for the on board LED
|
|
|
|
CFG_LED_PIN The pin for the on board LED
|
|
|
|
CFG_LED_ON The pin state to turn the LED on (0 = low, 1 = high)
|
|
|
|
CFG_LED_OFF The pin state to turn the LED off (0 = low, 1 = high)
|
|
|
|
|
|
|
|
-----------------------------------------------------------------------*/
|
|
|
|
#define CFG_LED_PORT (1)
|
|
|
|
#define CFG_LED_PIN (11)
|
|
|
|
#define CFG_LED_ON (1)
|
|
|
|
#define CFG_LED_OFF (0)
|
|
|
|
|
|
|
|
/*=========================================================================*/
|
2011-06-15 08:51:22 +00:00
|
|
|
|
|
|
|
/*=========================================================================
|
|
|
|
SD CARD
|
|
|
|
-----------------------------------------------------------------------
|
|
|
|
|
|
|
|
CFG_HAVE_SDCARD Indicates whether the SD Card code should be
|
|
|
|
included in the filesystem access code.
|
|
|
|
If the SD Card is enabled, the number of volumes
|
|
|
|
in filesystem/ffconf.h must be increased accordingly.
|
|
|
|
|
|
|
|
-----------------------------------------------------------------------*/
|
|
|
|
#define CFG_HAVE_SDCARD (0)
|
|
|
|
/*=========================================================================*/
|
|
|
|
|
2011-06-17 10:31:42 +00:00
|
|
|
#define CFG_USBMSC (1)
|