cithraidt / lwcloneu2

GNU General Public License v2.0
18 stars 18 forks source link

no function with LED Blinky or Ledwiz tool #2

Open cyclemat opened 10 years ago

cyclemat commented 10 years ago

Have created a pinmap.h and it Copile but no funtion in normal LEdwiz compa tools the keyboard support works but the ledwiz tool didnt start and LEDBlinky Kills the programm tread

The Project is on Arduino Mega 2560 with 16u2 Chip as usb Controller

Here is The pinmap.h

define LED_MAPPING_TABLE(map) \

\
_map_( A, 0, 0 ) /* ( AD0 )               Digital pin 22 */ \
_map_( A, 2, 0 ) /* ( AD2 )               Digital pin 24 */ \
_map_( A, 4, 0 ) /* ( AD4 )               Digital pin 26 */ \
_map_( A, 6, 0 ) /* ( AD6 )               Digital pin 28 */ \
_map_( C, 7, 0 ) /* ( A15 )               Digital pin 30 */ \
_map_( C, 5, 0 ) /* ( A13 )               Digital pin 32 */ \
_map_( C, 3, 0 ) /* ( A11 )               Digital pin 34 */ \
_map_( C, 1, 0 ) /* ( A9 )                Digital pin 36 */ \
_map_( D, 7, 0 ) /* ( T0 )                Digital pin 38 */ \
_map_( G, 1, 0 ) /* ( RD )                Digital pin 40 */ \
_map_( L, 7, 0 ) /*                       Digital pin 42 */ \
_map_( L, 5, 0 ) /* ( OC5C )              Digital pin 44 (PWM) */ \
_map_( L, 3, 0 ) /* ( OC5A )              Digital pin 46 (PWM) */ \
_map_( L, 1, 0 ) /* ( ICP5 )              Digital pin 48 */ \
_map_( B, 3, 0 ) /* ( MISO/PCINT3 )       Digital pin 50 (MISO) */ \
_map_( B, 1, 0 ) /* ( SCK/PCINT1 )        Digital pin 52 (SCK) */ \
_map_( A, 1, 0 ) /* ( AD1 )               Digital pin 23 */ \
_map_( A, 3, 0 ) /* ( AD3 )               Digital pin 25 */ \
_map_( A, 5, 0 ) /* ( AD5 )               Digital pin 27 */ \
_map_( A, 7, 0 ) /* ( AD7 )               Digital pin 29 */ \
_map_( C, 6, 0 ) /* ( A14 )               Digital pin 31 */ \
_map_( C, 4, 0 ) /* ( A12 )               Digital pin 33 */ \
_map_( C, 2, 0 ) /* ( A10 )               Digital pin 35 */ \
_map_( C, 0, 0 ) /* ( A8 )                Digital pin 37 */ \
_map_( G, 2, 0 ) /* ( ALE )               Digital pin 39 */ \
_map_( G, 0, 0 ) /* ( WR )                Digital pin 41 */ \
_map_( L, 6, 0 ) /*                       Digital pin 43 */ \
_map_( L, 4, 0 ) /* ( OC5B )              Digital pin 45 (PWM) */ \
_map_( L, 2, 0 ) /* ( T5 )                Digital pin 47 */ \
_map_( L, 0, 0 ) /* ( ICP4 )              Digital pin 49 */ \
_map_( B, 2, 0 ) /* ( MOSI/PCINT2 )       Digital pin 51 (MOSI) */ \
_map_( B, 0, 0 ) /* ( SS/PCINT0 )         Digital pin 53 (SS) */ \
\
/* end */

if (USE_MOUSE)

define MOUSE_X_CLK_INDEX 9

define MOUSE_X_DIR_INDEX 10

define MOUSE_Y_CLK_INDEX 11

define MOUSE_Y_DIR_INDEX 12

endif

define SHIFT_SWITCH_INDEX 32

define PANEL_MAPPING_TABLE(map) \

\
_map_( E, 4,    MOD_LeftShift,   0                 ) /* ( OC3B/INT4 )         Digital pin 2 (PWM) */ \
_map_( E, 5,    MOD_RightShift,  0                 ) /* ( OC3C/INT5 )         Digital pin 3 (PWM) */ \
_map_( G, 5,    MOD_LeftControl, 0                 ) /* ( OC0B )              Digital pin 4 (PWM) */ \
_map_( E, 3,    MOD_RightControl,0                 ) /* ( OC3A/AIN1 )         Digital pin 5 (PWM) */ \
_map_( H, 3,    KEY_Esc,         0                 ) /* ( OC4A )              Digital pin 6 (PWM) */ \
_map_( H, 4,    KEY_Enter,       0                 ) /* ( OC4B )              Digital pin 7 (PWM) */ \
_map_( H, 5,    KEY_1,           0             ) /* ( OC4C )              Digital pin 8 (PWM) */ \
_map_( H, 6,    KEY_5,           0             ) /* ( OC2B )              Digital pin 9 (PWM) */ \
_map_( B, 4,    KEY_A,           0             ) /* ( OC2A/PCINT4 )       Digital pin 10 (PWM) */ \
_map_( B, 5,    KEY_S,           0             ) /* ( OC1A/PCINT5 )       Digital pin 11 (PWM) */ \
_map_( B, 6,    KEY_D,           0             ) /* ( OC1B/PCINT6 )       Digital pin 12 (PWM) */ \
_map_( B, 7,    0,           0       ) /* ( OC0A/OC1C/PCINT7 )  Digital pin 13 (PWM) */ \
_map_( J, 1,    KEY_2,           0     ) /* ( TXD3/PCINT10 )      Digital pin 14 (TX3) */ \
_map_( J, 0,    KEY_3,          0                 ) /* ( RXD3/PCINT9 )       Digital pin 15 (RX3) */ \
_map_( H, 1,    KEY_4,      0                 ) /* ( TXD2 )              Digital pin 16 (TX2) */ \
_map_( H, 0,    KEY_5,      0                 ) /* ( RXD2 )              Digital pin 17 (RX2) */ \
_map_( D, 1,    KEY_6,      0         ) /* ( SDA/INT1 )          Digital pin 20 (SDA) */ \
_map_( D, 0,    KEY_F,      0       ) /* ( SCL/INT0 )          Digital pin 21 (SCL) */ \
_map_( F, 2,    KEY_G,      0           ) /* ( ADC2 )              Analog pin 2 */ \
_map_( F, 3,    KEY_H,      0           ) /* ( ADC3 )              Analog pin 3 */ \
_map_( F, 4,    KEY_J,      0                 ) /* ( ADC4/TMK )          Analog pin 4 */ \
_map_( F, 5,    KEY_Y,      0                 ) /* ( ADC5/TMS )          Analog pin 5 */ \
_map_( F, 6,    KEY_X,      0            ) /* ( ADC6 )              Analog pin 6 */ \
_map_( F, 7,    KEY_C,        0       ) /* ( ADC7 )              Analog pin 7 */ \
_map_( K, 0,    KEY_V,         0     ) /* ( ADC8/PCINT16 )      Analog pin 8 */ \
_map_( K, 1,    KEY_B,           0        ) /* ( ADC9/PCINT17 )      Analog pin 9 */ \
_map_( K, 2,    KEY_N,         0      ) /* ( ADC10/PCINT18 )     Analog pin 10 */ \
_map_( K, 3,    KEY_M,         0     ) /* ( ADC11/PCINT19 )     Analog pin 11 */ \
_map_( K, 4,    KEY_Q,           0           ) /* ( ADC12/PCINT20 )     Analog pin 12 */ \
_map_( K, 5,    KEY_W,      0                 ) /* ( ADC13/PCINT21 )     Analog pin 13 */ \
_map_( K, 6,    KEY_E,      0                 ) /* ( ADC14/PCINT22 )     Analog pin 14 */ \
_map_( K, 7,    KEY_R,      0                 ) /* ( ADC15/PCINT23 )     Analog pin 15 */ \
\

    // (port, pin, mux, value_min, value_max, joyid, axis

define ADC_MAPPING_TABLE(map) \

\

\
/* end */
/* end */

Log M2560 compilig

E:\aus XP\lwcloneu2-master\firmware\arduino_mega2560\m2560>make clean

-------- begin --------

Cleaning project: rm -f arduino_mega2560m2560.hex rm -f arduino_mega2560__m2560.eep rm -f arduino_mega2560m2560.cof rm -f arduino_mega2560m2560.elf rm -f arduino_mega2560__m2560.map rm -f arduino_mega2560m2560.sym rm -f arduino_mega2560__m2560.lss rm -f ../../main_led.o ../../comm.o ../../led.o ../../panel.o ../../queue.o ../. ./clock.o rm -f ../../main_led.lst ../../comm.lst ../../led.lst ../../panel.lst ../../queu e.lst ../../clock.lst rm -f ../../main_led.s ../../comm.s ../../led.s ../../panel.s ../../queue.s ../. ./clock.s rm -f ../../main_led.d ../../comm.d ../../led.d ../../panel.d ../../queue.d ../. ./clock.d rm -rf .dep -------- end --------

E:\aus XP\lwcloneu2-master\firmware\arduino_mega2560\m2560>make

-------- begin -------- avr-gcc (AVR_8_bit_GNU_Toolchain_3.4.2_939) 4.7.2 Copyright (C) 2012 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: ../../main_led.c avr-gcc -c -mmcu=atmega2560 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-cha r -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa ,-adhlns=../../main_led.lst -std=gnu99 -MD -MP -MF .dep/main_led.o.d ../../main _led.c -o ../../main_led.o

Compiling: ../../comm.c avr-gcc -c -mmcu=atmega2560 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-cha r -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa ,-adhlns=../../comm.lst -std=gnu99 -MD -MP -MF .dep/comm.o.d ../../comm.c -o .. /../comm.o

Compiling: ../../led.c avr-gcc -c -mmcu=atmega2560 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-cha r -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa ,-adhlns=../../led.lst -std=gnu99 -MD -MP -MF .dep/led.o.d ../../led.c -o ../.. /led.o

Compiling: ../../panel.c avr-gcc -c -mmcu=atmega2560 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-cha r -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa ,-adhlns=../../panel.lst -std=gnu99 -MD -MP -MF .dep/panel.o.d ../../panel.c -o ../../panel.o ../../panel.c: In function 'panel_get_report': ../../panel.c:369:16: warning: array subscript is above array bounds [-Warray-bo unds]

Compiling: ../../queue.c avr-gcc -c -mmcu=atmega2560 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-cha r -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa ,-adhlns=../../queue.lst -std=gnu99 -MD -MP -MF .dep/queue.o.d ../../queue.c -o ../../queue.o ../../queue.c: In function 'chunk_peek': ../../queue.c:64:2: warning: return discards 'volatile' qualifier from pointer t arget type [enabled by default] ../../queue.c: In function 'chunk_prepare': ../../queue.c:83:2: warning: return discards 'volatile' qualifier from pointer t arget type [enabled by default]

Compiling: ../../clock.c avr-gcc -c -mmcu=atmega2560 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-cha r -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa ,-adhlns=../../clock.lst -std=gnu99 -MD -MP -MF .dep/clock.o.d ../../clock.c -o ../../clock.o

Linking: arduino_mega2560m2560.elf avr-gcc -mmcu=atmega2560 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-char - funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-a dhlns=../../main_led.o -std=gnu99 -MD -MP -MF .dep/arduino_mega2560m2560.elf. d ../../main_led.o ../../comm.o ../../led.o ../../panel.o ../../queue.o ../../cl ock.o --output arduino_mega2560m2560.elf -Wl,-Map=arduino_mega2560m2560.map, --cref -lm

Creating load file for Flash: arduino_mega2560m2560.hex avr-objcopy -O ihex -R .eeprom arduino_mega2560__m2560.elf arduino_mega2560m25 60.hex

Creating load file for EEPROM: arduino_mega2560m2560.eep avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" \ --change-section-lma .eeprom=0 -O ihex arduino_mega2560__m2560.elf ardui no_mega2560m2560.eep c:\Programme\Atmel\AVR Tools\AVR Toolchain\bin\avr-objcopy.exe: --change-section -lma .eeprom=0x00000000 never used

Creating Extended Listing: arduino_mega2560m2560.lss avr-objdump -h -S arduino_mega2560__m2560.elf > arduino_mega2560m2560.lss

Creating Symbol Table: arduino_mega2560m2560.sym avr-nm -n arduino_mega2560__m2560.elf > arduino_mega2560m2560.sym

Size after: arduino_mega2560__m2560.elf : section size addr .data 146 8389120 .text 5074 0 .bss 160 8389266 .stab 1896 0 .stabstr 267 0 .comment 47 0 .debug_aranges 192 0 .debug_info 9661 0 .debug_abbrev 3214 0 .debug_line 2466 0 .debug_frame 1028 0 .debug_str 3928 0 .debug_loc 4802 0 .debug_ranges 560 0 Total 33441

-------- end --------

E:\aus XP\lwcloneu2-master\firmware\arduino_mega2560\m2560>E:\aus XP\lwcloneu2-m aster\firmware\arduino_mega2560\m2560

log 16u2 compiling

E:\aus XP\lwcloneu2-master\firmware\arduino_mega2560\m16u2>make [INFO] : Begin compilation of project "arduino_mega2560__m16u2"...

avr-gcc (AVR_8_bit_GNU_Toolchain_3.4.2_939) 4.7.2 Copyright (C) 2012 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.

[GCC] : Compiling C file "main_usb.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../main_usb.d ../../main_usb.c -o ../../main_usb.o [GCC] : Compiling C file "descriptors.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../descriptors.d ../../descriptors.c -o ../../descriptors.o [GCC] : Compiling C file "comm.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../comm.d ../../comm.c -o ../../comm.o [GCC] : Compiling C file "led.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../led.d ../../led.c -o ../../led.o [GCC] : Compiling C file "panel.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../panel.d ../../panel.c -o ../../panel.o [GCC] : Compiling C file "queue.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../queue.d ../../queue.c -o ../../queue.o ../../queue.c: In function 'chunk_peek': ../../queue.c:64:2: warning: return discards 'volatile' qualifier from pointer t arget type [enabled by default] ../../queue.c: In function 'chunk_prepare': ../../queue.c:83:2: warning: return discards 'volatile' qualifier from pointer t arget type [enabled by default] [GCC] : Compiling C file "clock.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../clock.d ../../clock.c -o ../../clock.o [GCC] : Compiling C file "HIDParser.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Class/Common/HIDParser.d ../../lufa/LUFA/Dr ivers/USB/Class/Common/HIDParser.c -o ../../lufa/LUFA/Drivers/USB/Class/Common/H IDParser.o [GCC] : Compiling C file "Device_AVR8.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.d ../../lufa/LUFA/Dri vers/USB/Core/AVR8/Device_AVR8.c -o ../../lufa/LUFA/Drivers/USB/Core/AVR8/Device _AVR8.o [GCC] : Compiling C file "EndpointStream_AVR8.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.d ../../lufa/ LUFA/Drivers/USB/Core/AVR8/EndpointStream_AVR8.c -o ../../lufa/LUFA/Drivers/USB/ Core/AVR8/EndpointStream_AVR8.o [GCC] : Compiling C file "Endpoint_AVR8.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/AVR8/Endpoint_AVR8.d ../../lufa/LUFA/D rivers/USB/Core/AVR8/Endpoint_AVR8.c -o ../../lufa/LUFA/Drivers/USB/Core/AVR8/En dpoint_AVR8.o [GCC] : Compiling C file "Host_AVR8.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.d ../../lufa/LUFA/Drive rs/USB/Core/AVR8/Host_AVR8.c -o ../../lufa/LUFA/Drivers/USB/Core/AVR8/Host_AVR8. o [GCC] : Compiling C file "PipeStream_AVR8.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/AVR8/PipeStream_AVR8.d ../../lufa/LUFA /Drivers/USB/Core/AVR8/PipeStream_AVR8.c -o ../../lufa/LUFA/Drivers/USB/Core/AVR 8/PipeStream_AVR8.o [GCC] : Compiling C file "Pipe_AVR8.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8.d ../../lufa/LUFA/Drive rs/USB/Core/AVR8/Pipe_AVR8.c -o ../../lufa/LUFA/Drivers/USB/Core/AVR8/Pipe_AVR8. o [GCC] : Compiling C file "USBController_AVR8.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.d ../../lufa/L UFA/Drivers/USB/Core/AVR8/USBController_AVR8.c -o ../../lufa/LUFA/Drivers/USB/Co re/AVR8/USBController_AVR8.o [GCC] : Compiling C file "USBInterrupt_AVR8.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.d ../../lufa/LU FA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.c -o ../../lufa/LUFA/Drivers/USB/Core /AVR8/USBInterrupt_AVR8.o [GCC] : Compiling C file "ConfigDescriptors.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/ConfigDescriptors.d ../../lufa/LUFA/Dr ivers/USB/Core/ConfigDescriptors.c -o ../../lufa/LUFA/Drivers/USB/Core/ConfigDes criptors.o [GCC] : Compiling C file "DeviceStandardReq.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/DeviceStandardReq.d ../../lufa/LUFA/Dr ivers/USB/Core/DeviceStandardReq.c -o ../../lufa/LUFA/Drivers/USB/Core/DeviceSta ndardReq.o [GCC] : Compiling C file "Events.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/Events.d ../../lufa/LUFA/Drivers/USB/C ore/Events.c -o ../../lufa/LUFA/Drivers/USB/Core/Events.o [GCC] : Compiling C file "HostStandardReq.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/HostStandardReq.d ../../lufa/LUFA/Driv ers/USB/Core/HostStandardReq.c -o ../../lufa/LUFA/Drivers/USB/Core/HostStandardR eq.o [GCC] : Compiling C file "USBTask.c" avr-gcc -c -pipe -gdwarf-2 -g2 -mmcu=atmega16u2 -fshort-enums -fno-inline-small- functions -fpack-struct -Wall -fno-strict-aliasing -funsigned-char -funsigned-bi tfields -ffunction-sections -I. -I../../lufa/LUFA/.. -DARCH=ARCH_AVR8 -DBOARD=BO ARD_USER -DF_USB=16000000UL -DF_CPU=16000000UL -mrelax -x c -Os -std=gnu99 -Wstr ict-prototypes -DUSE_LUFA_CONFIG_HEADER -I./arduino_mega2560/m16u2 -I../.. -MMD -MP -MF ../../lufa/LUFA/Drivers/USB/Core/USBTask.d ../../lufa/LUFA/Drivers/USB/ Core/USBTask.c -o ../../lufa/LUFA/Drivers/USB/Core/USBTask.o [LNK] : Linking object files into "arduino_mega2560m16u2.elf" avr-gcc ../../main_usb.o ../../descriptors.o ../../comm.o ../../led.o ../../pane l.o ../../queue.o ../../clock.o ../../lufa/LUFA/Drivers/USB/Class/Common/HIDPars er.o ../../lufa/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.o ../../lufa/LUFA/Drivers /USB/Core/AVR8/EndpointStream_AVR8.o ../../lufa/LUFA/Drivers/USB/Core/AVR8/Endpo int_AVR8.o ../../lufa/LUFA/Drivers/USB/Core/AVR8/Host_AVR8.o ../../lufa/LUFA/Dri vers/USB/Core/AVR8/PipeStreamAVR8.o ../../lufa/LUFA/Drivers/USB/Core/AVR8/Pipe AVR8.o ../../lufa/LUFA/Drivers/USB/Core/AVR8/USBController_AVR8.o ../../lufa/LUF A/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.o ../../lufa/LUFA/Drivers/USB/Core/Con figDescriptors.o ../../lufa/LUFA/Drivers/USB/Core/DeviceStandardReq.o ../../lufa /LUFA/Drivers/USB/Core/Events.o ../../lufa/LUFA/Drivers/USB/Core/HostStandardReq .o ../../lufa/LUFA/Drivers/USB/Core/USBTask.o -o arduino_mega2560m16u2.elf -lm -Wl,-Map=arduino_mega2560m16u2.map,--cref -Wl,--gc-sections -Wl,--relax -mmcu =atmega16u2 [OBJCPY] : Extracting HEX file data from "arduino_mega2560m16u2.elf" avr-objcopy -O ihex -R .eeprom -R .fuse -R .lock -R .signature arduinomega2560 _m16u2.elf arduino_mega2560m16u2.hex [OBJCPY] : Extracting EEP file data from "arduino_mega2560m16u2.elf" avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom="alloc,load" --change -section-lma .eeprom=0 --no-change-warnings arduino_mega2560m16u2.elf arduino_ mega2560__m16u2.eep || exit 0 [OBJCPY] : Extracting BIN file data from "arduino_mega2560m16u2.elf" avr-objcopy -O binary -R .eeprom -R .fuse -R .lock -R .signature arduino_mega256 0m16u2.elf arduino_mega2560__m16u2.bin [OBJDMP] : Extracting LSS file data from "arduino_mega2560m16u2.elf" avr-objdump -h -d -S -z arduino_mega2560m16u2.elf > arduino_mega2560__m16u2.ls s [NM] : Extracting SYM file data from "arduino_mega2560m16u2.elf" avr-nm -n arduino_mega2560m16u2.elf > arduino_mega2560__m16u2.sym [SIZE] : Determining size of "arduino_mega2560m16u2.elf"

avr-size --mcu=atmega16u2 --format=avr arduino_mega2560__m16u2.elf

AVR Memory Usage

Device: atmega16u2

Program: 5342 bytes (32.6% Full) (.text + .data + .bootloader)

Data: 215 bytes (42.0% Full) (.data + .bss + .noinit)

EEPROM: 28 bytes (5.5% Full) (.eeprom)

[INFO] : Finished building project "arduino_mega2560__m16u2".

E:\aus XP\lwcloneu2-master\firmware\arduino_mega2560\m16u2>

rzr commented 4 years ago

Is this project still maintained ? if not may it be transfered to @abandonware org ?

Harubbie commented 1 year ago

It's been many years now but if anyone wonders it is because the DLL crashes on Keyboard mode. There is a fork made that fixes the DLL and that dll also functions for the real ledwizz and fixes some of its own issues.