##########################################################
#
# Toplevel makefile builds all sample applications
# libraries for Embedded Artists' QuickStart Boards.
# (C) 2001-2008 Embedded Artists AB
#
##########################################################

# Name if specific CPU used (used by linker scripts to define correct memory map)
# Valid CPUs are: LPC2101, LPC2102, LPC2103, LPC2104, LPC2105, LPC2106
#                 LPC2114, LPC2119
#                 LPC2124, LPC2129
#                 LPC2131, LPC2132, LPC2134, LPC2136, LPC2138
#                 LPC2141, LPC2142, LPC2144, LPC2146, LPC2148
#                 LPC2194
#                 LPC2210, LPC2220, LPC2212, LPC2214,
#                 LPC2290, LPC2292, LPC2294
# If you have a new version not specified above, just select one of the old
# versions with the same memory map.
export CPU_VARIANT = LPC2478

# ELF-file contains debug information, or not
# (possible values for DEBUG are 0 or 1)
# Extra debug flags can be specified in DBFLAGS
DEBUG   = 1
#DBFLAGS =

# Optimization setting
# (-Os for small code size, -O2 for speed)
OFLAGS  = -Os

# Configurations for download program
# Which com-pot that is used, which download speed and what crystal frequency on the board.
export DL_COMPORT  = com5
export DL_BAUDRATE = 115200
export DL_CRYSTAL  = 12000

# List subdirectories to recursively invoke make in 
SUBDIRS 	= 	\
				i2c_pca9532_lpc24xx \
				rtc_alarm_backup_lpc2478 \
				accel_lpc2478 \
				analog_audio_lpc2478 \
				can_lpc2478 \
				joystick_lpc2478 \
				uart1_lpc2478 \
				lcd_lpc2478 \
				os_cntsem_lpc23xx_24xx \
				os_irq_lpc23xx_24xx \
				os_multiple_lpc23xx_24xx \
				os_queue_lpc23xx_24xx \
				os_simple_lpc23xx_24xx \
				os_stack_lpc23xx_24xx \
				os_timer_lpc23xx_24xx

#######################################################################
include build_files/toplevel.mk
#######################################################################
