??? 02/28/17 15:58 Read: times |
#190746 - tusb3410.h:56: syntax error: token -> 'bPCON' ; column 9 |
Hi all
I am trying to compile the bootcode for TUSB3410 USB controller. I am using the makefile as below. I am getting the below error tusb3410.h:56: syntax error: token -> 'bPCON' ; column 9 I did a make all.. Has anyone here tried to compile the bootcode for TUSB3410?. Any help would be greatly appreciated... Makefile: # # Makefile tusb3410 firmware # VID='#x0451' PID='#xbeef' CC = c://newProject//bin//sdcc LD = c://newProject//bin//sdcc LFLAGS = --model-small --idata-loc 0xc0 --xram-loc 0xf800 --xram-size 2048 --code-size 16384 # ^ info for weasels only: the stack grows upwards ... CFLAGS = -c OBJS= main.rel usb.rel ser.rel all : firm.flat tusb3410_autoexec_firmware.inc tusb3410_descriptor_header.inc tusb3410_autoexec_firmware.inc : firm.flat gosh gen-descriptor-header.scm $(VID) $(PID) firm.flat tusb3410_descriptor_header.inc : gen-descriptor-header.scm gosh gen-descriptor-header.scm $(VID) $(PID) firm.flat : main.ihx ihex/ihex2flat ihex/ihex2flat main.ihx firm.flat main.ihx : $(OBJS) Makefile ihex/ihex2flat $(LD) $(LFLAGS) $(OBJS) ihex/ihex2flat: (cd ihex; make) clean: rm -f firm.flat *.asm *.ihx *.lnk *.map *.mem *.lst *.rel *.rst *.sym rm -f *~ (cd ihex; make clean) main.rel: main.c Makefile $(CC) $(CFLAGS) main.c usb.rel: usb.c Makefile tusb3410_descriptor_header.inc $(CC) $(CFLAGS) usb.c ser.rel: ser.c Makefile $(CC) $(CFLAGS) ser.c |
Topic | Author | Date |
tusb3410.h:56: syntax error: token -> 'bPCON' ; column 9 | 01/01/70 00:00 | |
More on TUSB3410 bootcode compilation | 01/01/70 00:00 | |
Correct Configuration? | 01/01/70 00:00 | |
SDCC configuration for MCS51 | 01/01/70 00:00 | |
included 8052.h | 01/01/70 00:00 | |
what is on that line? | 01/01/70 00:00 | |
code base used | 01/01/70 00:00 | |
closing this issue | 01/01/70 00:00 |