KERNEL=REGULAR SMCSDRV=NONE BOARD = CRISA_BOARD SOURCEPATH=d:/prj/pacs/OnBoard #1. don't forget to update the ASM compilation flags in 'baseMosaic' when you update this file #2. when you change the target board, update the processor speed in OnBoardMosaic.nli #3. when compiling for the CRISA_BOARD, don't forget to add '__asm("CALL ___lib_setup_environment;");' in NODE1.C ifeq ($(BOARD),MOSAIC_BOARD) COMP_FLAGS = -Wall -DNO_VERBOSE -DCSL_SAFE -DMOSAIC_BOARD -DCRISA_DRIVERS -DMODEL_AVM else COMP_FLAGS = -Wall -DNO_VERBOSE -DCSL_SAFE -DCRISA_BOARD -DCRISA_DRIVERS -DMODEL_EM endif all: OnBoard.exe include d:/prj/pacs/onboard/toolsMosaic OnBoard.exe: $(DEPENDENCIES) $(ACHFILE) OnBoard1.lnk NODE1.o # $(LN) -i OnBoard1.lnk -o $@ -a $(ACHFILE) -m $(LN) -i OnBoard1.lnk -o OnBoard.out -a $(ACHFILE) -m $(MEM) OnBoard.out -o OnBoard.exe -a crisa.ach