Ignore:
Timestamp:
Jul 31, 2019, 5:43:21 PM (5 years ago)
Author:
bouyer
Message:

Firmware for V2 boards

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/software/firmware/Makefile

    r1 r11  
    55CFLAGS= -I${.CURDIR} -I${.CURDIR}/../lib/J1939 -I${.CURDIR}/../lib/eeprom
    66CFLAGS+= --fomit-frame-pointer --denable-peeps --optimize-cmp --optimize-df
    7 OBJECTS= main.o serial.o
    8 HEADERS= my_serial.h
     7OBJECTS= main.o serial.o serial2.o
     8HEADERS= my_serial.h my_serial2.h
    99
    1010all: capteur.bin
     
    1818
    1919capteur.hex: ${OBJECTS}
    20         ${CC} -V -Wl,-s${.CURDIR}/pic18f27j53.lkr --no-crt --ivt-loc=0x400 --obanksel=2 -mpic16 -p18f27j53 -Wl,libc18f.lib ${.ALLSRC} -o ${.TARGET} -llibm18f.lib
     20        ${CC} -V -Wl,-s${.CURDIR}/pic18f27j13.lkr --no-crt --ivt-loc=0x400 --obanksel=2 -mpic16 -p18f27j13 -Wl,libc18f.lib ${.ALLSRC} -o ${.TARGET} -llibm18f.lib
    2121
    2222${OBJECTS}: ${HEADERS} Makefile
    2323
    2424.c.o:
    25         ${CC} ${CFLAGS} -V --no-crt --ivt-loc=0x400 --obanksel=2 -mpic16 -p18f27j53 -c ${.IMPSRC} -o ${.TARGET}
     25        ${CC} ${CFLAGS} -V --no-crt --ivt-loc=0x400 --obanksel=2 -mpic16 -p18f27j13 -c ${.IMPSRC} -o ${.TARGET}
    2626
    2727.s.o:
Note: See TracChangeset for help on using the changeset viewer.