#!/bin/sh

# LPCXpresso IDEにこのプロジェクトをインポートしたら、
# 最初にこのスクリプトを走らせる。このスクリプトによって、
# ASPカーネルのコンフィギュレータが実行可能になり、また、
# プロジェクトもビルド可能になる。

OBJ_TASK="task_perf.o task_init.o task_ntl.o task_display.o task_led.o task_gps.o task_camera.o task_sensor.o task_ntshell.o ntshell_usrcmd.o"
OBJ_LIB="ntl.o nmea.o ntlibc.o ntopt.o ntshell.o text_editor.o text_history.o vtparse.o vtparse_table.o lpcxclk_lpc1769.o lpcxhw_lpc1769.o ls_y201.o gt_720f.o"

make clean
kernel/configure \
    -T "lpcxpresso1768_gcc" \
    -A "app_gpsclock" \
    -a "./task ./library/ntshell ./library/display ./library/nmea ./library/ntl ./library/ls_y201 ./library/gt_720f" \
    -U "$OBJ_TASK $OBJ_LIB" \
    -g "../cfg/cfg/cfg"

make depend
