atmelstudio will not create file make says to.

Go To Last Post
10 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm building a project with the following make file and it will not create the usbdrvasm.o file.  The other S file is created fine.  If I drop this file in the folder from an already compiled folder the project compiles but I need to modify it.

 

 

MCU = atmega328p
F_CPU = 12000000
DEBUG_LEVEL=0
FORMAT = ihex
TARGET = main
OBJDIR =  .
SOURCEDIR = ../BASE_2.0/
# List C source files here. (C dependencies are automatically generated.)
SRC =  /usbdrv/usbdrv.c main.c $(SOURCEDIR)gamepad.c $(SOURCEDIR)gcn64_protocol.c $(SOURCEDIR)i2c.c $(SOURCEDIR)gc.c $(SOURCEDIR)db9.c $(SOURCEDIR)snes.c $(SOURCEDIR)saturn.c $(SOURCEDIR)twelve.c $(SOURCEDIR)jaguar.c $(SOURCEDIR)intellivision.c  $(SOURCEDIR)wii.c $(SOURCEDIR)psx.c $(SOURCEDIR)dreamCast.c $(SOURCEDIR)psx.c $(SOURCEDIR)n64.c $(SOURCEDIR)wii.c $(SOURCEDIR)atmark.c $(SOURCEDIR)gameport.c
# List C++ source files here. (C dependencies are automatically generated.)
CPPSRC = 
# List Assembler source files here.
ASRC = /usbdrv/usbdrvasm.S $(SOURCEDIR)dcRead.S
# Optimization level, can be [0, 1, 2, 3, s]. 
#     0 = turn off optimization. s = optimize for size.
#     (Note: 3 is not always the best optimization level. See avr-libc FAQ.)
OPT = s
#s %80.07
#1 %86.9
#2 %85.5
#3 %110.4

# Debugging format.
#     Native formats for AVR-GCC's -g are dwarf-2 [default] or stabs.
#     AVR Studio 4.10 requires dwarf-2.
#     AVR [Extended] COFF format requires stabs, plus an avr-objcopy run.
DEBUG = dwarf-2

# List any extra directories to look for include files here.
#     Each directory must be seperated by a space.
#     Use forward slashes for directory separators.
#     For a directory that has spaces, enclose it in quotes.
EXTRAINCDIRS = usbdrv

# Compiler flag to set the C Standard level.
#     c89   = "ANSI" C
#     gnu89 = c89 plus GCC extensions
#     c99   = ISO C99 standard (not yet fully implemented)
#     gnu99 = c99 plus GCC extensions
CSTANDARD = -std=gnu99

# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)L
#-DDEBUG_LEVEL=$(DEBUG_LEVEL) 


# Place -D or -U options here for ASM sources
ADEFS = -DF_CPU=$(F_CPU)

# Place -D or -U options here for C++ sources
CPPDEFS = -DF_CPU=$(F_CPU)UL
#CPPDEFS += -D__STDC_LIMIT_MACROS
#CPPDEFS += -D__STDC_CONSTANT_MACROS

#---------------- Compiler Options C ----------------
#  -g*:          generate debugging information
#  -O*:          optimization level
#  -f...:        tuning, see GCC manual and avr-libc documentation
#  -Wall...:     warning level
#  -Wa,...:      tell GCC to pass this to the assembler.
#    -adhlns...: create assembler listing
#CFLAGS = -g$(DEBUG)
CFLAGS += $(CDEFS)
CFLAGS += -O$(OPT)
CFLAGS += -Wall

CFLAGS += -Wstrict-prototypes
#CFLAGS += -mshort-calls
#CFLAGS += -fno-unit-at-a-time
#CFLAGS += -Wundef
#CFLAGS += -Wunreachable-code
#CFLAGS += -Wsign-compare
CFLAGS += -Wa,-adhlns=$(<:%.c=$(OBJDIR)/%.lst)
CFLAGS += $(patsubst %,-I%,$(EXTRAINCDIRS))
CFLAGS += $(CSTANDARD)

#force smaller size!
# CFLAGS += -fno-inline-small-functions
# CFLAGS += -ffunction-sections 
# CFLAGS += --save-temps
# causes issues ---    CFLAGS += -fwhole-program --combine

#---------------- Assembler Options ----------------
#  -Wa,...:   tell GCC to pass this to the assembler.
#  -adhlns:   create listing
#  -gstabs:   have the assembler create line number information; note that
#             for use in COFF files, additional information about filenames
#             and function names needs to be present in the assembler source
#             files -- see avr-libc docs [FIXME: not yet described there]
#  -listing-cont-lines: Sets the maximum number of continuation lines of hex 
#       dump that will be displayed for a given single line of source input.
ASFLAGS = $(ADEFS) -Wa,-adhlns=$(<:%.S=$(OBJDIR)/%.lst),-gstabs,--listing-cont-lines=100

#---------------- Library Options ----------------
# Minimalistic printf version
PRINTF_LIB_MIN = -Wl,-u,vfprintf -lprintf_min

# Floating point printf version (requires MATH_LIB = -lm below)
PRINTF_LIB_FLOAT = -Wl,-u,vfprintf -lprintf_flt

# If this is left blank, then it will use the Standard printf version.
PRINTF_LIB = 
#PRINTF_LIB = $(PRINTF_LIB_MIN)
#PRINTF_LIB = $(PRINTF_LIB_FLOAT)

# Minimalistic scanf version
SCANF_LIB_MIN = -Wl,-u,vfscanf -lscanf_min

# Floating point + %[ scanf version (requires MATH_LIB = -lm below)
SCANF_LIB_FLOAT = -Wl,-u,vfscanf -lscanf_flt

# If this is left blank, then it will use the Standard scanf version.
SCANF_LIB = 
#SCANF_LIB = $(SCANF_LIB_MIN)
#SCANF_LIB = $(SCANF_LIB_FLOAT)


MATH_LIB = -lm


# List any extra directories to look for libraries here.
#     Each directory must be seperated by a space.
#     Use forward slashes for directory separators.
#     For a directory that has spaces, enclose it in quotes.
EXTRALIBDIRS = 

#---------------- External Memory Options ----------------

# 64 KB of external RAM, starting after internal RAM (ATmega128!),
# used for variables (.data/.bss) and heap (malloc()).
#EXTMEMOPTS = -Wl,-Tdata=0x801100,--defsym=__heap_end=0x80ffff

# 64 KB of external RAM, starting after internal RAM (ATmega128!),
# only used for heap (malloc()).
#EXTMEMOPTS = -Wl,--section-start,.data=0x801100,--defsym=__heap_end=0x80ffff

EXTMEMOPTS =

#---------------- Linker Options ----------------
#  -Wl,...:     tell GCC to pass this to linker.
#    -Map:      create map file
#    --cref:    add cross reference to  map file
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
LDFLAGS += $(EXTMEMOPTS)
LDFLAGS += $(patsubst %,-L%,$(EXTRALIBDIRS))
LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB)
#LDFLAGS += -T linker_script.x



#---------------- Programming Options (avrdude) ----------------

# Programming hardware
# Type: avrdude -c ?
# to get a full listing.
#
AVRDUDE_PROGRAMMER = stk500

# com1 = serial port. Use lpt1 to connect to parallel port.
AVRDUDE_PORT = usb

AVRDUDE_WRITE_FLASH = -Uflash:w:$(TARGET).hex -B 1.0

AVRDUDE_FLAGS = -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER)
AVRDUDE_FLAGS += $(AVRDUDE_NO_VERIFY)
AVRDUDE_FLAGS += $(AVRDUDE_VERBOSE)
AVRDUDE_FLAGS += $(AVRDUDE_ERASE_COUNTER)



# Define programs and commands.
SHELL = sh
CC = avr-gcc 
OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
SIZE = avr-size
AR = avr-ar rcs
NM = avr-nm
AVRDUDE = avrdude
REMOVE = rm -f
REMOVEDIR = rm -rf
COPY = cp
WINSHELL = cmd


# Define Messages
# English
MSG_ERRORS_NONE = Errors: none
MSG_BEGIN = -------- begin --------
MSG_END = --------  end  --------
MSG_SIZE_BEFORE = Size before: 
MSG_SIZE_AFTER = Size after:
MSG_COFF = Converting to AVR COFF:
MSG_EXTENDED_COFF = Converting to AVR Extended COFF:
MSG_FLASH = Creating load file for Flash:
MSG_EEPROM = Creating load file for EEPROM:
MSG_EXTENDED_LISTING = Creating Extended Listing:
MSG_SYMBOL_TABLE = Creating Symbol Table:
MSG_LINKING = Linking:
MSG_COMPILING = Compiling C:
MSG_COMPILING_CPP = Compiling C++:
MSG_ASSEMBLING = Assembling:
MSG_CLEANING = Cleaning project:
MSG_CREATING_LIBRARY = Creating library:

# Define all object files.
OBJ = $(SRC:%.c=$(OBJDIR)/%.o) $(CPPSRC:%.cpp=$(OBJDIR)/%.o) $(ASRC:%.S=$(OBJDIR)/%.o) 

# Define all listing files.
LST = $(SRC:%.c=$(OBJDIR)/%.lst) $(CPPSRC:%.cpp=$(OBJDIR)/%.lst) $(ASRC:%.S=$(OBJDIR)/%.lst) 

# Compiler flags to generate dependency files.
GENDEPFLAGS = -MMD -MP -MF .dep/$(@F).d

# Combine all necessary flags and optional flags.
# Add target processor to flags.
ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS) $(GENDEPFLAGS)
ALL_CPPFLAGS = -mmcu=$(MCU) -I. -x c++ $(CPPFLAGS) $(GENDEPFLAGS)
ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)


# Default target.
all: begin gccversion sizebefore build sizeafter end

# Change the build target to build a HEX file or a library.
build: elf hex eep lss sym
#build: lib


elf: $(TARGET).elf
hex: $(TARGET).hex
eep: $(TARGET).eep
lss: $(TARGET).lss
sym: $(TARGET).sym
LIBNAME=lib$(TARGET).a
lib: $(LIBNAME)



# Eye candy.
# AVR Studio 3.x does not check make's exit code but relies on
# the following magic strings to be generated by the compile job.
begin:
	@echo
	@echo $(MSG_BEGIN)
	
end:
	@echo $(MSG_END)
	@echo


# Display size of file.
HEXSIZE = $(SIZE) --target=$(FORMAT) $(TARGET).hex
ELFSIZE = $(SIZE) --mcu=$(MCU) --format=avr $(TARGET).elf

sizebefore:

	@if test -f $(TARGET).elf; then echo; echo $(MSG_SIZE_BEFORE); $(ELFSIZE); \
	2>/dev/null; echo; fi

sizeafter:
	@if test -f $(TARGET).elf; then echo; echo $(MSG_SIZE_AFTER); $(ELFSIZE); \
	2>/dev/null; echo; fi



# Display compiler version information.
gccversion : 
	@$(CC) --version



# Program the device.  
program: $(TARGET).hex $(TARGET).eep
	$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)


# Generate avr-gdb config/init file which does the following:
#     define the reset signal, load the target file, connect to target, and set 
#     a breakpoint at main().
gdb-config: 
	@$(REMOVE) $(GDBINIT_FILE)
	@echo define reset >> $(GDBINIT_FILE)
	@echo SIGNAL SIGHUP >> $(GDBINIT_FILE)
	@echo end >> $(GDBINIT_FILE)
	@echo file $(TARGET).elf >> $(GDBINIT_FILE)
	@echo target remote $(DEBUG_HOST):$(DEBUG_PORT)  >> $(GDBINIT_FILE)
ifeq ($(DEBUG_BACKEND),simulavr)
	@echo load  >> $(GDBINIT_FILE)
endif
	@echo break main >> $(GDBINIT_FILE)


coff: $(TARGET).elf
	@echo
	@echo $(MSG_COFF) $(TARGET).cof
	$(COFFCONVERT) -O coff-avr $< $(TARGET).cof


extcoff: $(TARGET).elf
	@echo
	@echo $(MSG_EXTENDED_COFF) $(TARGET).cof
	$(COFFCONVERT) -O coff-ext-avr $< $(TARGET).cof


# Create final output files (.hex, .eep) from ELF output file.
%.hex: %.elf
	@echo
	@echo $(MSG_FLASH) $@
	$(OBJCOPY) -O $(FORMAT) -R .eeprom -R .fuse -R .lock $< $@

%.eep: %.elf
	@echo
	@echo $(MSG_EEPROM) $@
	-$(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" \
	--change-section-lma .eeprom=0 --no-change-warnings -O $(FORMAT) $< $@ || exit 0

# Create extended listing file from ELF output file.
%.lss: %.elf
	@echo
	@echo $(MSG_EXTENDED_LISTING) $@
	$(OBJDUMP) -h -S -z $< > $@

# Create a symbol table from ELF output file.
%.sym: %.elf
	@echo
	@echo $(MSG_SYMBOL_TABLE) $@
	$(NM) -n $< > $@



# Create library from object files.
.SECONDARY : $(TARGET).a
.PRECIOUS : $(OBJ)
%.a: $(OBJ)
	@echo
	@echo $(MSG_CREATING_LIBRARY) $@
	$(AR) $@ $(OBJ)


# Link: create ELF output file from object files.
.SECONDARY : $(TARGET).elf
.PRECIOUS : $(OBJ)
%.elf: $(OBJ)
	@echo
	@echo $(MSG_LINKING) $@
	$(CC) $(ALL_CFLAGS) $^ --output $@ $(LDFLAGS)


# Compile: create object files from C source files.
$(OBJDIR)/%.o : %.c
	@echo 

	@echo $(MSG_COMPILING) $<
				
	$(CC) -c $(ALL_CFLAGS) $< -o $@ 


# Compile: create object files from C++ source files.
$(OBJDIR)/%.o : %.cpp
	@echo
	@echo $(MSG_COMPILING_CPP) $<
	$(CC) -c $(ALL_CPPFLAGS) $< -o $@ 


Compile: create assembler files from C source files.
%.s : %.c
	$(CC) -S $(ALL_CFLAGS) $< -o $@


# Compile: create assembler files from C++ source files.
%.s : %.cpp
	$(CC) -S $(ALL_CPPFLAGS) $< -o $@


# Assemble: create object files from assembler source files.
$(OBJDIR)/%.o : %.S
	@echo
	@echo $(MSG_ASSEMBLING) $<
	$(CC) -c $(ALL_ASFLAGS) $< -o $@


# Create preprocessed source for use in sending a bug report.
%.i : %.c
	$(CC) -E -mmcu=$(MCU) -I. $(CFLAGS) $< -o $@ 


# Target: clean project.
clean: begin clean_list end

clean_list :
	@echo
	@echo $(MSG_CLEANING)
	$(REMOVE) $(TARGET).hex
	$(REMOVE) $(TARGET).eep
	$(REMOVE) $(TARGET).cof
	$(REMOVE) $(TARGET).elf
	$(REMOVE) $(TARGET).map
	$(REMOVE) $(TARGET).sym
	$(REMOVE) $(TARGET).lss
	$(REMOVE) $(SRC:%.c=$(OBJDIR)/%.o)
	$(REMOVE) $(SRC:%.c=$(OBJDIR)/%.lst)
	$(REMOVE) $(SRC:.c=.s)
	$(REMOVE) $(SRC:.c=.d)
	$(REMOVE) $(SRC:.c=.i)
	$(REMOVEDIR) .dep


# Create object files directory
$(shell mkdir $(OBJDIR) 2>/dev/null)


# Include the dependency files.
-include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*)


# Listing of phony targets.
.PHONY : all begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \
clean clean_list program debug gdb-config




 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Show the build output. But is the usdrvasm.S really in the /usbdrv directory?

 

(is it wise to create a "private" directory off / rather than beneath your home directory?)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

.. and is the actual filename (in the file system) really usbdrvasm.S? (Not sure how Studio will react if its actually usbdrvasm.s).

"He used to carry his guitar in a gunny sack, or sit beneath the tree by the railroad track. Oh the engineers would see him sitting in the shade, Strumming with the rhythm that the drivers made. People passing by, they would stop and say, "Oh, my, what that little country boy could play!" [Chuck Berry]

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Never a great idea to call asm sources .s rather than .S as many "clean" rules do an "rm -f *.s" (but not a "rm -f *.S"). Also .S means "preproces then Asm" and .s means just "straight to asm". So if it #include's or #define's or anything like that you want it to be a .S not a .s

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Full build log.

 

Yes it is in the correct folder and named correctly with capital S

 

 

------ Rebuild All started: Project: main, Configuration: default AVR ------
Build started.
Project "main.cproj" (Clean target(s)):
Target "Clean" in file "C:\Program Files (x86)\Atmel\Atmel Studio 6.2\Vs\Compiler.targets" from project "S:\blissbox\SOURCE_FILES\blissbox\_4-PLAY\main.cproj" (entry point):
	Task "RunCompilerTask"
		Shell Utils Path C:\Program Files (x86)\Atmel\Atmel Studio 6.2\shellUtils
		C:\Program Files (x86)\Atmel\Atmel Studio 6.2\shellUtils\make.exe -C "S:\blissbox\SOURCE_FILES\blissbox\_4-play" -f "Makefile" clean 
		make: Entering directory `S:/blissbox/SOURCE_FILES/blissbox/_4-play'
		-------- begin --------
		Cleaning project:
		rm -f main.hex
		rm -f main.eep
		rm -f main.cof
		rm -f main.elf
		rm -f main.map
		rm -f main.sym
		rm -f main.lss
		rm -f .//usbdrv/usbdrv.o ./main.o ./../BASE_2.0/gamepad.o ./../BASE_2.0/gcn64_protocol.o ./../BASE_2.0/i2c.o ./../BASE_2.0/gc.o ./../BASE_2.0/db9.o ./../BASE_2.0/snes.o ./../BASE_2.0/saturn.o ./../BASE_2.0/twelve.o ./../BASE_2.0/jaguar.o ./../BASE_2.0/intellivision.o ./../BASE_2.0/wii.o ./../BASE_2.0/psx.o ./../BASE_2.0/dreamCast.o ./../BASE_2.0/psx.o ./../BASE_2.0/n64.o ./../BASE_2.0/wii.o ./../BASE_2.0/atmark.o ./../BASE_2.0/gameport.o
		rm -f .//usbdrv/usbdrv.lst ./main.lst ./../BASE_2.0/gamepad.lst ./../BASE_2.0/gcn64_protocol.lst ./../BASE_2.0/i2c.lst ./../BASE_2.0/gc.lst ./../BASE_2.0/db9.lst ./../BASE_2.0/snes.lst ./../BASE_2.0/saturn.lst ./../BASE_2.0/twelve.lst ./../BASE_2.0/jaguar.lst ./../BASE_2.0/intellivision.lst ./../BASE_2.0/wii.lst ./../BASE_2.0/psx.lst ./../BASE_2.0/dreamCast.lst ./../BASE_2.0/psx.lst ./../BASE_2.0/n64.lst ./../BASE_2.0/wii.lst ./../BASE_2.0/atmark.lst ./../BASE_2.0/gameport.lst
		rm -f /usbdrv/usbdrv.s main.s ../BASE_2.0/gamepad.s ../BASE_2.0/gcn64_protocol.s ../BASE_2.0/i2c.s ../BASE_2.0/gc.s ../BASE_2.0/db9.s ../BASE_2.0/snes.s ../BASE_2.0/saturn.s ../BASE_2.0/twelve.s ../BASE_2.0/jaguar.s ../BASE_2.0/intellivision.s ../BASE_2.0/wii.s ../BASE_2.0/psx.s ../BASE_2.0/dreamCast.s ../BASE_2.0/psx.s ../BASE_2.0/n64.s ../BASE_2.0/wii.s ../BASE_2.0/atmark.s ../BASE_2.0/gameport.s
		rm -f /usbdrv/usbdrv.d main.d ../BASE_2.0/gamepad.d ../BASE_2.0/gcn64_protocol.d ../BASE_2.0/i2c.d ../BASE_2.0/gc.d ../BASE_2.0/db9.d ../BASE_2.0/snes.d ../BASE_2.0/saturn.d ../BASE_2.0/twelve.d ../BASE_2.0/jaguar.d ../BASE_2.0/intellivision.d ../BASE_2.0/wii.d ../BASE_2.0/psx.d ../BASE_2.0/dreamCast.d ../BASE_2.0/psx.d ../BASE_2.0/n64.d ../BASE_2.0/wii.d ../BASE_2.0/atmark.d ../BASE_2.0/gameport.d
		rm -f /usbdrv/usbdrv.i main.i ../BASE_2.0/gamepad.i ../BASE_2.0/gcn64_protocol.i ../BASE_2.0/i2c.i ../BASE_2.0/gc.i ../BASE_2.0/db9.i ../BASE_2.0/snes.i ../BASE_2.0/saturn.i ../BASE_2.0/twelve.i ../BASE_2.0/jaguar.i ../BASE_2.0/intellivision.i ../BASE_2.0/wii.i ../BASE_2.0/psx.i ../BASE_2.0/dreamCast.i ../BASE_2.0/psx.i ../BASE_2.0/n64.i ../BASE_2.0/wii.i ../BASE_2.0/atmark.i ../BASE_2.0/gameport.i
		rm -rf .dep
		-------- end --------
		make: Leaving directory `S:/blissbox/SOURCE_FILES/blissbox/_4-play'
	Done executing task "RunCompilerTask".
Done building target "Clean" in project "main.cproj".
Done building project "main.cproj".

Build succeeded.
------ Rebuild All started: Project: main, Configuration: default AVR ------
Build started.
Project "main.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Atmel Studio 6.2\Vs\Compiler.targets" from project "S:\blissbox\SOURCE_FILES\blissbox\_4-PLAY\main.cproj" (target "Build" depends on it):
	Task "RunCompilerTask"
		Shell Utils Path C:\Program Files (x86)\Atmel\Atmel Studio 6.2\shellUtils
		C:\Program Files (x86)\Atmel\Atmel Studio 6.2\shellUtils\make.exe -C "S:\blissbox\SOURCE_FILES\blissbox\_4-play" -f "Makefile" all 
		make: Entering directory `S:/blissbox/SOURCE_FILES/blissbox/_4-play'
		-------- begin --------
		avr-gcc (AVR_8_bit_GNU_Toolchain_3.4.5_1522) 4.8.1
		Copyright (C) 2013 Free Software Foundation, Inc.
		This is free software; see the source for copying conditions.  There is NO
		warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
		Compiling C: usbdrv/usbdrv.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./usbdrv/usbdrv.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/usbdrv.o.d usbdrv/usbdrv.c -o usbdrv/usbdrv.o 
		Compiling C: main.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./main.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/main.o.d main.c -o main.o 
		main.c: In function 'usbFunctionDescriptor':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(330,27): warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
		                 usbMsgPtr = my_usbDescriptorDevice;        
		                           ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(335,17): warning: implicit declaration of function 'getAnalogUsbHidReportDescriptor_size' [-Wimplicit-function-declaration]
		                 return  getAnalogUsbHidReportDescriptor_size(); 
		                 ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(338,27): warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
		                 usbMsgPtr = my_usbDescriptorConfiguration; 
		                           ^
		main.c: In function 'usbFunctionSetup':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(351,2): warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
		  memset(outBuffer, 0, 512);  
		  ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(351,2): warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(421,4): warning: implicit declaration of function 'handleGetOperations' [-Wimplicit-function-declaration]
		    else if (rID == 17 || rID == 19 ) { handleGetOperations( ); return rq->wLength.word;}// //handle get  API...
		    ^
		main.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(428,6): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		 void handleGetOperations ( )
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(428,6): warning: conflicting types for 'handleGetOperations' [enabled by default]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(421,40): info: previous implicit declaration of 'handleGetOperations' was here
		    else if (rID == 17 || rID == 19 ) { handleGetOperations( ); return rq->wLength.word;}// //handle get  API...
		                                        ^
		main.c: In function 'handleGetOperations':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(460,2): warning: array subscript has type 'char' [-Wchar-subscripts]
		  for (char i=2;i<50;i++) outBuffer[i]= eeprom_read_byte(i+14); //14+2=16 ;)
		  ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(460,2): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(461,2): warning: array subscript has type 'char' [-Wchar-subscripts]
		  for (char i=0;i<12;i++) outBuffer[50+i]=  psx_pressure_data[i]; 
		  ^
		main.c: In function 'handleSendData':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(506,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(20,_UDLR);   
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(508,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(22,_AUTO_PAUSE_DIABLED); 
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(514,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(20,_UDLR=0);   
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(516,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(22,_AUTO_PAUSE_DIABLED=0); 
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(538,3): warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
		   memset(mapper, 0, 24);     
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(539,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   for (char i=0;i<4;i++) mapper[i] = data[i+4]; 
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(556,4): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		    eeprom_update_byte(17,data[4]);
		    ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(557,4): warning: implicit declaration of function 'reboot' [-Wimplicit-function-declaration]
		    if (data[4])  reboot(); //force reset
		    ^
		main.c: In function 'usbFunctionWrite':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(695,5): warning: array subscript has type 'char' [-Wchar-subscripts]
		     if ( data[j] == 1) //save
		     ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(697,6): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		      eeprom_update_byte(32,1);//save flag
		      ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(698,6): warning: array subscript has type 'char' [-Wchar-subscripts]
		      for (char e = 0;e<24;e++) eeprom_update_byte(33+e,mapper[e] );//move mapper data to eeprom.(first byte is sve flag)
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(698,6): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(700,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     else eeprom_update_byte(32,0xff);//unsave
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(702,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else mapper[i] = data[j]; j++;
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(702,4): warning: array subscript has type 'char' [-Wchar-subscripts]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(704,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   if(needMoreThen8Data==0x24) for (unsigned char i=currentAddress;i<currentAddress+len;i++) {lcd_data[i] = data[j]; j++;}
		   ^
		main.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(717,6): warning: conflicting types for 'reboot' [enabled by default]
		 void reboot(void) 
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(557,18): info: previous implicit declaration of 'reboot' was here
		    if (data[4])  reboot(); //force reset
		                  ^
		main.c: In function 'detect':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(748,5): warning: implicit declaration of function 'db9GetGamepad' [-Wimplicit-function-declaration]
		     curGamepad = db9GetGamepad();   curGamepad->init();     
		     ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(748,16): warning: assignment makes pointer from integer without a cast [enabled by default]
		     curGamepad = db9GetGamepad();   curGamepad->init();     
		                ^
		main.c: In function 'formatMode':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1001,3): warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
		   memcpy(mapper, ps3,24);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1001,3): warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1016,3): warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
		   memcpy(tempMap, mapper,24);//preservers old config so it can be reused. 
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1017,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   for (i=0;i<8;i++) if ( tempMap[i]   > 100 ) {b=1; dPadButtons[x]=i;x++;tempMap[i]   =0;}//adjust this is we have more specials later that are greater then 104
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1017,3): warning: array subscript has type 'char' [-Wchar-subscripts]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1017,3): warning: array subscript has type 'char' [-Wchar-subscripts]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1018,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   for (i=0;i<8;i++) if ( tempMap[i+8] > 100 ) {b=2; dPadButtons[x]=i;x++;tempMap[i+8] =0;}//adjust this is we have more specials later that are greater then 104
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1019,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   for (i=0;i<8;i++) if ( tempMap[i+16]> 100 ) {b=3; dPadButtons[x]=i;x++;tempMap[i+16]=0;}//adjust this is we have more specials later that are greater then 104
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1024,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    if   (reportBuffer[b] & 1 << dPadButtons[0]) reportBuffer[HAT] = 0;//u 
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1025,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if (reportBuffer[b] & 1 << dPadButtons[1]) reportBuffer[HAT] = 4;//d
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1026,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if (reportBuffer[b] & 1 << dPadButtons[2]) reportBuffer[HAT] = 6;//l 
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1027,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if (reportBuffer[b] & 1 << dPadButtons[3]) reportBuffer[HAT] = 2;//r 
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1030,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    if      ( reportBuffer[HAT] == 0 && reportBuffer[b] & 1 << dPadButtons[2]) reportBuffer[HAT] = 7;//ul 
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1031,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if ( reportBuffer[HAT] == 4 && reportBuffer[b] & 1 << dPadButtons[3]) reportBuffer[HAT] = 3;//dr 
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1032,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if ( reportBuffer[HAT] == 4 && reportBuffer[b] & 1 << dPadButtons[2]) reportBuffer[HAT] = 5;//dl 
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1033,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if ( reportBuffer[HAT] == 0 && reportBuffer[b] & 1 << dPadButtons[3]) reportBuffer[HAT] = 1;//ur 
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1038,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   temp=0; for (i=0;i<24;i++) if ( tempMap[i] != 0 ) if (button & 1UL << i) temp |= ( 1UL << tempMap[i]-1 );
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1038,3): warning: array subscript has type 'char' [-Wchar-subscripts]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1038,103): warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
		   temp=0; for (i=0;i<24;i++) if ( tempMap[i] != 0 ) if (button & 1UL << i) temp |= ( 1UL << tempMap[i]-1 );
		                                                                                                       ^
		main.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1049,6): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		 void readEeprom() 
		      ^
		main.c: In function 'readEeprom':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1051,5): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     _UDLR = eeprom_read_byte(20); if (_UDLR==0xff) _UDLR=0; 
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1053,5): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     if ( eeprom_read_byte(32)==1 )//load mappings from eeprom
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1055,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   for (char i=0;i<24;i++) mapper[i] = eeprom_read_byte(i+33); 
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1055,3): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1058,5): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     _AUTO_PAUSE_DIABLED = eeprom_read_byte(22); if (_AUTO_PAUSE_DIABLED==0xff)    _AUTO_PAUSE_DIABLED=0;    
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
		main.c: In function 'main':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1076,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(16, 2);
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1077,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(18, 213);
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1097,5): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     unsigned char player = eeprom_read_byte(17);  
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1098,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     if (player < 4 || player > 7) eeprom_update_byte(17,player = 4);//defult to 4.
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1165,5): warning: suggest parentheses around assignment used as truth value [-Wparentheses]
		     if ( _cntrl = detect() ) //do a second check and compare. If it is the same then we are good, else try again. 
		     ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1208,22): warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
		   if ( _DoNotReport) memcpy(reportBuffer, reportBufferBACK_UP,24);// use the backup from last good poll
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1209,9): warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
		    else memcpy(reportBufferBACK_UP, reportBuffer,24);//make a copy.
		         ^
		main.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(222,13): warning: '_BUSY' defined but not used [-Wunused-variable]
		 static char _BUSY=0;
		             ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(224,13): warning: 'idle_rate' defined but not used [-Wunused-variable]
		 static char idle_rate,protocol_version;//compat.
		             ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(224,23): warning: 'protocol_version' defined but not used [-Wunused-variable]
		 static char idle_rate,protocol_version;//compat.
		                       ^
		main.c: In function 'usbFunctionWriteOut':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(639,6): warning: '_rumbleLoop' may be used uninitialized in this function [-Wmaybe-uninitialized]
		   if (_rumbleLoop > 1) loop = _rumbleLoop; //use the set loop instead.
		      ^
		main.c: In function 'handleSendData':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(549,26): warning: 'amount' may be used uninitialized in this function [-Wmaybe-uninitialized]
		   curGamepad->rumbleConst(amount,loop);
		                          ^
		Compiling C: ../BASE_2.0/gamepad.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/gamepad.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/gamepad.o.d ../BASE_2.0/gamepad.c -o ../BASE_2.0/gamepad.o 
		Compiling C: ../BASE_2.0/gcn64_protocol.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/gcn64_protocol.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/gcn64_protocol.o.d ../BASE_2.0/gcn64_protocol.c -o ../BASE_2.0/gcn64_protocol.o 
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gcn64_protocol.c(64,22): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		 static unsigned char gcn64_receive()
		                      ^
		../BASE_2.0/gcn64_protocol.c: In function 'gcn64_detectController':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gcn64_protocol.c(401,2): warning: "/*" within comment [-Wcomment]
		  /* first comes a 16bit device id:
		 ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gcn64_protocol.c(423,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   if (gcn64_workbuf[ buf ]) nib |= 1; 
		   ^
		Compiling C: ../BASE_2.0/i2c.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/i2c.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/i2c.o.d ../BASE_2.0/i2c.c -o ../BASE_2.0/i2c.o 
		../BASE_2.0/i2c.c: In function 'i2c_transaction':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\i2c.c(136,1): warning: label 'arb_lost' defined but not used [-Wunused-label]
		 arb_lost:
		 ^
		Compiling C: ../BASE_2.0/gc.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/gc.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/gc.o.d ../BASE_2.0/gc.c -o ../BASE_2.0/gc.o 
		../BASE_2.0/gc.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gc.c(76,44): warning: 'return' with a value, in function returning void [enabled by default]
		  if (controllerType == CONTROLLER_IS_N64 ) return controllerType;
		                                            ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gc.c(129,2): warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
		  memset(reportBuffer+4, 0, 6);//set all analogs to 0, as calcs are based off of 0.
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gc.c(129,2): warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gc.c(145,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   if (gcn64_workbuf[bit]) { reportBuffer[BUTTON_ROW_1] |= bits[i]; } 
		   ^
		Compiling C: ../BASE_2.0/db9.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/db9.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/db9.o.d ../BASE_2.0/db9.c -o ../BASE_2.0/db9.o 
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(28,1): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		 static inline unsigned char SAMPLE();
		 ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(29,22): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		 static unsigned char SAMPLE()
		                      ^
		../BASE_2.0/db9.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(236,17): warning: unused variable 'tries' [-Wunused-variable]
		   unsigned char tries;
		                 ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(389,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    if (!(PINB & 0x20)) { reportBuffer[BUTTON_ROW_1] |= bits[i]; } 
		    ^
		../BASE_2.0/db9.c: In function 'Probe':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(458,2): warning: pointer targets in passing argument 1 of 'db9Read' differ in signedness [-Wpointer-sign]
		  db9Read(bits);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(78,13): info: expected 'unsigned char *' but argument is of type 'char *'
		 static void db9Read( unsigned char bits[5])
		             ^
		../BASE_2.0/db9.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(97,22): warning: 'getPaddleNibble' defined but not used [-Wunused-function]
		 static unsigned char getPaddleNibble(void)
		                      ^
		Compiling C: ../BASE_2.0/snes.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/snes.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/snes.o.d ../BASE_2.0/snes.c -o ../BASE_2.0/snes.o 
		../BASE_2.0/snes.c: In function 'Probe':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\snes.c(628,1): warning: control reaches end of non-void function [-Wreturn-type]
		 }
		 ^
		Compiling C: ../BASE_2.0/saturn.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/saturn.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/saturn.o.d ../BASE_2.0/saturn.c -o ../BASE_2.0/saturn.o 
		Compiling C: ../BASE_2.0/twelve.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/twelve.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/twelve.o.d ../BASE_2.0/twelve.c -o ../BASE_2.0/twelve.o 
		../BASE_2.0/twelve.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(200,3): warning: pointer targets in passing argument 1 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[Y_MAIN_STICK]=read_Volts(&PORTB,&DDRB,&PINB,0x08,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(200,3): warning: pointer targets in passing argument 2 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[Y_MAIN_STICK]=read_Volts(&PORTB,&DDRB,&PINB,0x08,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(200,3): warning: pointer targets in passing argument 3 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[Y_MAIN_STICK]=read_Volts(&PORTB,&DDRB,&PINB,0x08,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(201,3): warning: pointer targets in passing argument 1 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[X_MAIN_STICK]=read_Volts(&PORTC,&DDRC,&PINC,0x40,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(201,3): warning: pointer targets in passing argument 2 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[X_MAIN_STICK]=read_Volts(&PORTC,&DDRC,&PINC,0x40,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(201,3): warning: pointer targets in passing argument 3 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[X_MAIN_STICK]=read_Volts(&PORTC,&DDRC,&PINC,0x40,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(433,4): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		    if (readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB) > 2 )//prevent reads less then 2.
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(433,4): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		    if (readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB) > 2 )//prevent reads less then 2.
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(433,4): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		    if (readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB) > 2 )//prevent reads less then 2.
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(433,4): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		    if (readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB) > 2 )//prevent reads less then 2.
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(433,4): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		    if (readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB) > 2 )//prevent reads less then 2.
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(435,5): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		     reportBuffer[SLIDER]=255-readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//(button goes left) (the read is not as boog on this paddle)
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(435,5): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		     reportBuffer[SLIDER]=255-readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//(button goes left) (the read is not as boog on this paddle)
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(435,5): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		     reportBuffer[SLIDER]=255-readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//(button goes left) (the read is not as boog on this paddle)
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(435,5): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		     reportBuffer[SLIDER]=255-readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//(button goes left) (the read is not as boog on this paddle)
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(435,5): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		     reportBuffer[SLIDER]=255-readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//(button goes left) (the read is not as boog on this paddle)
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(437,4): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		    reportBuffer[DIAL]=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);//(button goes right)
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(437,4): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		    reportBuffer[DIAL]=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);//(button goes right)
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(437,4): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		    reportBuffer[DIAL]=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);//(button goes right)
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(437,4): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		    reportBuffer[DIAL]=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);//(button goes right)
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(437,4): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		    reportBuffer[DIAL]=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);//(button goes right)
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(447,4): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		    unsigned char player2Read=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(447,4): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		    unsigned char player2Read=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(447,4): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		    unsigned char player2Read=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(447,4): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		    unsigned char player2Read=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(447,4): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		    unsigned char player2Read=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
		../BASE_2.0/twelve.c: In function 'Probe':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(478,2): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r1 = readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//must check both > 1 and < 254
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(478,2): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r1 = readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//must check both > 1 and < 254
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(478,2): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r1 = readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//must check both > 1 and < 254
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(478,2): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r1 = readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//must check both > 1 and < 254
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(478,2): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r1 = readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//must check both > 1 and < 254
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(479,2): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r2 = readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(479,2): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r2 = readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(479,2): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r2 = readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(479,2): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r2 = readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(479,2): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r2 = readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(495,3): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		   int a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(495,3): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		   int a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(495,3): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		   int a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(495,3): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		   int a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(495,3): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		   int a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(496,5): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		     a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);//once does not always get it.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(496,5): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		     a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);//once does not always get it.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(496,5): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		     a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);//once does not always get it.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(496,5): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		     a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);//once does not always get it.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(496,5): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		     a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);//once does not always get it.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
		Compiling C: ../BASE_2.0/jaguar.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/jaguar.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/jaguar.o.d ../BASE_2.0/jaguar.c -o ../BASE_2.0/jaguar.o 
		../BASE_2.0/jaguar.c: In function 'readController':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\jaguar.c(49,2): warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
		  memset(st->btnsKp, 0, sizeof(st->btnsKp));
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\jaguar.c(49,2): warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
		Compiling C: ../BASE_2.0/intellivision.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/intellivision.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/intellivision.o.d ../BASE_2.0/intellivision.c -o ../BASE_2.0/intellivision.o 
		Compiling C: ../BASE_2.0/wii.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/wii.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/wii.o.d ../BASE_2.0/wii.c -o ../BASE_2.0/wii.o 
		../BASE_2.0/wii.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\wii.c(212,52): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		     tempx = ((buf[5] & 0x0C) >> 2) | (buf[2] << 2) - 250;
		                                                    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\wii.c(213,52): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		     tempy = ((buf[5] & 0x30) >> 4) | (buf[3] << 2) - 250;
		                                                    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\wii.c(214,52): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		     tempz = ((buf[5] & 0xC0) >> 6) | (buf[4] << 2) - 250;
		                                                    ^
		Compiling C: ../BASE_2.0/psx.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/psx.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/psx.o.d ../BASE_2.0/psx.c -o ../BASE_2.0/psx.o 
		../BASE_2.0/psx.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\psx.c(321,2): warning: array subscript has type 'char' [-Wchar-subscripts]
		  for ( char p=0;p<12;p++) psx_pressure_data[p]= ps2buffer[9+p];//fill up pressure data for API.
		  ^
		../BASE_2.0/psx.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\psx.c(38,22): warning: 'Negcon' defined but not used [-Wunused-variable]
		 static unsigned char Negcon=0;
		                      ^
		Compiling C: ../BASE_2.0/dreamCast.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/dreamCast.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/dreamCast.o.d ../BASE_2.0/dreamCast.c -o ../BASE_2.0/dreamCast.o 
		../BASE_2.0/dreamCast.c: In function 'prepareAndSendData':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(58,2): warning: array subscript has type 'char' [-Wchar-subscripts]
		  for (char i=0;i < size; i++) { sendData( data[i]); parity ^= data[i]; }
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(58,2): warning: array subscript has type 'char' [-Wchar-subscripts]
		../BASE_2.0/dreamCast.c: In function 'doWork':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(612,3): warning: pointer targets in passing argument 1 of 'vmuBlockWrite' differ in signedness [-Wpointer-sign]
		   vmuBlockWrite(lcd_data);//lcd_data
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(385,13): info: expected 'char *' but argument is of type 'unsigned char *'
		 static void vmuBlockWrite( char *data) 
		             ^
		../BASE_2.0/dreamCast.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(209,13): warning: 'peripheralDeviceReset' defined but not used [-Wunused-function]
		 static void peripheralDeviceReset( char port)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(284,13): warning: 'controllerExitRequest' defined but not used [-Wunused-function]
		 static void controllerExitRequest(void)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(297,13): warning: 'controllerResetRequest' defined but not used [-Wunused-function]
		 static void controllerResetRequest(void)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(309,13): warning: 'controllerShutDownRequest' defined but not used [-Wunused-function]
		 static void controllerShutDownRequest(void)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(322,13): warning: 'vmuDeviceRequest' defined but not used [-Wunused-function]
		 static void vmuDeviceRequest(void)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(337,13): warning: 'vmuGetMediaInfo' defined but not used [-Wunused-function]
		 static void vmuGetMediaInfo(void)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(359,13): warning: 'vmuSetCondition' defined but not used [-Wunused-function]
		 static void vmuSetCondition(void)
		             ^
		../BASE_2.0/dreamCast.c: In function 'sendContRumble':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(188,13): warning: 'inc' may be used uninitialized in this function [-Wmaybe-uninitialized]
		     sendData(byte=inc);    parity ^= byte;//inc : Is specified when either convergence or divergence is used
		             ^
		Compiling C: ../BASE_2.0/n64.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/n64.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/n64.o.d ../BASE_2.0/n64.c -o ../BASE_2.0/n64.o 
		../BASE_2.0/n64.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\n64.c(113,4): warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
		    memset(tmpdata+3, 0x80, 34);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\n64.c(113,4): warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
		../BASE_2.0/n64.c: In function 'Probe':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\n64.c(201,16): warning: unused variable 'ID' [-Wunused-variable]
		  unsigned char ID;
		                ^
		Compiling C: ../BASE_2.0/atmark.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/atmark.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/atmark.o.d ../BASE_2.0/atmark.c -o ../BASE_2.0/atmark.o 
		../BASE_2.0/atmark.c: In function 'Probe':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\atmark.c(278,1): warning: control reaches end of non-void function [-Wreturn-type]
		 }
		 ^
		Compiling C: ../BASE_2.0/gameport.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/gameport.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/gameport.o.d ../BASE_2.0/gameport.c -o ../BASE_2.0/gameport.o 
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(198,14): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		  static void getGravisData( )
		              ^
		../BASE_2.0/gameport.c: In function 'getGravisData':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(267,15): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    (data1>>5) &  0x03 //A and B
		               ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(276,19): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    ((data1>>10)  )& 0x01//Z
		                   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(278,19): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    | ((data1<<2) )& 0x40//L click
		                   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(279,19): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    | ((data1<<4) )& 0x80//R click
		                   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(280,20): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    | ((data1>>21) )& 0x04//u
		                    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(281,20): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    | ((data1>>19) )& 0x08//d
		                    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(282,20): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    | ((data1>>16) )& 0x30;//l,r 
		                    ^
		../BASE_2.0/gameport.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(388,49): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		      reportBuffer[BUTTON_ROW_2] = (data1 >> 14) & 0x3c//udlr
		                                                 ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(392,48): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		      reportBuffer[BUTTON_ROW_1] = (data2 >>15) & 0x0C//button a and b
		                                                ^
		Linking: main.elf
		avr-gcc  -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=usbdrv/usbdrv.o -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/main.elf.d usbdrv/usbdrv.o main.o ../BASE_2.0/gamepad.o ../BASE_2.0/gcn64_protocol.o ../BASE_2.0/i2c.o ../BASE_2.0/gc.o ../BASE_2.0/db9.o ../BASE_2.0/snes.o ../BASE_2.0/saturn.o ../BASE_2.0/twelve.o ../BASE_2.0/jaguar.o ../BASE_2.0/intellivision.o ../BASE_2.0/wii.o ../BASE_2.0/psx.o ../BASE_2.0/dreamCast.o ../BASE_2.0/n64.o ../BASE_2.0/atmark.o ../BASE_2.0/gameport.o usbdrv/usbdrvasm.o ../BASE_2.0/dcRead.o --output main.elf -Wl,-Map=main.map,--cref     -lm
		Creating load file for Flash: main.hex
		avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock main.elf main.hex
		Creating load file for EEPROM: main.eep
		avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \
			--change-section-lma .eeprom=0 --no-change-warnings -O ihex main.elf main.eep || exit 0
		Creating Extended Listing: main.lss
		avr-objdump -h -S -z main.elf > main.lss
		Creating Symbol Table: main.sym
		avr-nm -n main.elf > main.sym
		Size after:
		AVR Memory Usage
		----------------
		Device: atmega328p
		Program:   28308 bytes (86.4% Full)
		(.text + .data + .bootloader)
		Data:       1938 bytes (94.6% Full)
		(.data + .bss + .noinit)
		-------- end --------
		make: Leaving directory `S:/blissbox/SOURCE_FILES/blissbox/_4-play'
	Done executing task "RunCompilerTask".
	Task "RunOutputFileVerifyTask"
		
		Display Output File Size Skipped due to : Output File not found
	Done executing task "RunOutputFileVerifyTask".
Done building target "CoreBuild" in project "main.cproj".
Target "PostBuildEvent" skipped, due to false condition; ('$(PostBuildEvent)' != '') was evaluated as ('' != '').
Target "Build" in file "C:\Program Files (x86)\Atmel\Atmel Studio 6.2\Vs\Avr.common.targets" from project "S:\blissbox\SOURCE_FILES\blissbox\_4-PLAY\main.cproj" (entry point):
Done building target "Build" in project "main.cproj".
Done building project "main.cproj".

Build succeeded.
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
========== Rebuild All: 1 succeeded, 

I started by looking for "error" in that. When I couldn't find it I simply looked at the last line. So that builds without any errors so remind us again what the problem is?

 

One thing I do notice is that while this line worked:

	avr-gcc  -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=usbdrv/usbdrv.o -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/main.elf.d usbdrv/usbdrv.o main.o ../BASE_2.0/gamepad.o ../BASE_2.0/gcn64_protocol.o ../BASE_2.0/i2c.o ../BASE_2.0/gc.o ../BASE_2.0/db9.o ../BASE_2.0/snes.o ../BASE_2.0/saturn.o ../BASE_2.0/twelve.o ../BASE_2.0/jaguar.o ../BASE_2.0/intellivision.o ../BASE_2.0/wii.o ../BASE_2.0/psx.o ../BASE_2.0/dreamCast.o ../BASE_2.0/n64.o ../BASE_2.0/atmark.o ../BASE_2.0/gameport.o usbdrv/usbdrvasm.o ../BASE_2.0/dcRead.o --output main.elf -Wl,-Map=main.map,--cref     -lm

It is the only mention of "usbdrvasm" in the entire thing. So the project seems to be reliant on this .o file being pre-built. IOW usdrvasm.S does not appear to be an input to the build. If you can "see" it in the Solution/Project then I suspect the build action is not set to "assemble/compile".

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

 

 

 

 

Right let me get you the build log with the error, though should help a bit. wink  I think I just compiled with the file already created. 

 

------ Rebuild All started: Project: main, Configuration: default AVR ------
Build started.
Project "main.cproj" (Clean target(s)):
Target "Clean" in file "C:\Program Files (x86)\Atmel\Atmel Studio 6.2\Vs\Compiler.targets" from project "S:\blissbox\SOURCE_FILES\blissbox\_4-PLAY\main.cproj" (entry point):
	Task "RunCompilerTask"
		Shell Utils Path C:\Program Files (x86)\Atmel\Atmel Studio 6.2\shellUtils
		C:\Program Files (x86)\Atmel\Atmel Studio 6.2\shellUtils\make.exe -C "S:\blissbox\SOURCE_FILES\blissbox\_4-play" -f "Makefile" clean
		make: Entering directory `S:/blissbox/SOURCE_FILES/blissbox/_4-play'
		-------- begin --------
		Cleaning project:
		rm -f main.hex
		rm -f main.eep
		rm -f main.cof
		rm -f main.elf
		rm -f main.map
		rm -f main.sym
		rm -f main.lss
		rm -f .//usbdrv/usbdrv.o ./main.o ./../BASE_2.0/gamepad.o ./../BASE_2.0/gcn64_protocol.o ./../BASE_2.0/i2c.o ./../BASE_2.0/gc.o ./../BASE_2.0/db9.o ./../BASE_2.0/snes.o ./../BASE_2.0/saturn.o ./../BASE_2.0/twelve.o ./../BASE_2.0/jaguar.o ./../BASE_2.0/intellivision.o ./../BASE_2.0/wii.o ./../BASE_2.0/psx.o ./../BASE_2.0/dreamCast.o ./../BASE_2.0/psx.o ./../BASE_2.0/n64.o ./../BASE_2.0/wii.o ./../BASE_2.0/atmark.o ./../BASE_2.0/gameport.o
		rm -f .//usbdrv/usbdrv.lst ./main.lst ./../BASE_2.0/gamepad.lst ./../BASE_2.0/gcn64_protocol.lst ./../BASE_2.0/i2c.lst ./../BASE_2.0/gc.lst ./../BASE_2.0/db9.lst ./../BASE_2.0/snes.lst ./../BASE_2.0/saturn.lst ./../BASE_2.0/twelve.lst ./../BASE_2.0/jaguar.lst ./../BASE_2.0/intellivision.lst ./../BASE_2.0/wii.lst ./../BASE_2.0/psx.lst ./../BASE_2.0/dreamCast.lst ./../BASE_2.0/psx.lst ./../BASE_2.0/n64.lst ./../BASE_2.0/wii.lst ./../BASE_2.0/atmark.lst ./../BASE_2.0/gameport.lst
		rm -f /usbdrv/usbdrv.s main.s ../BASE_2.0/gamepad.s ../BASE_2.0/gcn64_protocol.s ../BASE_2.0/i2c.s ../BASE_2.0/gc.s ../BASE_2.0/db9.s ../BASE_2.0/snes.s ../BASE_2.0/saturn.s ../BASE_2.0/twelve.s ../BASE_2.0/jaguar.s ../BASE_2.0/intellivision.s ../BASE_2.0/wii.s ../BASE_2.0/psx.s ../BASE_2.0/dreamCast.s ../BASE_2.0/psx.s ../BASE_2.0/n64.s ../BASE_2.0/wii.s ../BASE_2.0/atmark.s ../BASE_2.0/gameport.s
		rm -f /usbdrv/usbdrv.d main.d ../BASE_2.0/gamepad.d ../BASE_2.0/gcn64_protocol.d ../BASE_2.0/i2c.d ../BASE_2.0/gc.d ../BASE_2.0/db9.d ../BASE_2.0/snes.d ../BASE_2.0/saturn.d ../BASE_2.0/twelve.d ../BASE_2.0/jaguar.d ../BASE_2.0/intellivision.d ../BASE_2.0/wii.d ../BASE_2.0/psx.d ../BASE_2.0/dreamCast.d ../BASE_2.0/psx.d ../BASE_2.0/n64.d ../BASE_2.0/wii.d ../BASE_2.0/atmark.d ../BASE_2.0/gameport.d
		rm -f /usbdrv/usbdrv.i main.i ../BASE_2.0/gamepad.i ../BASE_2.0/gcn64_protocol.i ../BASE_2.0/i2c.i ../BASE_2.0/gc.i ../BASE_2.0/db9.i ../BASE_2.0/snes.i ../BASE_2.0/saturn.i ../BASE_2.0/twelve.i ../BASE_2.0/jaguar.i ../BASE_2.0/intellivision.i ../BASE_2.0/wii.i ../BASE_2.0/psx.i ../BASE_2.0/dreamCast.i ../BASE_2.0/psx.i ../BASE_2.0/n64.i ../BASE_2.0/wii.i ../BASE_2.0/atmark.i ../BASE_2.0/gameport.i
		rm -rf .dep
		-------- end --------
		make: Leaving directory `S:/blissbox/SOURCE_FILES/blissbox/_4-play'
	Done executing task "RunCompilerTask".
Done building target "Clean" in project "main.cproj".
Done building project "main.cproj".

Build succeeded.
------ Rebuild All started: Project: main, Configuration: default AVR ------
Build started.
Project "main.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Atmel Studio 6.2\Vs\Compiler.targets" from project "S:\blissbox\SOURCE_FILES\blissbox\_4-PLAY\main.cproj" (target "Build" depends on it):
	Task "RunCompilerTask"
		Shell Utils Path C:\Program Files (x86)\Atmel\Atmel Studio 6.2\shellUtils
		C:\Program Files (x86)\Atmel\Atmel Studio 6.2\shellUtils\make.exe -C "S:\blissbox\SOURCE_FILES\blissbox\_4-play" -f "Makefile" all
		make: Entering directory `S:/blissbox/SOURCE_FILES/blissbox/_4-play'
		-------- begin --------
		avr-gcc (AVR_8_bit_GNU_Toolchain_3.4.5_1522) 4.8.1
		Copyright (C) 2013 Free Software Foundation, Inc.
		This is free software; see the source for copying conditions.  There is NO
		warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
		Compiling C: usbdrv/usbdrv.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./usbdrv/usbdrv.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/usbdrv.o.d usbdrv/usbdrv.c -o usbdrv/usbdrv.o
		Compiling C: main.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./main.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/main.o.d main.c -o main.o
		main.c: In function 'usbFunctionDescriptor':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(330,27): warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
		                 usbMsgPtr = my_usbDescriptorDevice;
		                           ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(335,17): warning: implicit declaration of function 'getAnalogUsbHidReportDescriptor_size' [-Wimplicit-function-declaration]
		                 return  getAnalogUsbHidReportDescriptor_size();
		                 ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(338,27): warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
		                 usbMsgPtr = my_usbDescriptorConfiguration;
		                           ^
		main.c: In function 'usbFunctionSetup':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(351,2): warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
		  memset(outBuffer, 0, 512);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(351,2): warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(421,4): warning: implicit declaration of function 'handleGetOperations' [-Wimplicit-function-declaration]
		    else if (rID == 17 || rID == 19 ) { handleGetOperations( ); return rq->wLength.word;}// //handle get  API...
		    ^
		main.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(428,6): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		 void handleGetOperations ( )
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(428,6): warning: conflicting types for 'handleGetOperations' [enabled by default]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(421,40): info: previous implicit declaration of 'handleGetOperations' was here
		    else if (rID == 17 || rID == 19 ) { handleGetOperations( ); return rq->wLength.word;}// //handle get  API...
		                                        ^
		main.c: In function 'handleGetOperations':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(460,2): warning: array subscript has type 'char' [-Wchar-subscripts]
		  for (char i=2;i<50;i++) outBuffer[i]= eeprom_read_byte(i+14); //14+2=16 ;)
		  ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(460,2): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(461,2): warning: array subscript has type 'char' [-Wchar-subscripts]
		  for (char i=0;i<12;i++) outBuffer[50+i]=  psx_pressure_data[i];
		  ^
		main.c: In function 'handleSendData':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(506,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(20,_UDLR);
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(508,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(22,_AUTO_PAUSE_DIABLED);
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(514,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(20,_UDLR=0);
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(516,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(22,_AUTO_PAUSE_DIABLED=0);
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(538,3): warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
		   memset(mapper, 0, 24);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(539,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   for (char i=0;i<4;i++) mapper[i] = data[i+4];
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(556,4): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		    eeprom_update_byte(17,data[4]);
		    ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(557,4): warning: implicit declaration of function 'reboot' [-Wimplicit-function-declaration]
		    if (data[4])  reboot(); //force reset
		    ^
		main.c: In function 'usbFunctionWrite':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(695,5): warning: array subscript has type 'char' [-Wchar-subscripts]
		     if ( data[j] == 1) //save
		     ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(697,6): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		      eeprom_update_byte(32,1);//save flag
		      ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(698,6): warning: array subscript has type 'char' [-Wchar-subscripts]
		      for (char e = 0;e<24;e++) eeprom_update_byte(33+e,mapper[e] );//move mapper data to eeprom.(first byte is sve flag)
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(698,6): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(700,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     else eeprom_update_byte(32,0xff);//unsave
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(702,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else mapper[i] = data[j]; j++;
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(702,4): warning: array subscript has type 'char' [-Wchar-subscripts]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(704,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   if(needMoreThen8Data==0x24) for (unsigned char i=currentAddress;i<currentAddress+len;i++) {lcd_data[i] = data[j]; j++;}
		   ^
		main.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(717,6): warning: conflicting types for 'reboot' [enabled by default]
		 void reboot(void)
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(557,18): info: previous implicit declaration of 'reboot' was here
		    if (data[4])  reboot(); //force reset
		                  ^
		main.c: In function 'detect':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(748,5): warning: implicit declaration of function 'db9GetGamepad' [-Wimplicit-function-declaration]
		     curGamepad = db9GetGamepad();   curGamepad->init();
		     ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(748,16): warning: assignment makes pointer from integer without a cast [enabled by default]
		     curGamepad = db9GetGamepad();   curGamepad->init();
		                ^
		main.c: In function 'formatMode':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1001,3): warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
		   memcpy(mapper, ps3,24);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1001,3): warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1016,3): warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
		   memcpy(tempMap, mapper,24);//preservers old config so it can be reused.
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1017,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   for (i=0;i<8;i++) if ( tempMap[i]   > 100 ) {b=1; dPadButtons[x]=i;x++;tempMap[i]   =0;}//adjust this is we have more specials later that are greater then 104
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1017,3): warning: array subscript has type 'char' [-Wchar-subscripts]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1017,3): warning: array subscript has type 'char' [-Wchar-subscripts]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1018,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   for (i=0;i<8;i++) if ( tempMap[i+8] > 100 ) {b=2; dPadButtons[x]=i;x++;tempMap[i+8] =0;}//adjust this is we have more specials later that are greater then 104
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1019,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   for (i=0;i<8;i++) if ( tempMap[i+16]> 100 ) {b=3; dPadButtons[x]=i;x++;tempMap[i+16]=0;}//adjust this is we have more specials later that are greater then 104
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1024,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    if   (reportBuffer[b] & 1 << dPadButtons[0]) reportBuffer[HAT] = 0;//u
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1025,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if (reportBuffer[b] & 1 << dPadButtons[1]) reportBuffer[HAT] = 4;//d
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1026,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if (reportBuffer[b] & 1 << dPadButtons[2]) reportBuffer[HAT] = 6;//l
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1027,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if (reportBuffer[b] & 1 << dPadButtons[3]) reportBuffer[HAT] = 2;//r
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1030,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    if      ( reportBuffer[HAT] == 0 && reportBuffer[b] & 1 << dPadButtons[2]) reportBuffer[HAT] = 7;//ul
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1031,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if ( reportBuffer[HAT] == 4 && reportBuffer[b] & 1 << dPadButtons[3]) reportBuffer[HAT] = 3;//dr
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1032,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if ( reportBuffer[HAT] == 4 && reportBuffer[b] & 1 << dPadButtons[2]) reportBuffer[HAT] = 5;//dl
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1033,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    else if ( reportBuffer[HAT] == 0 && reportBuffer[b] & 1 << dPadButtons[3]) reportBuffer[HAT] = 1;//ur
		    ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1038,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   temp=0; for (i=0;i<24;i++) if ( tempMap[i] != 0 ) if (button & 1UL << i) temp |= ( 1UL << tempMap[i]-1 );
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1038,3): warning: array subscript has type 'char' [-Wchar-subscripts]
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1038,103): warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
		   temp=0; for (i=0;i<24;i++) if ( tempMap[i] != 0 ) if (button & 1UL << i) temp |= ( 1UL << tempMap[i]-1 );
		                                                                                                       ^
		main.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1049,6): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		 void readEeprom()
		      ^
		main.c: In function 'readEeprom':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1051,5): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     _UDLR = eeprom_read_byte(20); if (_UDLR==0xff) _UDLR=0;
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1053,5): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     if ( eeprom_read_byte(32)==1 )//load mappings from eeprom
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1055,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   for (char i=0;i<24;i++) mapper[i] = eeprom_read_byte(i+33);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1055,3): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1058,5): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     _AUTO_PAUSE_DIABLED = eeprom_read_byte(22); if (_AUTO_PAUSE_DIABLED==0xff)    _AUTO_PAUSE_DIABLED=0;
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
		main.c: In function 'main':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1076,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(16, 2);
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1077,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     eeprom_update_byte(18, 213);
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1097,5): warning: passing argument 1 of '__eerd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     unsigned char player = eeprom_read_byte(17);
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(657,9): info: expected 'const uint8_t *' but argument is of type 'int'
		 uint8_t eeprom_read_byte (const uint8_t *__p) __ATTR_PURE__;
		         ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1098,5): warning: passing argument 1 of '__eeupd_byte_m328p' makes pointer from integer without a cast [enabled by default]
		     if (player < 4 || player > 7) eeprom_update_byte(17,player = 4);//defult to 4.
		     ^
		In file included from main.c:189:0:
c:\program files (x86)\atmel\atmel toolchain\avr8 gcc\native\3.4.1061\avr8-gnu-toolchain\avr\include\avr\eeprom.h(711,6): info: expected 'uint8_t *' but argument is of type 'int'
		 void eeprom_update_byte (uint8_t *__p, uint8_t __value);
		      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1165,5): warning: suggest parentheses around assignment used as truth value [-Wparentheses]
		     if ( _cntrl = detect() ) //do a second check and compare. If it is the same then we are good, else try again.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1208,22): warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
		   if ( _DoNotReport) memcpy(reportBuffer, reportBufferBACK_UP,24);// use the backup from last good poll
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(1209,9): warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
		    else memcpy(reportBufferBACK_UP, reportBuffer,24);//make a copy.
		         ^
		main.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(222,13): warning: '_BUSY' defined but not used [-Wunused-variable]
		 static char _BUSY=0;
		             ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(224,13): warning: 'idle_rate' defined but not used [-Wunused-variable]
		 static char idle_rate,protocol_version;//compat.
		             ^
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(224,23): warning: 'protocol_version' defined but not used [-Wunused-variable]
		 static char idle_rate,protocol_version;//compat.
		                       ^
		main.c: In function 'usbFunctionWriteOut':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(639,6): warning: '_rumbleLoop' may be used uninitialized in this function [-Wmaybe-uninitialized]
		   if (_rumbleLoop > 1) loop = _rumbleLoop; //use the set loop instead.
		      ^
		main.c: In function 'handleSendData':
S:\blissbox\SOURCE_FILES\blissbox\_4-play\main.c(549,26): warning: 'amount' may be used uninitialized in this function [-Wmaybe-uninitialized]
		   curGamepad->rumbleConst(amount,loop);
		                          ^
		Compiling C: ../BASE_2.0/gamepad.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/gamepad.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/gamepad.o.d ../BASE_2.0/gamepad.c -o ../BASE_2.0/gamepad.o
		Compiling C: ../BASE_2.0/gcn64_protocol.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/gcn64_protocol.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/gcn64_protocol.o.d ../BASE_2.0/gcn64_protocol.c -o ../BASE_2.0/gcn64_protocol.o
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gcn64_protocol.c(64,22): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		 static unsigned char gcn64_receive()
		                      ^
		../BASE_2.0/gcn64_protocol.c: In function 'gcn64_detectController':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gcn64_protocol.c(401,2): warning: "/*" within comment [-Wcomment]
		  /* first comes a 16bit device id:
		 ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gcn64_protocol.c(423,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   if (gcn64_workbuf[ buf ]) nib |= 1;
		   ^
		Compiling C: ../BASE_2.0/i2c.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/i2c.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/i2c.o.d ../BASE_2.0/i2c.c -o ../BASE_2.0/i2c.o
		../BASE_2.0/i2c.c: In function 'i2c_transaction':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\i2c.c(136,1): warning: label 'arb_lost' defined but not used [-Wunused-label]
		 arb_lost:
		 ^
		Compiling C: ../BASE_2.0/gc.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/gc.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/gc.o.d ../BASE_2.0/gc.c -o ../BASE_2.0/gc.o
		../BASE_2.0/gc.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gc.c(76,44): warning: 'return' with a value, in function returning void [enabled by default]
		  if (controllerType == CONTROLLER_IS_N64 ) return controllerType;
		                                            ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gc.c(129,2): warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
		  memset(reportBuffer+4, 0, 6);//set all analogs to 0, as calcs are based off of 0.
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gc.c(129,2): warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gc.c(145,3): warning: array subscript has type 'char' [-Wchar-subscripts]
		   if (gcn64_workbuf[bit]) { reportBuffer[BUTTON_ROW_1] |= bits[i]; }
		   ^
		Compiling C: ../BASE_2.0/db9.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/db9.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/db9.o.d ../BASE_2.0/db9.c -o ../BASE_2.0/db9.o
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(28,1): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		 static inline unsigned char SAMPLE();
		 ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(29,22): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		 static unsigned char SAMPLE()
		                      ^
		../BASE_2.0/db9.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(236,17): warning: unused variable 'tries' [-Wunused-variable]
		   unsigned char tries;
		                 ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(389,4): warning: array subscript has type 'char' [-Wchar-subscripts]
		    if (!(PINB & 0x20)) { reportBuffer[BUTTON_ROW_1] |= bits[i]; }
		    ^
		../BASE_2.0/db9.c: In function 'Probe':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(458,2): warning: pointer targets in passing argument 1 of 'db9Read' differ in signedness [-Wpointer-sign]
		  db9Read(bits);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(78,13): info: expected 'unsigned char *' but argument is of type 'char *'
		 static void db9Read( unsigned char bits[5])
		             ^
		../BASE_2.0/db9.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\db9.c(97,22): warning: 'getPaddleNibble' defined but not used [-Wunused-function]
		 static unsigned char getPaddleNibble(void)
		                      ^
		Compiling C: ../BASE_2.0/snes.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/snes.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/snes.o.d ../BASE_2.0/snes.c -o ../BASE_2.0/snes.o
		../BASE_2.0/snes.c: In function 'Probe':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\snes.c(628,1): warning: control reaches end of non-void function [-Wreturn-type]
		 }
		 ^
		Compiling C: ../BASE_2.0/saturn.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/saturn.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/saturn.o.d ../BASE_2.0/saturn.c -o ../BASE_2.0/saturn.o
		Compiling C: ../BASE_2.0/twelve.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/twelve.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/twelve.o.d ../BASE_2.0/twelve.c -o ../BASE_2.0/twelve.o
		../BASE_2.0/twelve.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(200,3): warning: pointer targets in passing argument 1 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[Y_MAIN_STICK]=read_Volts(&PORTB,&DDRB,&PINB,0x08,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(200,3): warning: pointer targets in passing argument 2 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[Y_MAIN_STICK]=read_Volts(&PORTB,&DDRB,&PINB,0x08,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(200,3): warning: pointer targets in passing argument 3 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[Y_MAIN_STICK]=read_Volts(&PORTB,&DDRB,&PINB,0x08,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(201,3): warning: pointer targets in passing argument 1 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[X_MAIN_STICK]=read_Volts(&PORTC,&DDRC,&PINC,0x40,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(201,3): warning: pointer targets in passing argument 2 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[X_MAIN_STICK]=read_Volts(&PORTC,&DDRC,&PINC,0x40,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(201,3): warning: pointer targets in passing argument 3 of 'read_Volts' differ in signedness [-Wpointer-sign]
		   reportBuffer[X_MAIN_STICK]=read_Volts(&PORTC,&DDRC,&PINC,0x40,2);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(18,13): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static char read_Volts(volatile char *port,volatile char *ddr,volatile char *pin, char _pin, char multi)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(433,4): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		    if (readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB) > 2 )//prevent reads less then 2.
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(433,4): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		    if (readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB) > 2 )//prevent reads less then 2.
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(433,4): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		    if (readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB) > 2 )//prevent reads less then 2.
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(433,4): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		    if (readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB) > 2 )//prevent reads less then 2.
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(433,4): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		    if (readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB) > 2 )//prevent reads less then 2.
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(435,5): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		     reportBuffer[SLIDER]=255-readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//(button goes left) (the read is not as boog on this paddle)
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(435,5): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		     reportBuffer[SLIDER]=255-readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//(button goes left) (the read is not as boog on this paddle)
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(435,5): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		     reportBuffer[SLIDER]=255-readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//(button goes left) (the read is not as boog on this paddle)
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(435,5): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		     reportBuffer[SLIDER]=255-readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//(button goes left) (the read is not as boog on this paddle)
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(435,5): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		     reportBuffer[SLIDER]=255-readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//(button goes left) (the read is not as boog on this paddle)
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(437,4): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		    reportBuffer[DIAL]=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);//(button goes right)
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(437,4): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		    reportBuffer[DIAL]=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);//(button goes right)
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(437,4): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		    reportBuffer[DIAL]=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);//(button goes right)
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(437,4): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		    reportBuffer[DIAL]=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);//(button goes right)
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(437,4): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		    reportBuffer[DIAL]=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);//(button goes right)
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(447,4): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		    unsigned char player2Read=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(447,4): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		    unsigned char player2Read=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(447,4): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		    unsigned char player2Read=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(447,4): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		    unsigned char player2Read=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(447,4): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		    unsigned char player2Read=255-readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
		../BASE_2.0/twelve.c: In function 'Probe':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(478,2): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r1 = readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//must check both > 1 and < 254
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(478,2): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r1 = readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//must check both > 1 and < 254
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(478,2): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r1 = readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//must check both > 1 and < 254
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(478,2): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r1 = readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//must check both > 1 and < 254
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(478,2): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r1 = readVR(0x01,0x20,&PORTC,&DDRC,&PORTB,&PINB,&DDRB);//must check both > 1 and < 254
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(479,2): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r2 = readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(479,2): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r2 = readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(479,2): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r2 = readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(479,2): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r2 = readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(479,2): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		  unsigned char r2 = readVR(0x01,0x08,&PORTC,&DDRC,&PORTD,&PIND,&DDRD);
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(495,3): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		   int a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(495,3): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		   int a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(495,3): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		   int a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(495,3): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		   int a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(495,3): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		   int a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(496,5): warning: pointer targets in passing argument 3 of 'readVR' differ in signedness [-Wpointer-sign]
		     a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);//once does not always get it.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(496,5): warning: pointer targets in passing argument 4 of 'readVR' differ in signedness [-Wpointer-sign]
		     a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);//once does not always get it.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(496,5): warning: pointer targets in passing argument 5 of 'readVR' differ in signedness [-Wpointer-sign]
		     a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);//once does not always get it.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(496,5): warning: pointer targets in passing argument 6 of 'readVR' differ in signedness [-Wpointer-sign]
		     a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);//once does not always get it.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(496,5): warning: pointer targets in passing argument 7 of 'readVR' differ in signedness [-Wpointer-sign]
		     a = readVR(0x01,0x08,&PORTB,&DDRB,&PORTB,&PINB,&DDRB);//once does not always get it.
		     ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\twelve.c(36,22): info: expected 'volatile char *' but argument is of type 'volatile uint8_t *'
		 static unsigned char readVR ( char common, char read, volatile char *port1, volatile char *ddr1, //common setup
		                      ^
		Compiling C: ../BASE_2.0/jaguar.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/jaguar.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/jaguar.o.d ../BASE_2.0/jaguar.c -o ../BASE_2.0/jaguar.o
		../BASE_2.0/jaguar.c: In function 'readController':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\jaguar.c(49,2): warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
		  memset(st->btnsKp, 0, sizeof(st->btnsKp));
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\jaguar.c(49,2): warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
		Compiling C: ../BASE_2.0/intellivision.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/intellivision.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/intellivision.o.d ../BASE_2.0/intellivision.c -o ../BASE_2.0/intellivision.o
		Compiling C: ../BASE_2.0/wii.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/wii.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/wii.o.d ../BASE_2.0/wii.c -o ../BASE_2.0/wii.o
		../BASE_2.0/wii.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\wii.c(212,52): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		     tempx = ((buf[5] & 0x0C) >> 2) | (buf[2] << 2) - 250;
		                                                    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\wii.c(213,52): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		     tempy = ((buf[5] & 0x30) >> 4) | (buf[3] << 2) - 250;
		                                                    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\wii.c(214,52): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		     tempz = ((buf[5] & 0xC0) >> 6) | (buf[4] << 2) - 250;
		                                                    ^
		Compiling C: ../BASE_2.0/psx.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/psx.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/psx.o.d ../BASE_2.0/psx.c -o ../BASE_2.0/psx.o
		../BASE_2.0/psx.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\psx.c(321,2): warning: array subscript has type 'char' [-Wchar-subscripts]
		  for ( char p=0;p<12;p++) psx_pressure_data[p]= ps2buffer[9+p];//fill up pressure data for API.
		  ^
		../BASE_2.0/psx.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\psx.c(38,22): warning: 'Negcon' defined but not used [-Wunused-variable]
		 static unsigned char Negcon=0;
		                      ^
		Compiling C: ../BASE_2.0/dreamCast.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/dreamCast.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/dreamCast.o.d ../BASE_2.0/dreamCast.c -o ../BASE_2.0/dreamCast.o
		../BASE_2.0/dreamCast.c: In function 'prepareAndSendData':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(58,2): warning: array subscript has type 'char' [-Wchar-subscripts]
		  for (char i=0;i < size; i++) { sendData( data[i]); parity ^= data[i]; }
		  ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(58,2): warning: array subscript has type 'char' [-Wchar-subscripts]
		../BASE_2.0/dreamCast.c: In function 'doWork':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(612,3): warning: pointer targets in passing argument 1 of 'vmuBlockWrite' differ in signedness [-Wpointer-sign]
		   vmuBlockWrite(lcd_data);//lcd_data
		   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(385,13): info: expected 'char *' but argument is of type 'unsigned char *'
		 static void vmuBlockWrite( char *data)
		             ^
		../BASE_2.0/dreamCast.c: At top level:
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(209,13): warning: 'peripheralDeviceReset' defined but not used [-Wunused-function]
		 static void peripheralDeviceReset( char port)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(284,13): warning: 'controllerExitRequest' defined but not used [-Wunused-function]
		 static void controllerExitRequest(void)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(297,13): warning: 'controllerResetRequest' defined but not used [-Wunused-function]
		 static void controllerResetRequest(void)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(309,13): warning: 'controllerShutDownRequest' defined but not used [-Wunused-function]
		 static void controllerShutDownRequest(void)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(322,13): warning: 'vmuDeviceRequest' defined but not used [-Wunused-function]
		 static void vmuDeviceRequest(void)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(337,13): warning: 'vmuGetMediaInfo' defined but not used [-Wunused-function]
		 static void vmuGetMediaInfo(void)
		             ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(359,13): warning: 'vmuSetCondition' defined but not used [-Wunused-function]
		 static void vmuSetCondition(void)
		             ^
		../BASE_2.0/dreamCast.c: In function 'sendContRumble':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\dreamCast.c(188,13): warning: 'inc' may be used uninitialized in this function [-Wmaybe-uninitialized]
		     sendData(byte=inc);    parity ^= byte;//inc : Is specified when either convergence or divergence is used
		             ^
		Compiling C: ../BASE_2.0/n64.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/n64.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/n64.o.d ../BASE_2.0/n64.c -o ../BASE_2.0/n64.o
		../BASE_2.0/n64.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\n64.c(113,4): warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
		    memset(tmpdata+3, 0x80, 34);
		    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\n64.c(113,4): warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
		../BASE_2.0/n64.c: In function 'Probe':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\n64.c(201,16): warning: unused variable 'ID' [-Wunused-variable]
		  unsigned char ID;
		                ^
		Compiling C: ../BASE_2.0/atmark.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/atmark.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/atmark.o.d ../BASE_2.0/atmark.c -o ../BASE_2.0/atmark.o
		../BASE_2.0/atmark.c: In function 'Probe':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\atmark.c(278,1): warning: control reaches end of non-void function [-Wreturn-type]
		 }
		 ^
		Compiling C: ../BASE_2.0/gameport.c
		avr-gcc  -c -mmcu=atmega328p -I. -DF_CPU=12000000L -Os -Wall -Wstrict-prototypes -Wa,-adhlns=./../BASE_2.0/gameport.lst -Iusbdrv -std=gnu99 -MMD -MP -MF .dep/gameport.o.d ../BASE_2.0/gameport.c -o ../BASE_2.0/gameport.o
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(198,14): warning: function declaration isn't a prototype [-Wstrict-prototypes]
		  static void getGravisData( )
		              ^
		../BASE_2.0/gameport.c: In function 'getGravisData':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(267,15): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    (data1>>5) &  0x03 //A and B
		               ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(276,19): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    ((data1>>10)  )& 0x01//Z
		                   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(278,19): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    | ((data1<<2) )& 0x40//L click
		                   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(279,19): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    | ((data1<<4) )& 0x80//R click
		                   ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(280,20): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    | ((data1>>21) )& 0x04//u
		                    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(281,20): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    | ((data1>>19) )& 0x08//d
		                    ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(282,20): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		    | ((data1>>16) )& 0x30;//l,r
		                    ^
		../BASE_2.0/gameport.c: In function 'Update':
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(388,49): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		      reportBuffer[BUTTON_ROW_2] = (data1 >> 14) & 0x3c//udlr
		                                                 ^
S:\blissbox\SOURCE_FILES\blissbox\BASE_2.0\gameport.c(392,48): warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
		      reportBuffer[BUTTON_ROW_1] = (data2 >>15) & 0x0C//button a and b
		                                                ^
		Assembling: usbdrv/usbdrvasm.S
		avr-gcc  -c -mmcu=atmega328p -I. -x assembler-with-cpp -DF_CPU=12000000 -Wa,-adhlns=./usbdrv/usbdrvasm.lst,-gstabs,--listing-cont-lines=100 usbdrv/usbdrvasm.S -o usbdrv/usbdrvasm.o
		usbdrv/usbdrv.h: Assembler messages:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\usbdrv\usbdrv.h(15,1): error: unknown opcode `unsigned'
		make: *** [usbdrv/usbdrvasm.o] Error 1
		make: Leaving directory `S:/blissbox/SOURCE_FILES/blissbox/_4-play'
	Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "main.cproj" -- FAILED.
Done building project "main.cproj" -- FAILED.

Build FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

 

And just to re-cap, to generate this log I delete the usbdrvasm.0 file. My understanding is that the make will tell the compiler to make my o file from my usbdrvasm.S. Otherwise I'm not sure how it could have been made in the first place. 

 

 

 

maybe there is an error in my S file?

 

ill post it to be sure but to my knowledge it never changed, though I don;t stare at asm all day so I would not spot the error. 

/* Name: usbdrvasm.S
 * Project: V-USB, virtual USB port for Atmel's(r) AVR(r) microcontrollers
 * Author: Christian Starkjohann
 * Creation Date: 2007-06-13
 * Tabsize: 4
 * Copyright: (c) 2007 by OBJECTIVE DEVELOPMENT Software GmbH
 * License: GNU GPL v2 (see License.txt), GNU GPL v3 or proprietary (CommercialLicense.txt)
 */

/*
General Description:
This module is the assembler part of the USB driver. This file contains
general code (preprocessor acrobatics and CRC computation) and then includes
the file appropriate for the given clock rate.
*/

#define __SFR_OFFSET 0      /* used by avr-libc's register definitions */
#include "usbportability.h"
#include "usbdrv.h"         /* for common defs */

/* register names */
#define x1      r16
#define x2      r17
#define shift   r18
#define cnt     r19
#define x3      r20
#define x4      r21
#define x5		r22
#define bitcnt  x5
#define phase   x4
#define leap    x4

/* Some assembler dependent definitions and declarations: */

#ifdef __IAR_SYSTEMS_ASM__
    extern  usbRxBuf, usbDeviceAddr, usbNewDeviceAddr, usbInputBufOffset
    extern  usbCurrentTok, usbRxLen, usbRxToken, usbTxLen
    extern  usbTxBuf, usbTxStatus1, usbTxStatus3
#   if USB_COUNT_SOF
        extern usbSofCount
#   endif
    public  usbCrc16
    public  usbCrc16Append

    COMMON  INTVEC
#   ifndef USB_INTR_VECTOR
        ORG     INT0_vect
#   else /* USB_INTR_VECTOR */
        ORG     USB_INTR_VECTOR
#       undef   USB_INTR_VECTOR
#   endif /* USB_INTR_VECTOR */
#   define  USB_INTR_VECTOR usbInterruptHandler
    rjmp    USB_INTR_VECTOR
    RSEG    CODE

#else /* __IAR_SYSTEMS_ASM__ */

#   ifndef USB_INTR_VECTOR /* default to hardware interrupt INT0 */
#       ifdef INT0_vect
#           define USB_INTR_VECTOR  INT0_vect       // this is the "new" define for the vector
#       else
#           define USB_INTR_VECTOR  SIG_INTERRUPT0  // this is the "old" vector
#       endif
#   endif
    .text
    .global USB_INTR_VECTOR
    .type   USB_INTR_VECTOR, @function
    .global usbCrc16
    .global usbCrc16Append
#endif /* __IAR_SYSTEMS_ASM__ */


#if USB_INTR_PENDING < 0x40 /* This is an I/O address, use in and out */
#   define  USB_LOAD_PENDING(reg)   in reg, USB_INTR_PENDING
#   define  USB_STORE_PENDING(reg)  out USB_INTR_PENDING, reg
#else   /* It's a memory address, use lds and sts */
#   define  USB_LOAD_PENDING(reg)   lds reg, USB_INTR_PENDING
#   define  USB_STORE_PENDING(reg)  sts USB_INTR_PENDING, reg
#endif

#define usbTxLen1   usbTxStatus1
#define usbTxBuf1   (usbTxStatus1 + 1)
#define usbTxLen3   usbTxStatus3
#define usbTxBuf3   (usbTxStatus3 + 1)


;----------------------------------------------------------------------------
; Utility functions
;----------------------------------------------------------------------------

#ifdef __IAR_SYSTEMS_ASM__
/* Register assignments for usbCrc16 on IAR cc */
/* Calling conventions on IAR:
 * First parameter passed in r16/r17, second in r18/r19 and so on.
 * Callee must preserve r4-r15, r24-r29 (r28/r29 is frame pointer)
 * Result is passed in r16/r17
 * In case of the "tiny" memory model, pointers are only 8 bit with no
 * padding. We therefore pass argument 1 as "16 bit unsigned".
 */
RTMODEL "__rt_version", "3"
/* The line above will generate an error if cc calling conventions change.
 * The value "3" above is valid for IAR 4.10B/W32
 */
#   define argLen   r18 /* argument 2 */
#   define argPtrL  r16 /* argument 1 */
#   define argPtrH  r17 /* argument 1 */

#   define resCrcL  r16 /* result */
#   define resCrcH  r17 /* result */

#   define ptrL     ZL
#   define ptrH     ZH
#   define ptr      Z
#   define byte     r22
#   define bitCnt   r19
#   define polyL    r20
#   define polyH    r21
#   define scratch  r23

#else  /* __IAR_SYSTEMS_ASM__ */ 
/* Register assignments for usbCrc16 on gcc */
/* Calling conventions on gcc:
 * First parameter passed in r24/r25, second in r22/23 and so on.
 * Callee must preserve r1-r17, r28/r29
 * Result is passed in r24/r25
 */
#   define argLen   r22 /* argument 2 */
#   define argPtrL  r24 /* argument 1 */
#   define argPtrH  r25 /* argument 1 */

#   define resCrcL  r24 /* result */
#   define resCrcH  r25 /* result */

#   define ptrL     XL
#   define ptrH     XH
#   define ptr      x
#   define byte     r18
#   define bitCnt   r19
#   define polyL    r20
#   define polyH    r21
#   define scratch  r23

#endif

#if USB_USE_FAST_CRC

; This implementation is faster, but has bigger code size
; Thanks to Slawomir Fras (BoskiDialer) for this code!
; It implements the following C pseudo-code:
; unsigned table(unsigned char x)
; {
; unsigned    value;
; 
;     value = (unsigned)x << 6;
;     value ^= (unsigned)x << 7;
;     if(parity(x))
;         value ^= 0xc001;
;     return value;
; }
; unsigned usbCrc16(unsigned char *argPtr, unsigned char argLen)
; {
; unsigned crc = 0xffff;
; 
;     while(argLen--)
;         crc = table(lo8(crc) ^ *argPtr++) ^ hi8(crc);
;     return ~crc;
; }

; extern unsigned usbCrc16(unsigned char *argPtr, unsigned char argLen);
;   argPtr  r24+25 / r16+r17
;   argLen  r22 / r18
; temp variables:
;   byte    r18 / r22
;   scratch r23
;   resCrc  r24+r25 / r16+r17
;   ptr     X / Z
usbCrc16:
    mov     ptrL, argPtrL
    mov     ptrH, argPtrH
    ldi     resCrcL, 0xFF
    ldi     resCrcH, 0xFF
    rjmp    usbCrc16LoopTest
usbCrc16ByteLoop:
    ld      byte, ptr+
    eor     resCrcL, byte   ; resCrcL is now 'x' in table()
    mov     byte, resCrcL   ; compute parity of 'x'
    swap    byte
    eor     byte, resCrcL
    mov     scratch, byte
    lsr     byte
    lsr     byte
    eor     byte, scratch
    inc     byte
    lsr     byte
    andi    byte, 1         ; byte is now parity(x)
    mov     scratch, resCrcL
    mov     resCrcL, resCrcH
    eor     resCrcL, byte   ; low byte of if(parity(x)) value ^= 0xc001;
    neg     byte
    andi    byte, 0xc0
    mov     resCrcH, byte   ; high byte of if(parity(x)) value ^= 0xc001;
    clr     byte
    lsr     scratch
    ror     byte
    eor     resCrcH, scratch
    eor     resCrcL, byte
    lsr     scratch
    ror     byte
    eor     resCrcH, scratch
    eor     resCrcL, byte
usbCrc16LoopTest:
    subi    argLen, 1
    brsh    usbCrc16ByteLoop
    com     resCrcL
    com     resCrcH
    ret

#else   /* USB_USE_FAST_CRC */

; This implementation is slower, but has less code size
;
; extern unsigned usbCrc16(unsigned char *argPtr, unsigned char argLen);
;   argPtr  r24+25 / r16+r17
;   argLen  r22 / r18
; temp variables:
;   byte    r18 / r22
;   bitCnt  r19
;   poly    r20+r21
;   scratch r23
;   resCrc  r24+r25 / r16+r17
;   ptr     X / Z
usbCrc16:
    mov     ptrL, argPtrL
    mov     ptrH, argPtrH
    ldi     resCrcL, 0
    ldi     resCrcH, 0
    ldi     polyL, lo8(0xa001)
    ldi     polyH, hi8(0xa001)
    com     argLen      ; argLen = -argLen - 1: modified loop to ensure that carry is set
    ldi     bitCnt, 0   ; loop counter with starnd condition = end condition
    rjmp    usbCrcLoopEntry
usbCrcByteLoop:
    ld      byte, ptr+
    eor     resCrcL, byte
usbCrcBitLoop:
    ror     resCrcH     ; carry is always set here (see brcs jumps to here)
    ror     resCrcL
    brcs    usbCrcNoXor
    eor     resCrcL, polyL
    eor     resCrcH, polyH
usbCrcNoXor:
    subi    bitCnt, 224 ; (8 * 224) % 256 = 0; this loop iterates 8 times
    brcs    usbCrcBitLoop
usbCrcLoopEntry:
    subi    argLen, -1
    brcs    usbCrcByteLoop
usbCrcReady:
    ret
; Thanks to Reimar Doeffinger for optimizing this CRC routine!

#endif /* USB_USE_FAST_CRC */

; extern unsigned usbCrc16Append(unsigned char *data, unsigned char len);
usbCrc16Append:
    rcall   usbCrc16
    st      ptr+, resCrcL
    st      ptr+, resCrcH
    ret

#undef argLen
#undef argPtrL
#undef argPtrH
#undef resCrcL
#undef resCrcH
#undef ptrL
#undef ptrH
#undef ptr
#undef byte
#undef bitCnt
#undef polyL
#undef polyH
#undef scratch


#if USB_CFG_HAVE_MEASURE_FRAME_LENGTH
#ifdef __IAR_SYSTEMS_ASM__
/* Register assignments for usbMeasureFrameLength on IAR cc */
/* Calling conventions on IAR:
 * First parameter passed in r16/r17, second in r18/r19 and so on.
 * Callee must preserve r4-r15, r24-r29 (r28/r29 is frame pointer)
 * Result is passed in r16/r17
 * In case of the "tiny" memory model, pointers are only 8 bit with no
 * padding. We therefore pass argument 1 as "16 bit unsigned".
 */
#   define resL     r16
#   define resH     r17
#   define cnt16L   r30
#   define cnt16H   r31
#   define cntH     r18

#else  /* __IAR_SYSTEMS_ASM__ */ 
/* Register assignments for usbMeasureFrameLength on gcc */
/* Calling conventions on gcc:
 * First parameter passed in r24/r25, second in r22/23 and so on.
 * Callee must preserve r1-r17, r28/r29
 * Result is passed in r24/r25
 */
#   define resL     r24
#   define resH     r25
#   define cnt16L   r24
#   define cnt16H   r25
#   define cntH     r26
#endif
#   define cnt16    cnt16L

; extern unsigned usbMeasurePacketLength(void);
; returns time between two idle strobes in multiples of 7 CPU clocks
.global usbMeasureFrameLength
usbMeasureFrameLength:
    ldi     cntH, 6         ; wait ~ 10 ms for D- == 0
    clr     cnt16L
    clr     cnt16H
usbMFTime16:
    dec     cntH
    breq    usbMFTimeout
usbMFWaitStrobe:            ; first wait for D- == 0 (idle strobe)
    sbiw    cnt16, 1        ;[0] [6]
    breq    usbMFTime16     ;[2]
    sbic    USBIN, USBMINUS ;[3]
    rjmp    usbMFWaitStrobe ;[4]
usbMFWaitIdle:              ; then wait until idle again
    sbis    USBIN, USBMINUS ;1 wait for D- == 1
    rjmp    usbMFWaitIdle   ;2
    ldi     cnt16L, 1       ;1 represents cycles so far
    clr     cnt16H          ;1
usbMFWaitLoop:
    in      cntH, USBIN     ;[0] [7]
    adiw    cnt16, 1        ;[1]
    breq    usbMFTimeout    ;[3]
    andi    cntH, USBMASK   ;[4]
    brne    usbMFWaitLoop   ;[5]
usbMFTimeout:
#if resL != cnt16L
    mov     resL, cnt16L
    mov     resH, cnt16H
#endif
    ret

#undef resL
#undef resH
#undef cnt16
#undef cnt16L
#undef cnt16H
#undef cntH

#endif  /* USB_CFG_HAVE_MEASURE_FRAME_LENGTH */

;----------------------------------------------------------------------------
; Now include the clock rate specific code
;----------------------------------------------------------------------------

#ifndef USB_CFG_CLOCK_KHZ
#   ifdef F_CPU
#       define USB_CFG_CLOCK_KHZ (F_CPU/1000)
#   else
#       error "USB_CFG_CLOCK_KHZ not defined in usbconfig.h and no F_CPU set!"
#   endif
#endif

#if USB_CFG_CHECK_CRC   /* separate dispatcher for CRC type modules */
#   if USB_CFG_CLOCK_KHZ == 18000
#       include "usbdrvasm18-crc.inc"
#   else
#       error "USB_CFG_CLOCK_KHZ is not one of the supported crc-rates!"
#   endif
#else   /* USB_CFG_CHECK_CRC */
#   if USB_CFG_CLOCK_KHZ == 12000
#       include "usbdrvasm12.inc"
#   elif USB_CFG_CLOCK_KHZ == 12800
#       include "usbdrvasm128.inc"
#   elif USB_CFG_CLOCK_KHZ == 15000
#       include "usbdrvasm15.inc"
#   elif USB_CFG_CLOCK_KHZ == 16000
#       include "usbdrvasm16.inc"
#   elif USB_CFG_CLOCK_KHZ == 16500
#       include "usbdrvasm165.inc"
#   elif USB_CFG_CLOCK_KHZ == 20000
#       include "usbdrvasm20.inc"
#   else
#       error "USB_CFG_CLOCK_KHZ is not one of the supported non-crc-rates!"
#   endif
#endif /* USB_CFG_CHECK_CRC */

 

 

 

Last Edited: Thu. Nov 9, 2017 - 06:10 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

First thing noticed: The clean target does not clean out the  /usbdrv/usbdrvasm.o file . 

 

Could you check in your file-system if it exists?

 

The clean target does clean out /usbdrv/usbdrc.o (the one emanating from the /usbdrv/usbdrv.c file) which is in the same directory as the assembler file, so something seems special with the assembler file in particular.

 

clawson wrote:
I suspect the build action is not set to "assemble/compile".

Did you double-check this?

"He used to carry his guitar in a gunny sack, or sit beneath the tree by the railroad track. Oh the engineers would see him sitting in the shade, Strumming with the rhythm that the drivers made. People passing by, they would stop and say, "Oh, my, what that little country boy could play!" [Chuck Berry]

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

S_K_U_N_X wrote:
maybe there is an error in my S file?
Yes, and the compiler/assembler told you that:

		Assembling: usbdrv/usbdrvasm.S
		avr-gcc  -c -mmcu=atmega328p -I. -x assembler-with-cpp -DF_CPU=12000000 -Wa,-adhlns=./usbdrv/usbdrvasm.lst,-gstabs,--listing-cont-lines=100 usbdrv/usbdrvasm.S -o usbdrv/usbdrvasm.o
		usbdrv/usbdrv.h: Assembler messages:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\usbdrv\usbdrv.h(15,1): error: unknown opcode `unsigned'
		make: *** [usbdrv/usbdrvasm.o] Error 1

You can't use any random C header file with the assembler. You have to modify the header file to exclude the C stuff when fed into the assembler.

Stefan Ernst

Last Edited: Thu. Nov 9, 2017 - 07:43 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sternst wrote:

S_K_U_N_X wrote:

 

maybe there is an error in my S file?

Yes, and the compiler/assembler told you that:

		Assembling: usbdrv/usbdrvasm.S
		avr-gcc  -c -mmcu=atmega328p -I. -x assembler-with-cpp -DF_CPU=12000000 -Wa,-adhlns=./usbdrv/usbdrvasm.lst,-gstabs,--listing-cont-lines=100 usbdrv/usbdrvasm.S -o usbdrv/usbdrvasm.o
		usbdrv/usbdrv.h: Assembler messages:
S:\blissbox\SOURCE_FILES\blissbox\_4-play\usbdrv\usbdrv.h(15,1): error: unknown opcode `unsigned'
		make: *** [usbdrv/usbdrvasm.o] Error 1

You can't use any random C header file with the assembler. You have to modify the header file to exclude the C stuff when fed into the assembler.

 

Bingo, I added a global variable in usbavr.h, that is causing the issue. Thx.

 

 

"Could you check in your file-system if it exists?"    Yeah JohanEkdahl, that is what I noticed that spawned this issue. I wanted to make a change in this file but saw that the clean does not remove it. So I removed it manually and built... now I get these errors (no changes yet made).  

 

 

 

 

Last Edited: Thu. Nov 9, 2017 - 08:04 PM