Compile time options -------------------- To select the optionsfor the compiled .hex file, modify the Makefile by uncommenting the appropriate blocks in the file: Uncomment one of the following blocks to select a microcontroller type, LPC2119, LPC2148, LPC2106, or LPC2378. Note if you choose the LPC2378 you also have to enable the LPC2378 ethernet driver below. # BOARDTYPE = -DLPC2119 -DSPI0 # LINKFILE = lpc2119-rom.ld # CRTSDEFINES = -Wa,--defsym -Wa,CPUTYPE=2119 BOARDTYPE = -DLPC2148 -DSPI1 LINKFILE = lpc2148-rom.ld CRTSDEFINES = -Wa,--defsym -Wa,CPUTYPE=2148 # BOARDTYPE = -DLPC2106 -DSPI0 # LINKFILE = lpc2106-rom.ld # CRTSDEFINES = -Wa,--defsym -Wa,CPUTYPE=2106 # BOARDTYPE = -DLPC2378 -DSPIBITBANG # LINKFILE = lpc2378-rom.ld # CRTSDEFINES = -Wa,--defsym -Wa,CPUTYPE=2378 Then, uncomment one of these to choose the console to be on UART0 or UART1: CONSOLE = -DSTDOUTSER0 # CONSOLE = -DSTDOUTSER1 Uncomment one of the following blocks to select ENC28J60-based ethernet, ethernet for the LPC2378 MAC, and a serial-port SLIP interface: # Configuration for ENC28J60 NETWORKTYPE = -DENC -DINCNETWORK NETINTERFACE=enc28j60.o net.o ADDNETL = libuip.a # Configuration for LPC2378 with built-in ethernet # NETWORKTYPE = -DENC -DINCNETWORK # NETINTERFACE=lpcmac.o net.o # ADDNETL = libuip.a # Configuration for SLIP over a serial port # could be SLIPSER0, SLIPSER1 # NETWORKTYPE = -DSLIPSER1 -DINCNETWORK # NETINTERFACE=rs232dev.o net.o # ADDNETL = libuip.a Uncomment one of the following blocks to select when the FAT filesystem should be included or not: # Include for FAT FS ADDFATFS = -DINCFATFS ADDFATFSL = fatfs.a # or not # ADDFATFS = # ADDFATFSL = Uncomment one of the following blocks to select whether the built-in editor should be included or not: # Comment out for no editor ADDEDITOR = -DEDITOR ADDEDITORO = editor.o # Comment out for editor #ADDEDITOR = #ADDEDITORO = Uncomment one of the following blocks to select whether the numeric variables in BASIC should be floating point or 32-bit integers: #Floating point support # ADDFLOAT = # ADDFLOATL = lib/libm.a #Uncomment for int only ADDFLOAT = -DINTONLY ADDFLOATL =