BUILDPATH = ../../../tools/configsys/../../sys/pic32 H = ../../../tools/configsys/../../sys/include M = ../../../tools/configsys/../../sys/pic32 S = ../../../tools/configsys/../../sys/kernel vpath %.c $(M):$(S) vpath %.S $(M):$(S) KERNOBJ += _startup.o adc.o clock.o cons.o devsw.o exception.o gpio.o init_main.o init_sysent.o kern_clock.o kern_descrip.o kern_exec.o kern_exit.o kern_fork.o kern_mman.o kern_proc.o kern_prot.o kern_prot2.o kern_resource.o kern_sig.o kern_sig2.o kern_subr.o kern_synch.o kern_sysctl.o kern_time.o machdep.o mem.o rd_sd.o rdisk.o signal.o spi_bus.o subr_prf.o subr_rmap.o swap.o sys_generic.o sys_inode.o sys_pipe.o sys_process.o syscalls.o sysctl.o tty.o tty_subr.o tty_tty.o uart.o ufs_alloc.o ufs_bio.o ufs_bmap.o ufs_dsort.o ufs_fio.o ufs_inode.o ufs_mount.o ufs_namei.o ufs_subr.o ufs_syscalls.o ufs_syscalls2.o vers.o vfs_vnops.o vm_sched.o vm_swap.o vm_swp.o EXTRA_TARGETS = DEFS += -DADC_ENABLED=YES DEFS += -DBUS_DIV=1 DEFS += -DBUS_KHZ=80000 DEFS += -DCONSOLE_DEVICE=tty0 DEFS += -DCPU_IDIV=2 DEFS += -DCPU_KHZ=80000 DEFS += -DCPU_MUL=20 DEFS += -DCPU_ODIV=1 DEFS += -DCRYSTAL=8 DEFS += -DDC0_DEBUG=DEVCFG0_DEBUG_DISABLED DEFS += -DDC0_ICE=0 DEFS += -DDC1_CKM=0 DEFS += -DDC1_CKS=0 DEFS += -DDC1_FNOSC=DEVCFG1_FNOSC_PRIPLL DEFS += -DDC1_IESO=DEVCFG1_IESO DEFS += -DDC1_OSCIOFNC=0 DEFS += -DDC1_PBDIV=DEVCFG1_FPBDIV_1 DEFS += -DDC1_POSCMOD=DEVCFG1_POSCMOD_HS DEFS += -DDC1_SOSC=0 DEFS += -DDC1_WDTEN=0 DEFS += -DDC1_WDTPS=DEVCFG1_WDTPS_1 DEFS += -DDC2_PLLIDIV=DEVCFG2_FPLLIDIV_2 DEFS += -DDC2_PLLMUL=DEVCFG2_FPLLMUL_20 DEFS += -DDC2_PLLODIV=DEVCFG2_FPLLODIV_1 DEFS += -DDC2_UPLL=0 DEFS += -DDC2_UPLLIDIV=DEVCFG2_UPLLIDIV_2 DEFS += -DDC3_CAN=DEVCFG3_FCANIO DEFS += -DDC3_ETH=DEVCFG3_FETHIO DEFS += -DDC3_MII=DEVCFG3_FMIIEN DEFS += -DDC3_SRS=DEVCFG3_FSRSSEL_7 DEFS += -DDC3_USBID=DEVCFG3_FUSBIDIO DEFS += -DDC3_USERID=0xffff DEFS += -DDC3_VBUSON=DEVCFG3_FVBUSONIO DEFS += -DGPIO_ENABLED=YES DEFS += -DKERNEL DEFS += -DLED_DISK_PIN=10 DEFS += -DLED_DISK_PORT=TRISA DEFS += -DLED_KERNEL_PIN=2 DEFS += -DLED_KERNEL_PORT=TRISA DEFS += -DLED_TTY_PIN=3 DEFS += -DLED_TTY_PORT=TRISA DEFS += -DPIC32MX7 DEFS += -DSD0_CS_PIN=3 DEFS += -DSD0_CS_PORT=TRISD DEFS += -DSD0_PORT=4 DEFS += -DSD1_CS_PIN=4 DEFS += -DSD1_CS_PORT=TRISD DEFS += -DSD1_PORT=4 DEFS += -DUART1_BAUD=115200 DEFS += -DUART1_ENABLED=YES DEFS += -DUCB_METER LDSCRIPT = ../../../tools/configsys/../../sys/pic32/cfg/bootloader-max32.ld CONFIG = MAX32 CONFIGPATH = ../../../tools/configsys include ../../../tools/configsys/../../sys/pic32/kernel-post.mk