My patch was only useful for Leonardo which lacks the 16u2 usb2serial which Leonardo uses code for. It would have to be something that goes "if variant is leonardo, then add also the following object files".
I'd like to focus on getting to 1.0.5 instead, since it brings some fixes for Mega2560 for deprecated stuff that avr-gcc doesnt really like. 2013/9/10 Ville Valkonen <[email protected]> > On 9 September 2013 22:17, Janne Johansson <[email protected]> wrote: > > I used the following changes to the BSDmakefile to make leonardo happy: > > prompt> diff -u ../../blink/BSDmakefile BSDmakefile > > --- ../../blink/BSDmakefile Sat Mar 16 16:48:29 2013 > > +++ BSDmakefile Thu Jan 10 19:31:35 2013 > > @@ -42,24 +42,24 @@ > > #AVRDUDE_PROGRAMMER = stk500 > > > > ## or for newer boards like the UNO > > -UPLOAD_RATE = 115200 > > -PORT = /dev/cuaU1 > > -AVRDUDE_PROGRAMMER = arduino > > +UPLOAD_RATE = 57600 > > +PORT = /dev/cuaU0 > > +AVRDUDE_PROGRAMMER = avr109 > > > > ## or this, if you have a usbtiny ISP > > #PORT = usb > > #AVRDUDE_PROGRAMMER = usbtiny > > > > -MCU = atmega328p > > +MCU = atmega32u4 > > F_CPU = 16000000 > > > > #If your sketch uses any libraries, list them here, eg. > > #LIBRARIES=EEPROM LiquidCrystal Wire > > -LIBRARIES= > > +LIBRARIES=SoftwareSerial > > > > # Arduino variant, one of: "eightanaloginputs", "leonardo", "mega", > > # "micro" or "standard". > > -VARIANT = standard > > +VARIANT = leonardo > > > > > > > ############################################################################ > > # Below here nothing should be changed... > > @@ -70,6 +70,7 @@ > > SRC = wiring.c wiring_analog.c wiring_digital.c \ > > wiring_pulse.c wiring_shift.c WInterrupts.c > > CXXSRC = HardwareSerial.cpp WMath.cpp Print.cpp WString.cpp \ > > + USBCore.cpp HID.cpp CDC.cpp \ > > ${LIBRARIES:S|$|.cpp|g} > > FORMAT = ihex > > > > @@ -85,7 +86,7 @@ > > OPT = s > > > > # Place -D or -U options here > > -CDEFS = -DF_CPU=$(F_CPU) > > +CDEFS = -DF_CPU=$(F_CPU) -DUSB_VID=0x2341 -DUSB_PID=0x00349 > > CXXDEFS = -DF_CPU=$(F_CPU) > > > > # Place -I options here > > > > > > > > 2013/8/19 Ville Valkonen <[email protected]> > >> > >> Hello all, > >> > >> TL;DR Building projects for Arduino Leonardo fails. > >> > >> I'm trying to get Arduino Leonardo to work under Openbsd and here's what > >> I've > >> done so far. > >> > >> $ arduinoproject testi > >> > >> 1. copy & paste blink demo from Arduino site into testi.ino. > >> 2. make > >> > >> Okay, that compiles. Now, time to modify BSDmakefile to be consistent > for > >> Leonardo. > >> $ less +/Leonardo `pkg_info -L arduino |grep -i boards.txt` > >> > >> New values: > >> UPLOAD_RATE = 57600 > >> MCU = atmega32u4 > >> VARIANT = leonardo > >> > >> Okay, time to compile again. > >> > >> $ make clean all > >> rm -f applet/testi.hex applet/testi.eep applet/testi.cof > applet/testi.elf > >> applet/testi.map applet/testi.sym applet/testi.lss applet/core.a > wiring.o > >> wiring_analog.o wiring_digital.o wiring_pulse.o wiring_shift.o > >> WInterrupts.o HardwareSerial.o WMath.o Print.o WString.o > >> HardwareSerial.lst WMath.lst Print.lst WString.lst wiring.lst > >> wiring_analog.lst wiring_digital.lst wiring_pulse.lst wiring_shift.lst > >> WInterrupts.lst wiring.s wiring_analog.s wiring_digital.s wiring_pulse.s > >> wiring_shift.s WInterrupts.s wiring.d wiring_analog.d wiring_digital.d > >> wiring_pulse.d wiring_shift.d WInterrupts.d HardwareSerial.s WMath.s > >> Print.s WString.s HardwareSerial.d WMath.d Print.d WString.d utility/* > >> if [ -d utility ]; then rmdir utility; fi > >> test -d applet || mkdir applet > >> echo '#include "Arduino.h"' > applet/testi.cpp > >> echo '#ifdef __cplusplus' >> applet/testi.cpp > >> echo 'extern "C" void __cxa_pure_virtual(void) { while(1); }' >> > >> applet/testi.cpp > >> echo '#endif\n' >> applet/testi.cpp > >> cat testi.ino >> applet/testi.cpp > >> cat /usr/local/share/arduino//cores/arduino/main.cpp >> applet/testi.cpp > >> mkdir -p utility > >> /usr/local/bin/avr-gcc -c -mmcu=atmega32u4 -I. -gstabs -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os -Wall > >> -Wstrict-prototypes -std=gnu99 -ffunction-sections -fdata-sections > >> /usr/local/share/arduino//cores/arduino/wiring.c -o wiring.o > >> /usr/local/share/arduino//cores/arduino/wiring.c:264:3: warning: > #warning > >> Timer 2 not finished (may not be present on this CPU) > >> /usr/local/share/arduino//cores/arduino/wiring.c:273:3: warning: > #warning > >> Timer 2 not finished (may not be present on this CPU) > >> /usr/local/bin/avr-gcc -c -mmcu=atmega32u4 -I. -gstabs -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os -Wall > >> -Wstrict-prototypes -std=gnu99 -ffunction-sections -fdata-sections > >> /usr/local/share/arduino//cores/arduino/wiring_analog.c -o > wiring_analog.o > >> /usr/local/bin/avr-gcc -c -mmcu=atmega32u4 -I. -gstabs -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os -Wall > >> -Wstrict-prototypes -std=gnu99 -ffunction-sections -fdata-sections > >> /usr/local/share/arduino//cores/arduino/wiring_digital.c -o > >> wiring_digital.o > >> /usr/local/bin/avr-gcc -c -mmcu=atmega32u4 -I. -gstabs -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os -Wall > >> -Wstrict-prototypes -std=gnu99 -ffunction-sections -fdata-sections > >> /usr/local/share/arduino//cores/arduino/wiring_pulse.c -o wiring_pulse.o > >> /usr/local/bin/avr-gcc -c -mmcu=atmega32u4 -I. -gstabs -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os -Wall > >> -Wstrict-prototypes -std=gnu99 -ffunction-sections -fdata-sections > >> /usr/local/share/arduino//cores/arduino/wiring_shift.c -o wiring_shift.o > >> /usr/local/bin/avr-gcc -c -mmcu=atmega32u4 -I. -gstabs -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os -Wall > >> -Wstrict-prototypes -std=gnu99 -ffunction-sections -fdata-sections > >> /usr/local/share/arduino//cores/arduino/WInterrupts.c -o WInterrupts.o > >> /usr/local/bin/avr-g++ -c -mmcu=atmega32u4 -I. -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os > >> /usr/local/share/arduino//cores/arduino/HardwareSerial.cpp -o > >> HardwareSerial.o > >> /usr/local/bin/avr-g++ -c -mmcu=atmega32u4 -I. -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os > >> /usr/local/share/arduino//cores/arduino/WMath.cpp -o WMath.o > >> /usr/local/bin/avr-g++ -c -mmcu=atmega32u4 -I. -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os > >> /usr/local/share/arduino//cores/arduino/Print.cpp -o Print.o > >> /usr/local/share/arduino//cores/arduino/Print.cpp: In member function > >> 'size_t Print::print(const __FlashStringHelper*)': > >> /usr/local/share/arduino//cores/arduino/Print.cpp:44: warning: > >> '__progmem__' attribute ignored > >> /usr/local/bin/avr-g++ -c -mmcu=atmega32u4 -I. -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os > >> /usr/local/share/arduino//cores/arduino/WString.cpp -o WString.o > >> /usr/local/bin/avr-ar rcs applet/core.a wiring.o > >> /usr/local/bin/avr-ar rcs applet/core.a wiring_analog.o > >> /usr/local/bin/avr-ar rcs applet/core.a wiring_digital.o > >> /usr/local/bin/avr-ar rcs applet/core.a wiring_pulse.o > >> /usr/local/bin/avr-ar rcs applet/core.a wiring_shift.o > >> /usr/local/bin/avr-ar rcs applet/core.a WInterrupts.o > >> /usr/local/bin/avr-ar rcs applet/core.a HardwareSerial.o > >> /usr/local/bin/avr-ar rcs applet/core.a WMath.o > >> /usr/local/bin/avr-ar rcs applet/core.a Print.o > >> /usr/local/bin/avr-ar rcs applet/core.a WString.o > >> /usr/local/bin/avr-g++ -mmcu=atmega32u4 -I. -DF_CPU=16000000 > >> -I/usr/local/share/arduino//cores/arduino > >> -I/usr/local/share/arduino//variants/leonardo > >> -I/usr/local/share/arduino//variants/leonardo -Os -o applet/testi.elf > >> applet/testi.cpp -L. applet/core.a -lm -Wl,--gc-sections > >> /tmp//ccwyBVFt.o: In function `main': > >> testi.cpp:(.text+0xa): undefined reference to `USBDevice' > >> testi.cpp:(.text+0xc): undefined reference to `USBDevice' > >> testi.cpp:(.text+0xe): undefined reference to `USBDevice_::attach()' > >> *** Error 1 in /home/weezel/mnt/store/ohjelmointi/arduino/testi > >> (BSDmakefile:247 'applet/testi.elf') > >> > >> Any hints what's wrong? Tried googling around but no cigar. Help would > be > >> appreciated. > >> > >> Thanks in advance and PLEASE CC ME WHEN REPLYING, I am not subscribed to > >> ports@. > >> > >> Finally, appendices: > >> > >> > >> ******************** BSDMakefile ******************** > >> # $OpenBSD: BSDmakefile,v 1.7 2013/05/14 14:31:30 edd Exp $ > >> # Arduino Makefile > >> # Arduino adaptation by mellis, eighthave, oli.keller > >> # > >> # Adapted for BSD make(1) by Seth Wright ([email protected]) > >> # Adapted for OpenBSD ports by Chris Kuethe ([email protected]) > >> # > >> # This makefile allows you to build sketches from the command line > >> # without the Arduino environment (or Java). > >> # > >> # Detailed instructions for using the makefile: > >> # > >> # 1. Copy this file into the folder with your sketch. There should be a > >> # file with the same name as the folder and with the extension .ino > >> # (e.g. foo.ino in the foo/ folder). > >> # > >> # 2. Modify the line containing "PORT" to refer to the filename > >> # representing the USB or serial connection to your Arduino board > >> # (e.g. PORT = /dev/tty.USB0). If the exact name of this file > >> # changes, you can use * as a wildcard (e.g. PORT = /dev/tty.usb*). > >> # > >> # 3. Set the line containing "MCU" to match your board's processor. > >> # Older one's are atmega8 based, newer ones like Arduino Mini, > >> Bluetooth > >> # or Diecimila have the atmega168. If you're using a LilyPad > Arduino, > >> # change F_CPU to 8000000. > >> # > >> # 4. At the command line, change to the directory containing your > >> # program's file and the makefile. > >> # > >> # 5. Type "make" and press enter to compile/verify your program. > >> # > >> # 6. Type "make upload", reset your Arduino board, and press enter to > >> # upload your program to the Arduino board. > >> # > >> # $Id: BSDmakefile,v 1.7 2013/05/14 14:31:30 edd Exp $ > >> > >> TARGET = ${.CURDIR:C/.*\///g} > >> > >> ## you might use this for newer boards like the UNO > >> UPLOAD_RATE = 57600 > >> PORT = /dev/cuaU0 > >> AVRDUDE_PROGRAMMER = arduino > >> > >> ## for an arduino mega > >> #UPLOAD_RATE = 57600 > >> #MCU = atmega1280 > >> #AVRDUDE_PROGRAMMER = arduino > >> > >> ## or this for an older arduino > >> #UPLOAD_RATE = 19200 > >> #PORT = /dev/cuaU0 > >> #AVRDUDE_PROGRAMMER = stk500 > >> > >> ## or this, if you have a usbtiny ISP > >> #PORT = usb > >> #AVRDUDE_PROGRAMMER = usbtiny > >> > >> #MCU = atmega328p > >> MCU = atmega32u4 > >> F_CPU = 16000000 > >> > >> # If your sketch uses any libraries, list them here, eg. > >> # LIBRARIES=EEPROM LiquidCrystal Wire > >> # > >> # If you want to use the Ethernet library, use: > >> # LIBRARIES=SPI Ethernet IPAddress Dhcp Dns EthernetClient > EthernetServer > >> \ > >> # EthernetUdp utility/w5100 utility/socket new > >> # > >> # To use the SD library: > >> # LIBRARIES=SD File utility/SdFile utility/SdVolume utility/Sd2Card > >> LIBRARIES= > >> > >> # Arduino variant, one of: "eightanaloginputs", "leonardo", "mega", > >> # "micro" or "standard". > >> VARIANT = leonardo > >> > >> > >> > ############################################################################ > >> # Below here nothing should be changed... > >> > >> ARDUINO = /usr/local/share/arduino/ > >> .PATH: $(ARDUINO)/cores/arduino ${LIBRARIES:S|^|$(ARDUINO)/libraries/|g} > >> AVR_TOOLS_PATH = /usr/local/bin > >> SRC = wiring.c wiring_analog.c wiring_digital.c \ > >> wiring_pulse.c wiring_shift.c WInterrupts.c > >> CXXSRC = HardwareSerial.cpp WMath.cpp Print.cpp WString.cpp \ > >> ${LIBRARIES:S|$|.cpp|g} > >> FORMAT = ihex > >> > >> > >> # Name of this Makefile (used for "make depend"). > >> MAKEFILE = BSDmakefile > >> > >> # Debugging format. > >> # Native formats for AVR-GCC's -g are stabs [default], or dwarf-2. > >> # AVR (extended) COFF requires stabs, plus an avr-objcopy run. > >> DEBUG = stabs > >> > >> OPT = s > >> > >> # Place -D or -U options here > >> CDEFS = -DF_CPU=$(F_CPU) > >> CXXDEFS = -DF_CPU=$(F_CPU) > >> > >> # Place -I options here > >> ROOTLIBINCS=${LIBRARIES:S|^|-I$(ARDUINO)/libraries/|g} > >> UTILITYLIBINCS=${ROOTLIBINCS:S|$|/utility/|g} > >> LIBINC=${ROOTLIBINCS} ${UTILITYLIBINCS} -I$(ARDUINO)/variants/$(VARIANT) > >> CINCS = -I$(ARDUINO)/cores/arduino $(LIBINC) > >> -I$(ARDUINO)/variants/$(VARIANT) > >> CXXINCS = -I$(ARDUINO)/cores/arduino $(LIBINC) > >> -I$(ARDUINO)/variants/$(VARIANT) > >> > >> # 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 > >> CDEBUG = -g$(DEBUG) > >> CWARN = -Wall -Wstrict-prototypes > >> CTUNING = -ffunction-sections -fdata-sections > >> #CTUNING = -funsigned-char -funsigned-bitfields -fpack-struct > >> -fshort-enums > >> #CEXTRA = -Wa,-adhlns=$(<:.c=.lst) > >> > >> CFLAGS = $(CDEBUG) $(CDEFS) $(CINCS) -O$(OPT) $(CWARN) \ > >> $(CSTANDARD) $(CEXTRA) $(CTUNING) > >> CXXFLAGS = $(CDEFS) $(CINCS) -O$(OPT) > >> #ASFLAGS = -Wa,-adhlns=$(<:.S=.lst),-gstabs > >> LDFLAGS = -lm -Wl,--gc-sections > >> > >> > >> # Programming support using avrdude. Settings and variables. > >> AVRDUDE_PORT = $(PORT) > >> AVRDUDE_WRITE_FLASH = -U flash:w:applet/$(TARGET).hex > >> AVRDUDE_CONF = /etc/avrdude.conf > >> AVRDUDE_FLAGS = -V -F -C $(AVRDUDE_CONF) -p $(MCU) -P $(AVRDUDE_PORT) \ > >> -c $(AVRDUDE_PROGRAMMER) -b $(UPLOAD_RATE) > >> > >> # Program settings > >> CC = $(AVR_TOOLS_PATH)/avr-gcc > >> CXX = $(AVR_TOOLS_PATH)/avr-g++ > >> OBJCOPY = $(AVR_TOOLS_PATH)/avr-objcopy > >> OBJDUMP = $(AVR_TOOLS_PATH)/avr-objdump > >> AR = $(AVR_TOOLS_PATH)/avr-ar > >> SIZE = $(AVR_TOOLS_PATH)/avr-size > >> NM = $(AVR_TOOLS_PATH)/avr-nm > >> AVRDUDE = $(AVR_TOOLS_PATH)/avrdude > >> REMOVE = rm -f > >> REMOVEDIR = rmdir > >> MKDIR = mkdir -p > >> MV = mv -f > >> > >> # Define all object files. > >> OBJ = $(SRC:.c=.o) $(CXXSRC:.cpp=.o) $(ASRC:.S=.o) > >> > >> # Define all listing files. > >> LST = $(ASRC:.S=.lst) $(CXXSRC:.cpp=.lst) $(SRC:.c=.lst) > >> > >> # Combine all necessary flags and optional flags. > >> # Add target processor to flags. > >> ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS) > >> ALL_CXXFLAGS = -mmcu=$(MCU) -I. $(CXXFLAGS) > >> ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS) > >> > >> > >> # Default target. > >> all: applet_files build sizeafter > >> > >> build: mkdirs elf hex > >> > >> mkdirs: > >> $(MKDIR) utility > >> > >> # Here is the "preprocessing". > >> # It creates a .cpp file based with the same name as the .ino file. > >> # On top of the new .cpp file comes the Arduino.h header. > >> # Then comes a stdc++ workaround, > >> see: > >> # > >> > >> > http://stackoverflow.com/questions/920500/what-is-the-purpose-of-cxa-pure-virtual > >> # At the end there is a generic main() function attached. > >> # Then the .cpp file will be compiled. Errors during compile will > >> # refer to this new, automatically generated, file. > >> # Not the original .ino file you actually edit... > >> applet_files: $(TARGET).ino > >> test -d applet || mkdir applet > >> echo '#include "Arduino.h"' > applet/$(TARGET).cpp > >> echo '#ifdef __cplusplus' >> applet/$(TARGET).cpp > >> echo 'extern "C" void __cxa_pure_virtual(void) { while(1); }' \ > >> >> applet/$(TARGET).cpp > >> echo '#endif\n' >> applet/$(TARGET).cpp > >> cat $(TARGET).ino >> applet/$(TARGET).cpp > >> cat $(ARDUINO)/cores/arduino/main.cpp >> applet/$(TARGET).cpp > >> > >> elf: applet/$(TARGET).elf > >> hex: applet/$(TARGET).hex > >> eep: applet/$(TARGET).eep > >> lss: applet/$(TARGET).lss > >> sym: applet/$(TARGET).sym > >> > >> # Program the device. > >> upload: applet/$(TARGET).hex > >> $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) > >> > >> > >> # Display size of file. > >> HEXSIZE = $(SIZE) --target=$(FORMAT) applet/$(TARGET).hex > >> ELFSIZE = $(SIZE) applet/$(TARGET).elf > >> sizebefore: > >> @if [ -f applet/$(TARGET).elf ]; then echo; echo $(MSG_SIZE_BEFORE); > >> $(HEXSIZE); echo; fi > >> > >> sizeafter: applet/$(TARGET).hex > >> @if [ -f applet/$(TARGET).elf ]; then echo; echo $(MSG_SIZE_AFTER); > >> $(HEXSIZE); echo; fi > >> > >> > >> # Convert ELF to COFF for use in debugging / simulating in AVR Studio or > >> VMLAB. > >> COFFCONVERT=$(OBJCOPY) --debugging \ > >> --change-section-address .data-0x800000 \ > >> --change-section-address .bss-0x800000 \ > >> --change-section-address .noinit-0x800000 \ > >> --change-section-address .eeprom-0x810000 > >> > >> > >> coff: applet/$(TARGET).elf > >> $(COFFCONVERT) -O coff-avr applet/$(TARGET).elf $(TARGET).cof > >> > >> > >> extcoff: $(TARGET).elf > >> $(COFFCONVERT) -O coff-ext-avr applet/$(TARGET).elf $(TARGET).cof > >> > >> > >> .SUFFIXES: .elf .hex .eep .lss .sym .cpp .o .c .s .S > >> > >> .elf.hex: > >> $(OBJCOPY) -O $(FORMAT) -R .eeprom $< $@ > >> > >> .elf.eep: > >> -$(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" \ > >> --change-section-lma .eeprom=0 -O $(FORMAT) $< $@ > >> > >> # Create extended listing file from ELF output file. > >> .elf.lss: > >> $(OBJDUMP) -h -S $< > $@ > >> > >> # Create a symbol table from ELF output file. > >> .elf.sym: > >> $(NM) -n $< > $@ > >> > >> # Link: create ELF output file from library. > >> applet/$(TARGET).elf: $(TARGET).ino applet/core.a > >> $(CXX) $(ALL_CXXFLAGS) -o $@ applet/$(TARGET).cpp -L. applet/core.a > >> $(LDFLAGS) > >> > >> applet/core.a: $(OBJ) > >> @for i in $(OBJ); do echo $(AR) rcs applet/core.a $$i; $(AR) rcs > >> applet/core.a $$i; done > >> > >> > >> # Compile: create object files from C++ source files. > >> .cpp.o: > >> $(CXX) -c $(ALL_CXXFLAGS) $< -o $@ > >> > >> # Compile: create object files from C source files. > >> .c.o: > >> $(CC) -c $(ALL_CFLAGS) $< -o $@ > >> > >> > >> # Compile: create assembler files from C source files. > >> .c.s: > >> $(CC) -S $(ALL_CFLAGS) $< -o $@ > >> > >> > >> # Assemble: create object files from assembler source files. > >> .S.o: > >> $(CC) -c $(ALL_ASFLAGS) $< -o $@ > >> > >> > >> # Automatic dependencies > >> %.d: %.c > >> $(CC) -M $(ALL_CFLAGS) $< | sed "s;$(notdir $*).o:;$*.o $*.d:;" > $@ > >> > >> %.d: %.cpp > >> $(CXX) -M $(ALL_CXXFLAGS) $< | sed "s;$(notdir $*).o:;$*.o $*.d:;" > > >> $@ > >> > >> > >> # Target: clean project. > >> clean: > >> $(REMOVE) applet/$(TARGET).hex applet/$(TARGET).eep > >> applet/$(TARGET).cof applet/$(TARGET).elf \ > >> applet/$(TARGET).map applet/$(TARGET).sym applet/$(TARGET).lss > >> applet/core.a \ > >> $(OBJ) $(LST) $(SRC:.c=.s) $(SRC:.c=.d) $(CXXSRC:.cpp=.s) > >> $(CXXSRC:.cpp=.d) utility/* > >> if [ -d utility ]; then $(REMOVEDIR) utility; fi > >> > >> .PHONY: all build elf hex eep lss sym program coff extcoff clean > >> applet_files sizebefore sizeafter > >> > >> > >> ******************** PKG_INFO ******************** > >> ImageMagick-6.7.7.7p2 image processing tools > >> aalib-1.4p5 ascii art library > >> abcde-2.5.4 command-line utility to rip and encode audio cds > >> abiword-2.8.6p7 free cross-platform WYSIWYG word processor > >> arduino-1.0.2p1v0 open-source electronics prototyping platform > >> aspell-0.60.6.1p1 spell checker designed to eventually replace Ispell > >> at-spi2-atk-2.8.1 atk-bridge for at-spi2 > >> at-spi2-core-2.8.0 service interface for assistive technologies > >> atk-2.8.0 accessibility toolkit used by gtk+ > >> aucatctl-0.1 control aucat and/or sndiod volume > >> avahi-0.6.31p10 framework for Multicast DNS Service Discovery > >> avr-binutils-2.20p0 Atmel AVR 8-bit RISC microcontrollers' GNU binutils > >> avr-gcc-4.3.4p0 Atmel AVR 8-bit RISC microcontrollers' XGCC > >> avr-libc-1.8.0 libc for Atmel AVR 8-bit RISC microcontrollers > >> avrdude-5.11 AVR microcontroller hardware in-system programmer > >> babl-0.1.10 dynamic pixel format conversion library > >> bash-4.2.45 GNU Bourne Again Shell > >> blas-1.0p6 Basic Linear Algebra Subprograms > >> bwm-ng-0.6p0 realtime bandwidth monitoring of interfaces > >> bzip2-1.0.6p0 block-sorting file compressor, unencumbered > >> cabextract-1.4 extracts files from Microsoft CAB archives > >> cairo-1.12.14p0 vector graphics library > >> cd-discid-1.3.1 retrieve CDDB ID from a disc > >> cdparanoia-3.a9.8p0 CDDA reading utility with extra data verification > >> features > >> cfitsio-3.006p0 library for handling FITS data > >> chromaprint-0.6 audio fingerprint extraction library > >> chromium-28.0.1500.45 Chromium browser > >> clementine-1.1.1p3 Qt4-based featureful music player > >> clisp-2.48p3 ANSI Common Lisp implementation > >> cloc-1.58 count lines of code > >> cmake-2.8.11.2 portable build system > >> coccinelle-1.0.0rc15p2 program matching and transformation engine > >> cscope-15.8a code browsing program > >> cups-libs-1.6.3p0 CUPS libraries and headers > >> curl-7.26.0p3 get files from FTP, Gopher, HTTP or HTTPS servers > >> cvsps-2.1p0 generate patchsets from CVS repositories > >> cyrus-sasl-2.1.26p8 RFC 2222 SASL (Simple Authentication and Security > >> Layer) > >> dbus-1.6.12p0v0 message bus system > >> dbus-glib-0.100.2v0 glib bindings for dbus message system > >> dconf-0.16.1 configuration backend system > >> desktop-file-utils-0.21p0 utilities for dot.desktop entries > >> detex-2.8p0 strip TeX/LaTeX codes from a file > >> detox-1.2.0 utility designed to clean up filenames > >> djvulibre-3.5.25.3p0 view, decode and encode DjVu files > >> dmenu-4.5p0 dynamic menu for X11 > >> droid-fonts-0.1p0 nice looking fonts as found on the android devices > >> dvi2tty-5.3.1p0 converts .dvi files to plain text > >> ectags-5.8 multilanguage implementation of ctags > >> elinks-0.11.7p6 full-featured text WWW browser > >> enca-1.14 detect character set and encoding of text files > >> enchant-1.6.0p1 generic spell checking library/wrapper > >> evince-3.8.3 viewer for multiple document formats > >> exiftran-2.08p0 command line utility to transform jpeg files > >> exiv2-0.23 manipulate image meta-data such as exif and ipct > >> feh-2.9.3 lightweight image viewer > >> ffcall-1.10p1 foreign function call libraries > >> ffmpeg-20130319 audio/video converter and streamer > >> fftw3-3.2.2p2 C routines for computing the Discrete Fourier > >> Transform > >> fftw3-common-3.2.2p0 common files for the fftw3 packages > >> fftw3-float-3.2.2p2 C routines for computing the Discrete Fourier > >> Transform > >> findlib-1.3.3p1 OCaml package manager > >> firefox-22.0 Mozilla web browser > >> flac-1.3.0p0 free lossless audio codec > >> freeglut-2.8.0 open source alternative to glut > >> freetype-1.3.1p3 free and portable TrueType font rendering engine > >> fribidi-0.19.5 library implementing the Unicode Bidirectional > >> Algorithm > >> fswebcam-20110717 fswebcam is a small and simple webcam app > >> gconf2-3.2.6p0 configuration database system for GNOME > >> gd-2.0.35p1 library for dynamic creation of images > >> gdb-7.6 GNU debugger > >> gdbm-1.10 GNU dbm > >> gdiff-3.3 GNU versions of the diff utilities > >> gdk-pixbuf-2.28.2p1 graphic library for gtk+2 > >> geeqie-1.1v0 lightweight Gtk+2 based image viewer > >> gegl-0.2.0p0 graph based image processing framework > >> geoclue-0.12.99p1 modular geoinformation service on top of D-Bus > >> get_flash_videos-1.24.20121020 download flash video files from various > >> sites > >> gettext-0.18.2p3 GNU gettext > >> ggrep-2.14 GNU versions of grep pattern matching utilities > >> ghostscript-9.06p2-a4-gtk GNU PostScript interpreter > >> ghostscript-fonts-8.11p2 35 standard PostScript fonts with Adobe name > >> aliases > >> giblib-1.2.4p5 utility library including a imlib2 wrapper > >> gimp-2.8.4p2 GNU Image Manipulation Program > >> git-1.8.3.3 GIT - Tree History Storage Tool > >> glew-1.9.0 GL Extension Wrangler library > >> glib2-2.36.3 general-purpose utility library > >> glib2-networking-2.36.2 network-related gio modules for glib2 > >> gmake-3.82p2 GNU make > >> gmp-5.0.2p2 library for arbitrary precision arithmetic > >> gnome-icon-theme-3.8.2 base icon theme for GNOME > >> gnome-icon-theme-symbolic-3.8.3 base icon theme extension for special UI > >> contexts > >> gnuplot-4.6.3 command-driven interactive function plotting program > >> gnutls-3.2.1 GNU Transport Layer Security library > >> gperf-3.0.4 perfect hash functions, to help write parsers > >> gpsd-2.95p4 service daemon that monitors one or more GPSes > >> graphite2-1.2.1 rendering for complex writing systems > >> gsettings-desktop-schemas-3.8.2 collection of shared GSettings schemas > >> gsm-1.0.13p0 u-law to gsm encoding audio converter and library > >> gstreamer-0.10.36p5 framework for streaming media > >> gstreamer-plugins-base-0.10.36p6 base elements for GStreamer > >> gstreamer-plugins-good-0.10.31p7v0 good elements for GStreamer > >> gstreamer-plugins-ugly-0.10.19p2 ugly elements for GStreamer > >> gstreamer1-1.0.8 framework for streaming media > >> gstreamer1-plugins-base-1.0.8 base elements for GStreamer > >> gtk+2-2.24.20p1 multi-platform graphical toolkit > >> gtk+3-3.8.2p3 multi-platform graphical toolkit > >> gtk-update-icon-cache-2.24.20 gtk+ icon theme caching utility > >> gtkimageview-1.6.4p5 image viewer widget for gtk > >> gvfs-1.16.3 GNOME Virtual File System > >> harfbuzz-0.9.18 text shaping library > >> harfbuzz-icu-0.9.18 ICU support for libharfbuzz > >> hicolor-icon-theme-0.12p2 fallback theme of the icon theme specification > >> i3-4.5.1p4 improved dynamic tiling window manager > >> i3status-2.7p0 generate a statusbar for use with i3/xmobar/dzen2 > >> icu4c-51.2 International Components for Unicode > >> id3lib-3.8.3p3 library for manipulating ID3v1 and ID3v2 tags > >> ijs-0.35p1 raster image transmission library > >> imlib2-1.4.2p2 image manipulation library > >> iodbc-3.52.7p1 ODBC 3.x driver manager > >> ipython-0.13.2 enhanced interactive Python shell > >> iwn-firmware-5.7 firmware binary images for iwn(4) driver > >> jasper-1.900.1p2 reference implementation of JPEG-2000 > >> jbig2dec-0.11 decoder for JBIG2 monochrome hi-res image > compression > >> format > >> jbigkit-2.0 lossless image compression library, with lightweight > >> version > >> jdk-1.7.0.21v0 Java2(TM) SE Dev Kit v1.7.0.21 > >> jpeg-9p0 IJG's JPEG compression utilities > >> kdiff3-0.9.97 compares and merges multiple files or directories > >> ladr-dec-2007p2 Library for Automated Deduction Research > >> lame-3.99.5 lame ain't an MP3 encoder > >> lapack-3.1.1p4 library of Fortran 77 linear algebra subroutines > >> latex-mk-1.9.1p1 set of Makefile fragments to manage LaTeX documents > >> lcms-1.18a color management library > >> lcms2-2.4p0 color management library > >> lensfun-0.2.7 library to adjust for photographic lens > >> characteristics > >> liba52-0.7.5p0 free library for decoding ATSC A/52 streams, aka > AC-3 > >> libao-1.1.0 portable audio output library > >> libarchive-3.0.4p0 multi-format archive and compression library > >> libass-0.10.1 portable ASS/SSA subtitle renderer > >> libbind-6.0p0v0 BIND stub resolver library > >> libbluray-0.2.3 library supporting Blu-ray playback > >> libcddb-1.3.2 library to access data on a CDDB server > >> libcdio-0.80p5 compact disk input and control library > >> libconfuse-2.7p0 configuration file parser library > >> libcroco-0.6.8p0 generic CSS parsing library for GNOME project > >> libdaemon-0.14 lightweight C library that eases the writing of > >> daemons > >> libdv-1.0.0p0 Quasar DV codec > >> libdvbpsi-0.2.2 library for decoding/generating MPEG TS/DVB PSI > tables > >> libdvdcss-1.2.13 descramble scrambled DVDs > >> libdvdnav-4.2.0p2v0 DVD navigation library > >> libdvdread-4.2.0p2 accessing DVD files > >> libebml-1.2.2 Extensible Binary Meta Language library > >> libelf-0.8.13p1 read, modify, create ELF files on any arch > >> libev-4.15 high-performance event loop library > >> libexecinfo-0.2p3v0 clone of backtrace facility found in the GNU libc > >> libexif-0.6.21 extract digital camera info tags from JPEG images > >> libf2c-3.3.6p2 GNU fortran 77 libraries > >> libffi-3.0.9p5 Foreign Function Interface > >> libgcrypt-1.5.2 crypto library based on code used in GnuPG > >> libghttp-1.0.9p2 GNOME http client library > >> libglade2-2.6.4p8v0 library for loading GLADE interface files at runtime > >> libgnome-keyring-3.8.0 library for gnome keyring integration > >> libgpg-error-1.11 error codes for GnuPG related software > >> libgsf-1.14.27 GNOME Structured File library > >> libiconv-1.14p0 character set conversion library > >> libid3tag-0.15.1bp3 library for reading ID3 tags > >> libidn-1.27 internationalized string handling > >> liblastfm-1.0.6 Qt-based C++ library for the Last.fm webservices > >> libltdl-2.4.2 GNU libtool system independent dlopen wrapper > >> libmad-0.15.1bp3 high-quality MPEG audio decoder > >> libmatroska-1.3.0 extensible open standard audio/video container > library > >> libmng-1.0.10p2 Multiple-image Network Graphics (MNG) reference > >> library > >> libmspack-0.3alphap0v0 library for handling microsoft compression > formats > >> libmtp-1.1.6p0 Media Transfer Protocol (MTP) implementation > >> libnettle-2.7.1 cryptographic library > >> libnotify-0.7.5p2 send desktop notifications to a notification daemon > >> libogg-1.3.1 Ogg bitstream library > >> libplist-1.10 library to handle Apple Property List format > >> libproxy-0.4.11p1 library handling all the details of proxy > >> configuration > >> librsvg-2.36.4p3 SAX-based render library for SVG files > >> libsamplerate-0.1.7p1 audio sample rate conversion library > >> libsecret-0.14p0 library for storing and retrieving passwords and > >> secrets > >> libshout-2.2.2p2 library for communicating with an icecast server > >> libsigsegv-2.10 library for handling page faults in user mode > >> libslang-2.2.4 stack-based interpreter for terminal applications > >> libsndfile-1.0.25p0 library to handle various audio file formats > >> libsoup-2.42.2 SOAP implementation in C > >> libsoup-gnome-2.42.2 GNOME specific libsoup parts > >> libspectre-0.2.7p3 library for rendering Postscript documents > >> libstdc++-4.6.4 GNU compiler collection: C++ compiler library > >> libtar-1.2.11p1 C library for manipulating tar files > >> libtasn1-3.3 Abstract Syntax Notation One structure parser > library > >> libtheora-1.1.1p2 open video codec > >> libungif-4.1.4p1 tools and library routines for working with GIF > images > >> libusb-compat-0.1.5 libusb-0.1 compatibility layer for libusb1 > >> libusb1-1.0.9p8 library for USB device access from userspace > >> libvorbis-1.3.3p0 audio compression codec library > >> libvpx-1.1.0p0 Google VP8 video codec > >> libwebp-0.3.0 Google WebP image format conversion tool > >> libwmf-0.2.8.4p0 WMF handling and conversion library > >> libxml-2.9.0p0 XML parsing library > >> libxslt-1.1.28p0 XSLT C Library for GNOME > >> libyajl-2.0.4 small JSON library written in ANSI C > >> libyaml-0.1.4 YAML 1.1 parser and emitter written in C > >> llvm-3.3 modular, fast C/C++/ObjC compiler, static analyzer > and > >> tools > >> lzo2-2.06p0 portable speedy lossless data compression library > >> mpfr-3.1.0.3 library for multiple-precision floating-point > >> computations > >> mpg123-1.15.4 fast console MPEG audio player and decoder library > >> mplayer-20130214p4 movie player supporting many formats > >> msttcorefonts-2.0p0 Microsoft TrueType core fonts > >> mtr-0.82p1 Matt's traceroute - network diagnostic tool > >> mupdf-1.2p2 graphic library, pdf parser, viewer and utilities > >> mutt-1.5.21p4v0-sasl-sidebar-slang-compressed tty-based e-mail client, > >> development version > >> netpbm-10.35.88p0 toolkit for converting images between different > >> formats > >> ngrep-1.45p4 network grep > >> nload-0.7.4 network traffic and bandwidth usage in real time > >> nspr-4.10 Netscape Portable Runtime > >> nss-3.15.1 libraries to support development of security-enabled > >> apps > >> ocaml-4.00.1 ML language based on complete class-based objective > >> system > >> ocaml-pcre-7.0.2p0 OCaml Perl-compatible regexp library > >> oniguruma-5.9.2 regular expressions library > >> openjpeg-1.5.0p6 open-source JPEG 2000 codec library > >> openmotif-2.3.4p0 Motif toolkit > >> opus-1.0.3 IETF audio codec > >> orc-0.4.16p2 library and toolset to operate arrays of data > >> p11-kit-0.18.3p0 library for loading and enumurating of PKCS#11 > modules > >> p5-AMF-Connection-0.30 AMF client to connect to remote FLEX AIR service > >> p5-Any-Moose-0.18 use Moose or Mouse modules > >> p5-Class-Singleton-1.4p0 perl singleton pattern > >> p5-Clone-0.34 recursively copy Perl datatypes > >> p5-Crypt-Blowfish_PP-1.12p0 Blowfish encryption implemented pure Perl > >> p5-Crypt-Rijndael-1.09p0 interface to the rijndael encryption algorithm > >> aka > >> AES > >> p5-Curses-1.28p2 terminal screen handling and optimisation > >> p5-Curses-UI-0.9609 curses based user interface framework for Perl > >> p5-DBD-SQLite-1.35p2v0 SQLite drivers for the Perl DBI > >> p5-DBI-1.622 unified perl interface for database access > >> p5-Data-AMF-0.09 serialize/deserialize Adobe Action Message Format > data > >> p5-DateTime-0.63p1v0 perl objected oriented Date Time > >> p5-DateTime-Locale-0.45p0 localization data for perl DateTime.pm > >> p5-DateTime-TimeZone-1.19p0 DateTime submodule for TZ > >> p5-Error-0.17019 error/exception handling in an OO-ish way > >> p5-FreezeThaw-0.5001 module for converting structures to strings and > back > >> p5-HTML-Parser-3.69 modules to parse and extract information from HTML > >> p5-HTML-Tagset-3.20p0 data tables useful for parsing HTML > >> p5-HTTP-GHTTP-1.07p4 perl interface to the GNOME GHTTP library > >> p5-HTTP-Server-Simple-0.44 simple standalone HTTP server > >> p5-IO-Socket-SSL-1.952 perl interface to SSL sockets > >> p5-IO-Socket-Socks-0.61 create SOCKS v4/v5 client or server > >> p5-LWP-Protocol-socks-1.5 adds support for SOCKS to p5-libwww > >> p5-List-MoreUtils-0.33p0 perl5 extra list utilities > >> p5-MLDBM-2.05 store multi-level hash structure in single-level > tied > >> hash > >> p5-Mouse-0.97p0 Moose minus the antlers > >> p5-Net-Daemon-0.48 extension for portable daemons > >> p5-Net-SSLeay-1.55 perl module for using OpenSSL > >> p5-Params-Util-1.07 utility to make parameter checking easier > >> p5-Params-Validate-0.95p3 perl module to validate function/method > >> parameters > >> p5-PlRPC-0.2018p1 module for writing rpc servers and clients > >> p5-SQL-Statement-1.33 sql parsing and processing > >> p5-Storable-AMF-1.00p0 deserializer for Adobe Action Message Format > >> p5-Term-ReadKey-2.30p5 change terminal modes, and perform non-blocking > >> reads > >> p5-Test-LongString-0.15 tests strings for equality > >> p5-Tie-IxHash-1.23 ordered associative arrays for Perl > >> p5-URI-1.60 library to parse Uniform Resource Identifiers > >> p5-Universal-require-0.13p0 extends require to work on variables > >> p5-WWW-Mechanize-1.71 handy web browsing in a Perl object > >> p5-XML-LibXML-1.69p2v0 perl interface to the libxml2 library > >> p5-XML-LibXML-Common-0.13p6 perl interface for several perl XML modules > >> p5-XML-NamespaceSupport-1.11p0 perl module to the SAX2 NamespaceSupport > >> class > >> p5-XML-Parser-2.41p0 perl module for parsing XML documents > >> p5-XML-SAX-0.96p1 perl interface to the SAX2 XML parser > >> p5-XML-Simple-2.18p0 trivial perl API for reading/writing XML > >> p5-libwww-5.837 library for WWW access in Perl > >> p9m4-05p2 prover9/mace4 GUI > >> pango-1.34.1p1 library for layout and rendering of text > >> pcre-8.33 perl-compatible regular expression library > >> pcsc-lite-1.8.8p0 resource manager for PC/SC > >> pkg_mgr-0.2.1p1 user-friendly package browser and manager > >> pktstat-1.8.4p3 network traffic viewer > >> png-1.6.2p0 library for manipulating PNG images > >> poppler-0.22.5 PDF rendering library > >> popt-1.16 getopt(3)-like library with a number of enhancements > >> protobuf-2.4.1 c++ protocol buffers > >> ps2eps-1.68 convert Postscript to Encapsulated Postscript > >> psutils-1.17p4-a4 utilities for manipulating PostScript documents > >> py-Imaging-1.1.7p9 Python imaging library > >> py-altgraph-0.10.1 Python graph (network) package > >> py-cairo-1.10.0p1 cairo bindings for Python > >> py-crypto-2.6p1 cryptographic tools for Python > >> py-dateutil-1.5p0 Python API for advanced date calculations > >> py-feedparser-5.0.1p2 RSS and Atom feeds parser written in Python > >> py-gobject-2.28.6p5v0 Python bindings for glib2 gobject (deprecated) > >> py-gtk2-2.24.0p1 GTK+2 Python bindings > >> py-lxml-2.3.2 Python binding for the libxml2 and libxslt libraries > >> py-matplotlib-1.2.1 Python charting and plotting API > >> py-modulegraph-0.8p1 Python module dependency analysis tool > >> py-nltk-2.0.4v0 Natural Language ToolKit > >> py-numpy-1.6.0p3 fast array and numeric programming library for > Python > >> py-paramiko-1.10.1 Python module that implements the SSH2 protocol > >> py-pexpect-2.3 pure Python Expect-like module > >> py-pygments-1.6 Python syntax highlighter > >> py-setuptools-0.6.11p5v0 simplified packaging system for Python modules > >> py-tornado-2.4.1 scalable, non-blocking web server > >> py-tz-2013b Python API for dealing with timezones > >> py-wxPython-2.8.12.0p1 Python bindings for wxWidgets C++ class library > >> py-yaml-3.10 YAML parser and emitter in Python > >> py-zmq-13.0.0 Python bindings for ZeroMQ > >> python-2.7.5 interpreted object-oriented programming language > >> python-tkinter-2.7.5 tk GUI module for Python > >> qca2-2.0.3p2 Qt Cryptographic Architecture > >> qdbm-1.8.78 high performance embedded database library > >> qjson-0.8.1 Qt-based library that maps JSON data to QVariant > >> objects > >> qt4-4.8.2p7 C++ X11 GUI toolkit > >> quirks-1.87 exceptions to pkg_add rules > >> recode-3.6p7 convert files between character sets and usages > >> rsync-3.0.9p3-iconv mirroring/synchronization over low bandwidth links > >> rtmpdump-2.4pl5 dump RTMP media streams > >> ruby-1.8.7.374 object oriented script language with threads > >> schroedinger-1.0.11p0 high-speed Dirac codec > >> screen-4.0.3p3-shm multi-screen window manager > >> scrot-0.8p3 commandline screen capture util > >> sdl-1.2.15p3 cross-platform multimedia library > >> sdl-image-1.2.12 SDL image library > >> shared-mime-info-1.1 shared mime database for desktops > >> smartmontools-6.1 control and monitor storage systems using SMART > >> snes9x-1.52p6 emulates the Super Nintendo Entertainment System > >> speex-1.2rc1p0 patent-free speech codec > >> sqlports-compact-2.8 sqlite database of ports, program version > >> startup-notification-0.12p0 library for tracking application startup > >> t1lib-5.1.2 Type 1 rasterizer library for UNIX/X11 > >> t1utils-1.37 utilities for PostScript Type 1 fonts > >> taglib-1.8p5 managing meta-data of audio formats > >> tcl-8.5.14p1 Tool Command Language > >> texlive_base-2012p0 base binaries for TeXLive typesetting distribution > >> texlive_texmf-full-2012 texlive texmf for extra macros > >> texlive_texmf-minimal-2012p0 texlive texmf for basic functionality > >> tiff-4.0.3p2 tools and library routines for working with TIFF > >> images > >> tk-8.5.14p0 graphical toolkit for Tcl > >> transfig-3.2.5ap0 tools to convert Xfig's .fig files > >> tremor-20120410p0 integer-only, fully Ogg Vorbis compliant decoder > >> library > >> twolame-0.3.13p0 optimised MPEG Audio Layer 2 (MP2) encoder > >> ufraw-0.19.2p0 read and manipulate raw images from digital cameras > >> unrar-4.20v1 extract, list, and test RAR archives > >> unzip-6.0p2 extract, list & test files in a ZIP archive > >> uvideo-firmware-1.2p0 firmware binary images for uvideo(4) driver > >> vim-7.3.850-gtk2-perl-python-ruby vi clone, many additional features > >> vlc-2.0.7p0 VideoLAN client; multimedia player > >> vorbis-tools-1.4.0p0 play, encode, and manage Ogg Vorbis files > >> wavpack-4.60.1p0 audio codec for lossless, lossy and hybrid > compression > >> webkit-gtk3-2.0.3v0 open source web browser engine for Gtk+ > >> wget-1.14p0 retrieve files from the web via HTTP, HTTPS and FTP > >> wpa_supplicant-2.0p3 IEEE 802.1X supplicant > >> wv-1.2.4p3 convert various Microsoft formats into HTML/PNG > >> wxWidgets-gtk2-2.8.12p8 C++ cross-platform GUI toolkit > >> x264-20130302 free H.264/MPEG-4 AVC encoder > >> xdg-utils-1.1.0rc1p3 utilities to assist desktop integration tasks > >> xosd-2.2.14 displays text on your screen > >> xpdf-3.03p0 PDF viewer for X11 > >> xvidcore-1.3.2p2 ISO MPEG-4 compliant video codec > >> xz-5.0.5 LZMA compression and decompression tools > >> yelp-3.8.1p0 GNOME help browser > >> yelp-xsl-3.8.1 XSLT stylesheets for yelp > >> youtube-dl-2013.07.12 command-line program to download videos from > >> YouTube.com > >> zeromq-3.2.3 open source message queue optimised for performance > >> > >> > >> ******************** DMESG ******************** > >> OpenBSD 5.4-current (BFS_Terminus) #0: Mon Aug 5 23:26:54 EEST 2013 > >> weezel@weezel:/usr/src/sys/arch/amd64/compile/BFS_Terminus > >> real mem = 3959615488 (3776MB) > >> avail mem = 3846496256 (3668MB) > >> mainbus0 at root > >> bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdae9d000 (69 entries) > >> bios0: vendor LENOVO version "G2ET82WW (2.02 )" date 09/11/2012 > >> bios0: LENOVO 2324BY9 > >> acpi0 at bios0: rev 2 > >> acpi0: sleep states S0 S3 S4 S5 > >> acpi0: tables DSDT FACP TCPA SSDT SSDT SSDT HPET APIC MCFG ECDT FPDT > ASF! > >> UEFI UEFI POAT SSDT SSDT UEFI DBG2 > >> acpi0: wakeup devices LID_(S4) SLPB(S3) IGBE(S4) EXP3(S4) XHCI(S3) > >> EHC1(S3) > >> EHC2(S3) HDEF(S4) > >> acpitimer0 at acpi0: 3579545 Hz, 24 bits > >> acpihpet0 at acpi0: 14318179 Hz > >> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > >> cpu0 at mainbus0: apid 0 (boot processor) > >> cpu0: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz, 2394.98 MHz > >> cpu0: > >> > >> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS > >> cpu0: 256KB 64b/line 8-way L2 cache > >> cpu0: smt 0, core 0, package 0 > >> cpu0: apic clock running at 99MHz > >> cpu1 at mainbus0: apid 1 (application processor) > >> cpu1: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz, 2394.56 MHz > >> cpu1: > >> > >> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS > >> cpu1: 256KB 64b/line 8-way L2 cache > >> cpu1: smt 1, core 0, package 0 > >> cpu2 at mainbus0: apid 2 (application processor) > >> cpu2: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz, 2394.56 MHz > >> cpu2: > >> > >> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS > >> cpu2: 256KB 64b/line 8-way L2 cache > >> cpu2: smt 0, core 1, package 0 > >> cpu3 at mainbus0: apid 3 (application processor) > >> cpu3: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz, 2394.56 MHz > >> cpu3: > >> > >> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,XSAVE,AVX,F16C,NXE,LONG,LAHF,PERF,ITSC,FSGSBASE,SMEP,ERMS > >> cpu3: 256KB 64b/line 8-way L2 cache > >> cpu3: smt 1, core 1, package 0 > >> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins > >> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 > >> acpiec0 at acpi0 > >> acpiprt0 at acpi0: bus 0 (PCI0) > >> acpiprt1 at acpi0: bus -1 (PEG_) > >> acpiprt2 at acpi0: bus 2 (EXP1) > >> acpiprt3 at acpi0: bus 3 (EXP2) > >> acpiprt4 at acpi0: bus -1 (EXP3) > >> acpicpu0 at acpi0: C2, C1, PSS > >> acpicpu1 at acpi0: C2, C1, PSS > >> acpicpu2 at acpi0: C2, C1, PSS > >> acpicpu3 at acpi0: C2, C1, PSS > >> acpipwrres0 at acpi0: PUBS > >> acpitz0 at acpi0: critical temperature is 103 degC > >> acpibtn0 at acpi0: LID_ > >> acpibtn1 at acpi0: SLPB > >> acpibat0 at acpi0: BAT0 model "45N1025" serial 10457 type LION oem "LGC" > >> acpibat1 at acpi0: BAT1 not present > >> acpiac0 at acpi0: AC unit online > >> acpithinkpad0 at acpi0 > >> acpidock0 at acpi0: GDCK not docked (0) > >> cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2400, 2300, 2200, 2100, 2000, > >> 1900, 1800, 1700, 1600, 1500, 1400, 1300, 1200 MHz > >> pci0 at mainbus0 bus 0 > >> pchb0 at pci0 dev 0 function 0 "Intel Core 3G Host" rev 0x09 > >> vga1 at pci0 dev 2 function 0 "Intel HD Graphics 4000" rev 0x09 > >> intagp0 at vga1 > >> agp0 at intagp0: aperture at 0xe0000000, size 0x10000000 > >> inteldrm0 at vga1 > >> drm0 at inteldrm0 > >> inteldrm0: 1366x768 > >> wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) > >> wsdisplay0: screen 1-5 added (std, vt100 emulation) > >> "Intel 7 Series MEI" rev 0x04 at pci0 dev 22 function 0 not configured > >> em0 at pci0 dev 25 function 0 "Intel 82579LM" rev 0x04: msi, address > >> 3c:97:0e:52:44:f6 > >> ehci0 at pci0 dev 26 function 0 "Intel 7 Series USB" rev 0x04: apic 2 > int > >> 16 > >> usb0 at ehci0: USB revision 2.0 > >> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > >> azalia0 at pci0 dev 27 function 0 "Intel 7 Series HD Audio" rev 0x04: > msi > >> azalia0: codecs: Realtek ALC269, Intel/0x2806, using Realtek ALC269 > >> audio0 at azalia0 > >> ppb0 at pci0 dev 28 function 0 "Intel 7 Series PCIE" rev 0xc4: msi > >> pci1 at ppb0 bus 2 > >> sdhc0 at pci1 dev 0 function 0 "Ricoh 5U823 SD/MMC" rev 0x04: apic 2 int > >> 16 > >> sdmmc0 at sdhc0 > >> ppb1 at pci0 dev 28 function 1 "Intel 7 Series PCIE" rev 0xc4: msi > >> pci2 at ppb1 bus 3 > >> iwn0 at pci2 dev 0 function 0 "Intel Centrino Advanced-N 6205" rev 0x34: > >> msi, MIMO 2T2R, MoW, address 60:67:20:de:c3:7c > >> ehci1 at pci0 dev 29 function 0 "Intel 7 Series USB" rev 0x04: apic 2 > int > >> 23 > >> usb1 at ehci1: USB revision 2.0 > >> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > >> pcib0 at pci0 dev 31 function 0 "Intel QM77 LPC" rev 0x04 > >> ahci0 at pci0 dev 31 function 2 "Intel 7 Series AHCI" rev 0x04: msi, > AHCI > >> 1.3 > >> scsibus0 at ahci0: 32 targets > >> sd0 at scsibus0 targ 0 lun 0: <ATA, HITACHI HTS72505, GH2Z> SCSI3 > 0/direct > >> fixed naa.5000cca662d7423b > >> sd0: 476940MB, 512 bytes/sector, 976773168 sectors > >> ichiic0 at pci0 dev 31 function 3 "Intel 7 Series SMBus" rev 0x04: apic > 2 > >> int 18 > >> iic0 at ichiic0 > >> spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 SO-DIMM > >> isa0 at pcib0 > >> isadma0 at isa0 > >> pckbc0 at isa0 port 0x60/5 > >> pckbd0 at pckbc0 (kbd slot) > >> pckbc0: using irq 1 for kbd slot > >> wskbd0 at pckbd0: console keyboard, using wsdisplay0 > >> pms0 at pckbc0 (aux slot) > >> pckbc0: using irq 12 for aux slot > >> wsmouse0 at pms0 mux 0 > >> wsmouse1 at pms0 mux 0 > >> pms0: Synaptics clickpad, firmware 8.1 > >> pcppi0 at isa0 port 0x61 > >> spkr0 at pcppi0 > >> mtrr: Pentium Pro MTRR support > >> scsibus1 at sdmmc0: 2 targets, initiator 0 > >> sd1 at scsibus1 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed > >> sd1: 1914MB, 512 bytes/sector, 3920896 sectors > >> uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 > >> uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 > >> uhub4 at uhub3 port 1 "Standard Microsystems product 0x2514" rev > 2.00/b.b3 > >> addr 3 > >> uhidev0 at uhub4 port 1 configuration 1 interface 0 "Logitech USB > >> Receiver" > >> rev 2.00/12.01 addr 4 > >> uhidev0: iclass 3/1 > >> ukbd0 at uhidev0: 8 variable keys, 6 key codes > >> wskbd1 at ukbd0 mux 1 > >> wskbd1: connecting to wsdisplay0 > >> uhidev1 at uhub4 port 1 configuration 1 interface 1 "Logitech USB > >> Receiver" > >> rev 2.00/12.01 addr 4 > >> uhidev1: iclass 3/1, 8 report ids > >> ums0 at uhidev1 reportid 2: 16 buttons, Z dir > >> wsmouse2 at ums0 mux 0 > >> uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 > >> uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0 > >> uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0 > >> uhidev2 at uhub4 port 1 configuration 1 interface 2 "Logitech USB > >> Receiver" > >> rev 2.00/12.01 addr 4 > >> uhidev2: iclass 3/0, 33 report ids > >> uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0 > >> uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0 > >> uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0 > >> uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0 > >> uhidev3 at uhub4 port 2 configuration 1 interface 0 "Logitech USB > >> Receiver" > >> rev 2.00/12.01 addr 5 > >> uhidev3: iclass 3/1 > >> ukbd1 at uhidev3: 8 variable keys, 6 key codes > >> wskbd2 at ukbd1 mux 1 > >> wskbd2: connecting to wsdisplay0 > >> uhidev4 at uhub4 port 2 configuration 1 interface 1 "Logitech USB > >> Receiver" > >> rev 2.00/12.01 addr 5 > >> uhidev4: iclass 3/1, 8 report ids > >> ums1 at uhidev4 reportid 2: 16 buttons, Z dir > >> wsmouse3 at ums1 mux 0 > >> uhid7 at uhidev4 reportid 3: input=4, output=0, feature=0 > >> uhid8 at uhidev4 reportid 4: input=1, output=0, feature=0 > >> uhid9 at uhidev4 reportid 8: input=1, output=0, feature=0 > >> uhidev5 at uhub4 port 2 configuration 1 interface 2 "Logitech USB > >> Receiver" > >> rev 2.00/12.01 addr 5 > >> uhidev5: iclass 3/0, 33 report ids > >> uhid10 at uhidev5 reportid 16: input=6, output=6, feature=0 > >> uhid11 at uhidev5 reportid 17: input=19, output=19, feature=0 > >> uhid12 at uhidev5 reportid 32: input=14, output=14, feature=0 > >> uhid13 at uhidev5 reportid 33: input=31, output=31, feature=0 > >> vscsi0 at root > >> scsibus2 at vscsi0: 256 targets > >> softraid0 at root > >> scsibus3 at softraid0: 256 targets > >> root on sd0a (3a3270e7f61954af.a) swap on sd0b dump on sd0b > > Thank you very much Janne, that made it! > > ... > /usr/local/bin/avr-objcopy -O ihex -R .eeprom applet/blink.elf > applet/blink.hex > > > text data bss dec hex filename > 0 17358 0 17358 43ce applet/blink.hex > > Would it be worth to include the patch in arduino package? > > -- > Ville > -- May the most significant bit of your life be positive.
