Skip to content

Commit a50431e

Browse files
committed
Merge branch 'new-extension' into HEAD
Conflicts: .classpath .settings/org.eclipse.jdt.core.prefs .settings/org.eclipse.jdt.ui.prefs app/src/processing/app/Base.java app/src/processing/app/Editor.java app/src/processing/app/Sketch.java app/src/processing/app/debug/Compiler.java build/build.xml build/shared/lib/preferences.txt hardware/arduino/avr/boards.txt hardware/arduino/avr/bootloaders/atmega/ATmegaBOOT_168.c hardware/arduino/avr/bootloaders/atmega/ATmegaBOOT_168_atmega1280.hex hardware/arduino/avr/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex hardware/arduino/avr/bootloaders/atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex hardware/arduino/avr/bootloaders/atmega/ATmegaBOOT_168_diecimila.hex hardware/arduino/avr/bootloaders/atmega/ATmegaBOOT_168_ng.hex hardware/arduino/avr/bootloaders/atmega/ATmegaBOOT_168_pro_8MHz.hex hardware/arduino/avr/bootloaders/atmega/Makefile hardware/arduino/avr/bootloaders/atmega8/ATmegaBOOT.c hardware/arduino/avr/bootloaders/atmega8/ATmegaBOOT.hex hardware/arduino/avr/bootloaders/atmega8/Makefile hardware/arduino/avr/bootloaders/bt/ATmegaBOOT_168.c hardware/arduino/avr/bootloaders/bt/ATmegaBOOT_168.hex hardware/arduino/avr/bootloaders/bt/ATmegaBOOT_168_atmega328_bt.hex hardware/arduino/avr/bootloaders/bt/Makefile hardware/arduino/avr/bootloaders/lilypad/LilyPadBOOT_168.hex hardware/arduino/avr/bootloaders/lilypad/src/ATmegaBOOT.c hardware/arduino/avr/bootloaders/lilypad/src/Makefile hardware/arduino/avr/bootloaders/optiboot/optiboot.c hardware/arduino/avr/bootloaders/optiboot/optiboot_atmega328-Mini.hex hardware/arduino/avr/bootloaders/stk500v2/License.txt hardware/arduino/avr/bootloaders/stk500v2/Makefile hardware/arduino/avr/bootloaders/stk500v2/STK500V2.pnproj hardware/arduino/avr/bootloaders/stk500v2/STK500V2.pnps hardware/arduino/avr/bootloaders/stk500v2/avrinterruptnames.h hardware/arduino/avr/bootloaders/stk500v2/command.h hardware/arduino/avr/bootloaders/stk500v2/stk500boot.c hardware/arduino/avr/bootloaders/stk500v2/stk500boot.ppg hardware/arduino/avr/bootloaders/stk500v2/stk500boot_v2_mega2560.hex hardware/arduino/avr/cores/arduino/Arduino.h hardware/arduino/avr/cores/arduino/HardwareSerial.cpp hardware/arduino/avr/cores/arduino/HardwareSerial.h hardware/arduino/avr/cores/arduino/IPAddress.cpp hardware/arduino/avr/cores/arduino/IPAddress.h hardware/arduino/avr/cores/arduino/Printable.h hardware/arduino/avr/cores/arduino/Tone.cpp hardware/arduino/avr/cores/arduino/WCharacter.h hardware/arduino/avr/cores/arduino/WInterrupts.c hardware/arduino/avr/cores/arduino/WMath.cpp hardware/arduino/avr/cores/arduino/WString.cpp hardware/arduino/avr/cores/arduino/WString.h hardware/arduino/avr/cores/arduino/binary.h hardware/arduino/avr/cores/arduino/wiring.c hardware/arduino/avr/cores/arduino/wiring_analog.c hardware/arduino/avr/cores/arduino/wiring_digital.c hardware/arduino/avr/cores/arduino/wiring_private.h hardware/arduino/avr/cores/arduino/wiring_pulse.c hardware/arduino/avr/cores/arduino/wiring_shift.c hardware/arduino/avr/firmwares/MEGA-dfu_and_usbserial_combined.hex hardware/arduino/avr/firmwares/README.txt hardware/arduino/avr/firmwares/UNO-dfu_and_usbserial_combined.hex hardware/arduino/avr/firmwares/arduino-usbdfu/Arduino-usbdfu.c hardware/arduino/avr/firmwares/arduino-usbdfu/Arduino-usbdfu.h hardware/arduino/avr/firmwares/arduino-usbdfu/Board/LEDs.h hardware/arduino/avr/firmwares/arduino-usbdfu/Descriptors.c hardware/arduino/avr/firmwares/arduino-usbdfu/Descriptors.h hardware/arduino/avr/firmwares/arduino-usbdfu/makefile hardware/arduino/avr/firmwares/arduino-usbdfu/readme.txt hardware/arduino/avr/firmwares/arduino-usbserial/Arduino-usbserial-mega.hex hardware/arduino/avr/firmwares/arduino-usbserial/Arduino-usbserial-uno.hex hardware/arduino/avr/firmwares/arduino-usbserial/Arduino-usbserial.c hardware/arduino/avr/firmwares/arduino-usbserial/Arduino-usbserial.h hardware/arduino/avr/firmwares/arduino-usbserial/Board/LEDs.h hardware/arduino/avr/firmwares/arduino-usbserial/Descriptors.c hardware/arduino/avr/firmwares/arduino-usbserial/Descriptors.h hardware/arduino/avr/firmwares/arduino-usbserial/Lib/LightweightRingBuff.h hardware/arduino/avr/firmwares/arduino-usbserial/makefile hardware/arduino/avr/firmwares/arduino-usbserial/readme.txt hardware/arduino/avr/libraries/EEPROM/EEPROM.cpp hardware/arduino/avr/libraries/EEPROM/examples/eeprom_clear/eeprom_clear.ino hardware/arduino/avr/libraries/EEPROM/examples/eeprom_read/eeprom_read.ino hardware/arduino/avr/libraries/EEPROM/examples/eeprom_write/eeprom_write.ino hardware/arduino/avr/libraries/EEPROM/keywords.txt hardware/arduino/avr/libraries/Ethernet/Dhcp.cpp hardware/arduino/avr/libraries/Ethernet/Dhcp.h hardware/arduino/avr/libraries/Ethernet/Dns.cpp hardware/arduino/avr/libraries/Ethernet/Dns.h hardware/arduino/avr/libraries/Ethernet/Ethernet.cpp hardware/arduino/avr/libraries/Ethernet/Ethernet.h hardware/arduino/avr/libraries/Ethernet/EthernetClient.cpp hardware/arduino/avr/libraries/Ethernet/EthernetServer.cpp hardware/arduino/avr/libraries/Ethernet/EthernetUdp.cpp hardware/arduino/avr/libraries/Ethernet/EthernetUdp.h hardware/arduino/avr/libraries/Ethernet/examples/BarometricPressureWebServer/BarometricPressureWebServer.ino hardware/arduino/avr/libraries/Ethernet/examples/ChatServer/ChatServer.ino hardware/arduino/avr/libraries/Ethernet/examples/DhcpAddressPrinter/DhcpAddressPrinter.ino hardware/arduino/avr/libraries/Ethernet/examples/DnsWebClient/DnsWebClient.ino hardware/arduino/avr/libraries/Ethernet/examples/PachubeClient/PachubeClient.ino hardware/arduino/avr/libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino hardware/arduino/avr/libraries/Ethernet/examples/TelnetClient/TelnetClient.ino hardware/arduino/avr/libraries/Ethernet/examples/UDPSendReceiveString/UDPSendReceiveString.ino hardware/arduino/avr/libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.ino hardware/arduino/avr/libraries/Ethernet/examples/WebClient/WebClient.ino hardware/arduino/avr/libraries/Ethernet/examples/WebServer/WebServer.ino hardware/arduino/avr/libraries/Ethernet/keywords.txt hardware/arduino/avr/libraries/Ethernet/util.h hardware/arduino/avr/libraries/Ethernet/utility/socket.cpp hardware/arduino/avr/libraries/Ethernet/utility/socket.h hardware/arduino/avr/libraries/Ethernet/utility/w5100.cpp hardware/arduino/avr/libraries/Ethernet/utility/w5100.h hardware/arduino/avr/libraries/Firmata/Boards.h hardware/arduino/avr/libraries/Firmata/Firmata.cpp hardware/arduino/avr/libraries/Firmata/Firmata.h hardware/arduino/avr/libraries/Firmata/LICENSE.txt hardware/arduino/avr/libraries/Firmata/TODO.txt hardware/arduino/avr/libraries/Firmata/examples/AllInputsFirmata/AllInputsFirmata.ino hardware/arduino/avr/libraries/Firmata/examples/AnalogFirmata/AnalogFirmata.ino hardware/arduino/avr/libraries/Firmata/examples/EchoString/EchoString.ino hardware/arduino/avr/libraries/Firmata/examples/I2CFirmata/I2CFirmata.ino hardware/arduino/avr/libraries/Firmata/examples/OldStandardFirmata/LICENSE.txt hardware/arduino/avr/libraries/Firmata/examples/OldStandardFirmata/OldStandardFirmata.ino hardware/arduino/avr/libraries/Firmata/examples/ServoFirmata/ServoFirmata.ino hardware/arduino/avr/libraries/Firmata/examples/SimpleAnalogFirmata/SimpleAnalogFirmata.ino hardware/arduino/avr/libraries/Firmata/examples/SimpleDigitalFirmata/SimpleDigitalFirmata.ino hardware/arduino/avr/libraries/Firmata/examples/StandardFirmata/LICENSE.txt hardware/arduino/avr/libraries/Firmata/examples/StandardFirmata/StandardFirmata.ino hardware/arduino/avr/libraries/Firmata/keywords.txt hardware/arduino/avr/libraries/SD/File.cpp hardware/arduino/avr/libraries/SD/README.txt hardware/arduino/avr/libraries/SD/SD.cpp hardware/arduino/avr/libraries/SD/SD.h hardware/arduino/avr/libraries/SD/examples/CardInfo/CardInfo.ino hardware/arduino/avr/libraries/SD/examples/Datalogger/Datalogger.ino hardware/arduino/avr/libraries/SD/examples/DumpFile/DumpFile.ino hardware/arduino/avr/libraries/SD/examples/Files/Files.ino hardware/arduino/avr/libraries/SD/examples/ReadWrite/ReadWrite.ino hardware/arduino/avr/libraries/SD/examples/listfiles/listfiles.ino hardware/arduino/avr/libraries/SD/keywords.txt hardware/arduino/avr/libraries/SD/utility/FatStructs.h hardware/arduino/avr/libraries/SD/utility/Sd2Card.cpp hardware/arduino/avr/libraries/SD/utility/Sd2Card.h hardware/arduino/avr/libraries/SD/utility/Sd2PinMap.h hardware/arduino/avr/libraries/SD/utility/SdFat.h hardware/arduino/avr/libraries/SD/utility/SdFatUtil.h hardware/arduino/avr/libraries/SD/utility/SdFatmainpage.h hardware/arduino/avr/libraries/SD/utility/SdFile.cpp hardware/arduino/avr/libraries/SD/utility/SdInfo.h hardware/arduino/avr/libraries/SD/utility/SdVolume.cpp hardware/arduino/avr/libraries/SPI/SPI.cpp hardware/arduino/avr/libraries/SPI/SPI.h hardware/arduino/avr/libraries/SPI/examples/BarometricPressureSensor/BarometricPressureSensor.ino hardware/arduino/avr/libraries/SPI/examples/BarometricPressureSensor/BarometricPressureSensor/BarometricPressureSensor.ino hardware/arduino/avr/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.ino hardware/arduino/avr/libraries/SPI/keywords.txt hardware/arduino/avr/libraries/Servo/Servo.cpp hardware/arduino/avr/libraries/Servo/Servo.h hardware/arduino/avr/libraries/Servo/examples/Knob/Knob.ino hardware/arduino/avr/libraries/Servo/examples/Sweep/Sweep.ino hardware/arduino/avr/libraries/Servo/keywords.txt hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.cpp hardware/arduino/avr/libraries/SoftwareSerial/SoftwareSerial.h hardware/arduino/avr/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino hardware/arduino/avr/libraries/SoftwareSerial/keywords.txt hardware/arduino/avr/libraries/Wire/Wire.cpp hardware/arduino/avr/libraries/Wire/Wire.h hardware/arduino/avr/libraries/Wire/examples/SFRRanger_reader/SFRRanger_reader.ino hardware/arduino/avr/libraries/Wire/examples/digital_potentiometer/digital_potentiometer.ino hardware/arduino/avr/libraries/Wire/examples/master_reader/master_reader.ino hardware/arduino/avr/libraries/Wire/examples/master_writer/master_writer.ino hardware/arduino/avr/libraries/Wire/examples/slave_receiver/slave_receiver.ino hardware/arduino/avr/libraries/Wire/examples/slave_sender/slave_sender.ino hardware/arduino/avr/libraries/Wire/keywords.txt hardware/arduino/avr/libraries/Wire/utility/twi.c hardware/arduino/avr/libraries/Wire/utility/twi.h hardware/arduino/avr/programmers.txt hardware/arduino/avr/variants/mega/pins_arduino.h hardware/arduino/avr/variants/micro/pins_arduino.h hardware/arduino/avr/variants/standard/pins_arduino.h hardware/arduino/boards.txt hardware/arduino/bootloaders/atmega/ATmegaBOOT_168.c hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega1280.hex hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_diecimila.hex hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_ng.hex hardware/arduino/bootloaders/atmega/ATmegaBOOT_168_pro_8MHz.hex hardware/arduino/bootloaders/atmega/Makefile hardware/arduino/bootloaders/atmega8/ATmegaBOOT.c hardware/arduino/bootloaders/atmega8/ATmegaBOOT.hex hardware/arduino/bootloaders/atmega8/Makefile hardware/arduino/bootloaders/bt/ATmegaBOOT_168.c hardware/arduino/bootloaders/bt/ATmegaBOOT_168.hex hardware/arduino/bootloaders/bt/ATmegaBOOT_168_atmega328_bt.hex hardware/arduino/bootloaders/bt/Makefile hardware/arduino/bootloaders/lilypad/LilyPadBOOT_168.hex hardware/arduino/bootloaders/lilypad/src/ATmegaBOOT.c hardware/arduino/bootloaders/lilypad/src/Makefile hardware/arduino/bootloaders/optiboot/optiboot.c hardware/arduino/bootloaders/optiboot/optiboot_atmega328_pro_8MHz.hex hardware/arduino/bootloaders/stk500v2/License.txt hardware/arduino/bootloaders/stk500v2/Makefile hardware/arduino/bootloaders/stk500v2/STK500V2.pnproj hardware/arduino/bootloaders/stk500v2/STK500V2.pnps hardware/arduino/bootloaders/stk500v2/avrinterruptnames.h hardware/arduino/bootloaders/stk500v2/command.h hardware/arduino/bootloaders/stk500v2/stk500boot.c hardware/arduino/bootloaders/stk500v2/stk500boot.ppg hardware/arduino/bootloaders/stk500v2/stk500boot_v2_mega2560.hex hardware/arduino/cores/arduino/Arduino.h hardware/arduino/cores/arduino/HardwareSerial.cpp hardware/arduino/cores/arduino/HardwareSerial.h hardware/arduino/cores/arduino/Stream.h hardware/arduino/cores/arduino/Tone.cpp hardware/arduino/cores/arduino/WCharacter.h hardware/arduino/cores/arduino/WInterrupts.c hardware/arduino/cores/arduino/WMath.cpp hardware/arduino/cores/arduino/WString.cpp hardware/arduino/cores/arduino/WString.h hardware/arduino/cores/arduino/binary.h hardware/arduino/cores/arduino/wiring.c hardware/arduino/cores/arduino/wiring_analog.c hardware/arduino/cores/arduino/wiring_digital.c hardware/arduino/cores/arduino/wiring_private.h hardware/arduino/cores/arduino/wiring_pulse.c hardware/arduino/cores/arduino/wiring_shift.c hardware/arduino/firmwares/MEGA-dfu_and_usbserial_combined.hex hardware/arduino/firmwares/README.txt hardware/arduino/firmwares/UNO-dfu_and_usbserial_combined.hex hardware/arduino/firmwares/arduino-usbdfu/Arduino-usbdfu.c hardware/arduino/firmwares/arduino-usbdfu/Arduino-usbdfu.h hardware/arduino/firmwares/arduino-usbdfu/Board/LEDs.h hardware/arduino/firmwares/arduino-usbdfu/Descriptors.c hardware/arduino/firmwares/arduino-usbdfu/Descriptors.h hardware/arduino/firmwares/arduino-usbdfu/makefile hardware/arduino/firmwares/arduino-usbdfu/readme.txt hardware/arduino/firmwares/arduino-usbserial/Arduino-usbserial-mega.hex hardware/arduino/firmwares/arduino-usbserial/Arduino-usbserial-uno.hex hardware/arduino/firmwares/arduino-usbserial/Arduino-usbserial.c hardware/arduino/firmwares/arduino-usbserial/Arduino-usbserial.h hardware/arduino/firmwares/arduino-usbserial/Board/LEDs.h hardware/arduino/firmwares/arduino-usbserial/Descriptors.c hardware/arduino/firmwares/arduino-usbserial/Descriptors.h hardware/arduino/firmwares/arduino-usbserial/Lib/LightweightRingBuff.h hardware/arduino/firmwares/arduino-usbserial/makefile hardware/arduino/firmwares/arduino-usbserial/readme.txt hardware/arduino/pins/mega/pins_arduino.h hardware/arduino/pins/standard/pins_arduino.h hardware/arduino/programmers.txt hardware/avr/boards.txt hardware/avr/bootloaders/atmega/ATmegaBOOT_168.c hardware/avr/bootloaders/atmega/ATmegaBOOT_168_atmega1280.hex hardware/avr/bootloaders/atmega/ATmegaBOOT_168_atmega328.hex hardware/avr/bootloaders/atmega/ATmegaBOOT_168_atmega328_pro_8MHz.hex hardware/avr/bootloaders/atmega/ATmegaBOOT_168_diecimila.hex hardware/avr/bootloaders/atmega/ATmegaBOOT_168_ng.hex hardware/avr/bootloaders/atmega/ATmegaBOOT_168_pro_8MHz.hex hardware/avr/bootloaders/atmega/Makefile hardware/avr/bootloaders/atmega8/ATmegaBOOT.c hardware/avr/bootloaders/atmega8/ATmegaBOOT.hex hardware/avr/bootloaders/atmega8/Makefile hardware/avr/bootloaders/bt/ATmegaBOOT_168.c hardware/avr/bootloaders/bt/ATmegaBOOT_168.hex hardware/avr/bootloaders/bt/ATmegaBOOT_168_atmega328_bt.hex hardware/avr/bootloaders/bt/Makefile hardware/avr/bootloaders/lilypad/LilyPadBOOT_168.hex hardware/avr/bootloaders/lilypad/src/ATmegaBOOT.c hardware/avr/bootloaders/lilypad/src/Makefile hardware/avr/bootloaders/optiboot/Makefile hardware/avr/bootloaders/optiboot/makeall hardware/avr/bootloaders/optiboot/optiboot.c hardware/avr/bootloaders/optiboot/optiboot_atmega328.hex hardware/avr/bootloaders/optiboot/optiboot_atmega328.lst hardware/avr/bootloaders/optiboot/optiboot_atmega328_pro_8MHz.hex hardware/avr/bootloaders/optiboot/optiboot_atmega328_pro_8MHz.lst hardware/avr/bootloaders/optiboot/optiboot_diecimila.hex hardware/avr/bootloaders/optiboot/optiboot_diecimila.lst hardware/avr/bootloaders/optiboot/optiboot_lilypad.hex hardware/avr/bootloaders/optiboot/optiboot_lilypad.lst hardware/avr/bootloaders/optiboot/optiboot_lilypad_resonator.hex hardware/avr/bootloaders/optiboot/optiboot_lilypad_resonator.lst hardware/avr/bootloaders/optiboot/optiboot_luminet.hex hardware/avr/bootloaders/optiboot/optiboot_luminet.lst hardware/avr/bootloaders/optiboot/optiboot_pro_16MHz.hex hardware/avr/bootloaders/optiboot/optiboot_pro_16MHz.lst hardware/avr/bootloaders/optiboot/optiboot_pro_20mhz.hex hardware/avr/bootloaders/optiboot/optiboot_pro_20mhz.lst hardware/avr/bootloaders/optiboot/optiboot_pro_8MHz.hex hardware/avr/bootloaders/optiboot/optiboot_pro_8MHz.lst hardware/avr/bootloaders/stk500v2/License.txt hardware/avr/bootloaders/stk500v2/Makefile hardware/avr/bootloaders/stk500v2/STK500V2.pnproj hardware/avr/bootloaders/stk500v2/STK500V2.pnps hardware/avr/bootloaders/stk500v2/avrinterruptnames.h hardware/avr/bootloaders/stk500v2/command.h hardware/avr/bootloaders/stk500v2/stk500boot.c hardware/avr/bootloaders/stk500v2/stk500boot.ppg hardware/avr/bootloaders/stk500v2/stk500boot_v2_mega2560.hex hardware/avr/cores/arduino/Arduino.h hardware/avr/cores/arduino/HardwareSerial.cpp hardware/avr/cores/arduino/HardwareSerial.h hardware/avr/cores/arduino/Print.cpp hardware/avr/cores/arduino/Print.h hardware/avr/cores/arduino/Stream.h hardware/avr/cores/arduino/WCharacter.h hardware/avr/cores/arduino/WInterrupts.c hardware/avr/cores/arduino/WMath.cpp hardware/avr/cores/arduino/WString.cpp hardware/avr/cores/arduino/WString.h hardware/avr/cores/arduino/main.cpp hardware/avr/cores/arduino/wiring.c hardware/avr/cores/arduino/wiring_analog.c hardware/avr/cores/arduino/wiring_digital.c hardware/avr/cores/arduino/wiring_private.h hardware/avr/cores/arduino/wiring_pulse.c hardware/avr/cores/arduino/wiring_shift.c hardware/avr/firmwares/MEGA-dfu_and_usbserial_combined.hex hardware/avr/firmwares/README.txt hardware/avr/firmwares/UNO-dfu_and_usbserial_combined.hex hardware/avr/firmwares/arduino-usbdfu/Arduino-usbdfu.c hardware/avr/firmwares/arduino-usbdfu/Arduino-usbdfu.h hardware/avr/firmwares/arduino-usbdfu/Board/LEDs.h hardware/avr/firmwares/arduino-usbdfu/Descriptors.c hardware/avr/firmwares/arduino-usbdfu/Descriptors.h hardware/avr/firmwares/arduino-usbdfu/makefile hardware/avr/firmwares/arduino-usbdfu/readme.txt hardware/avr/firmwares/arduino-usbserial/Arduino-usbserial-mega.hex hardware/avr/firmwares/arduino-usbserial/Arduino-usbserial-uno.hex hardware/avr/firmwares/arduino-usbserial/Arduino-usbserial.c hardware/avr/firmwares/arduino-usbserial/Arduino-usbserial.h hardware/avr/firmwares/arduino-usbserial/Board/LEDs.h hardware/avr/firmwares/arduino-usbserial/Descriptors.c hardware/avr/firmwares/arduino-usbserial/Descriptors.h hardware/avr/firmwares/arduino-usbserial/Lib/LightweightRingBuff.h hardware/avr/firmwares/arduino-usbserial/makefile hardware/avr/firmwares/arduino-usbserial/readme.txt hardware/avr/libraries/EEPROM/EEPROM.cpp hardware/avr/libraries/EEPROM/EEPROM.h hardware/avr/libraries/EEPROM/examples/eeprom_clear/eeprom_clear.pde hardware/avr/libraries/EEPROM/examples/eeprom_read/eeprom_read.pde hardware/avr/libraries/EEPROM/examples/eeprom_write/eeprom_write.pde hardware/avr/libraries/EEPROM/keywords.txt hardware/avr/libraries/Ethernet/Client.cpp hardware/avr/libraries/Ethernet/Client.h hardware/avr/libraries/Ethernet/Dhcp.cpp hardware/avr/libraries/Ethernet/Dhcp.h hardware/avr/libraries/Ethernet/Dns.cpp hardware/avr/libraries/Ethernet/Dns.h hardware/avr/libraries/Ethernet/Ethernet.cpp hardware/avr/libraries/Ethernet/Ethernet.h hardware/avr/libraries/Ethernet/IPAddress.cpp hardware/avr/libraries/Ethernet/IPAddress.h hardware/avr/libraries/Ethernet/Server.cpp hardware/avr/libraries/Ethernet/Server.h hardware/avr/libraries/Ethernet/Udp.cpp hardware/avr/libraries/Ethernet/Udp.h hardware/avr/libraries/Ethernet/examples/BarometricPressureWebServer/BarometricPressureWebServer.pde hardware/avr/libraries/Ethernet/examples/ChatServer/ChatServer.pde hardware/avr/libraries/Ethernet/examples/DhcpAddressPrinter/DhcpAddressPrinter.pde hardware/avr/libraries/Ethernet/examples/DnsWebClient/DnsWebClient.pde hardware/avr/libraries/Ethernet/examples/PachubeClient/PachubeClient.pde hardware/avr/libraries/Ethernet/examples/PachubeClientString/PachubeClientString.pde hardware/avr/libraries/Ethernet/examples/TelnetClient/TelnetClient.pde hardware/avr/libraries/Ethernet/examples/UDPSendReceiveString/UDPSendReceiveString.pde hardware/avr/libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.pde hardware/avr/libraries/Ethernet/examples/WebClient/WebClient.pde hardware/avr/libraries/Ethernet/examples/WebServer/WebServer.pde hardware/avr/libraries/Ethernet/keywords.txt hardware/avr/libraries/Ethernet/util.h hardware/avr/libraries/Ethernet/utility/socket.cpp hardware/avr/libraries/Ethernet/utility/socket.h hardware/avr/libraries/Ethernet/utility/w5100.cpp hardware/avr/libraries/Ethernet/utility/w5100.h hardware/avr/libraries/Firmata/Boards.h hardware/avr/libraries/Firmata/Firmata.cpp hardware/avr/libraries/Firmata/Firmata.h hardware/avr/libraries/Firmata/LICENSE.txt hardware/avr/libraries/Firmata/TODO.txt hardware/avr/libraries/Firmata/examples/AllInputsFirmata/AllInputsFirmata.pde hardware/avr/libraries/Firmata/examples/AnalogFirmata/AnalogFirmata.pde hardware/avr/libraries/Firmata/examples/AnalogFirmata/Makefile hardware/avr/libraries/Firmata/examples/EchoString/EchoString.pde hardware/avr/libraries/Firmata/examples/EchoString/Makefile hardware/avr/libraries/Firmata/examples/I2CFirmata/I2CFirmata.pde hardware/avr/libraries/Firmata/examples/OldStandardFirmata/LICENSE.txt hardware/avr/libraries/Firmata/examples/OldStandardFirmata/OldStandardFirmata.pde hardware/avr/libraries/Firmata/examples/ServoFirmata/Makefile hardware/avr/libraries/Firmata/examples/ServoFirmata/ServoFirmata.pde hardware/avr/libraries/Firmata/examples/SimpleAnalogFirmata/Makefile hardware/avr/libraries/Firmata/examples/SimpleAnalogFirmata/SimpleAnalogFirmata.pde hardware/avr/libraries/Firmata/examples/SimpleDigitalFirmata/Makefile hardware/avr/libraries/Firmata/examples/SimpleDigitalFirmata/SimpleDigitalFirmata.pde hardware/avr/libraries/Firmata/examples/StandardFirmata/LICENSE.txt hardware/avr/libraries/Firmata/examples/StandardFirmata/Makefile hardware/avr/libraries/Firmata/examples/StandardFirmata/StandardFirmata.pde hardware/avr/libraries/Firmata/examples/StandardFirmata_2_2_forUNO_0_3/StandardFirmata_2_2_forUNO_0_3.pde hardware/avr/libraries/Firmata/keywords.txt hardware/avr/libraries/SD/File.cpp hardware/avr/libraries/SD/README.txt hardware/avr/libraries/SD/SD.cpp hardware/avr/libraries/SD/SD.h hardware/avr/libraries/SD/examples/CardInfo/CardInfo.pde hardware/avr/libraries/SD/examples/Datalogger/Datalogger.pde hardware/avr/libraries/SD/examples/DumpFile/DumpFile.pde hardware/avr/libraries/SD/examples/Files/Files.pde hardware/avr/libraries/SD/examples/ReadWrite/ReadWrite.pde hardware/avr/libraries/SD/examples/listfiles/listfiles.pde hardware/avr/libraries/SD/keywords.txt hardware/avr/libraries/SD/utility/FatStructs.h hardware/avr/libraries/SD/utility/Sd2Card.cpp hardware/avr/libraries/SD/utility/Sd2Card.h hardware/avr/libraries/SD/utility/Sd2PinMap.h hardware/avr/libraries/SD/utility/SdFat.h hardware/avr/libraries/SD/utility/SdFatUtil.h hardware/avr/libraries/SD/utility/SdFatmainpage.h hardware/avr/libraries/SD/utility/SdFile.cpp hardware/avr/libraries/SD/utility/SdInfo.h hardware/avr/libraries/SD/utility/SdVolume.cpp hardware/avr/libraries/SPI/SPI.cpp hardware/avr/libraries/SPI/SPI.h hardware/avr/libraries/SPI/examples/BarometricPressureSensor/BarometricPressureSensor/BarometricPressureSensor.pde hardware/avr/libraries/Servo/Servo.cpp hardware/avr/libraries/Servo/Servo.h hardware/avr/libraries/Servo/examples/Knob/Knob.pde hardware/avr/libraries/Servo/examples/Sweep/Sweep.pde hardware/avr/libraries/Servo/keywords.txt hardware/avr/libraries/SoftwareSerial/SoftwareSerial.cpp hardware/avr/libraries/SoftwareSerial/SoftwareSerial.h hardware/avr/libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino hardware/avr/libraries/SoftwareSerial/examples/TwoPortRXExample/TwoPortRXExample.pde hardware/avr/libraries/SoftwareSerial/icrmacros.h hardware/avr/libraries/SoftwareSerial/keywords.txt hardware/avr/libraries/Wire/Wire.cpp hardware/avr/libraries/Wire/Wire.h hardware/avr/libraries/Wire/utility/twi.c hardware/avr/libraries/Wire/utility/twi.h hardware/avr/programmers.txt hardware/avr/variants/mega/pins_arduino.h hardware/avr/variants/standard/pins_arduino.h hardware/sam/cores/sam/Tone.cpp.disabled hardware/sam/cores/sam/binary.h hardware/sam/libraries/SPI/examples/BarometricPressureSensor/BarometricPressureSensor.pde hardware/sam/libraries/SPI/examples/DigitalPotControl/DigitalPotControl.pde hardware/sam/libraries/SPI/keywords.txt hardware/sam/libraries/Wire/examples/SFRRanger_reader/SFRRanger_reader.pde hardware/sam/libraries/Wire/examples/digital_potentiometer/digital_potentiometer.pde hardware/sam/libraries/Wire/examples/master_reader/master_reader.pde hardware/sam/libraries/Wire/examples/master_writer/master_writer.pde hardware/sam/libraries/Wire/examples/slave_receiver/slave_receiver.pde hardware/sam/libraries/Wire/examples/slave_sender/slave_sender.pde hardware/sam/libraries/Wire/keywords.txt libraries/EEPROM/EEPROM.cpp libraries/EEPROM/EEPROM.h libraries/EEPROM/examples/eeprom_clear/eeprom_clear.pde libraries/EEPROM/examples/eeprom_read/eeprom_read.pde libraries/EEPROM/examples/eeprom_write/eeprom_write.pde libraries/EEPROM/keywords.txt libraries/Ethernet/Client.cpp libraries/Ethernet/Dhcp.cpp libraries/Ethernet/Dhcp.h libraries/Ethernet/Dns.cpp libraries/Ethernet/Dns.h libraries/Ethernet/Ethernet.cpp libraries/Ethernet/Ethernet.h libraries/Ethernet/IPAddress.cpp libraries/Ethernet/IPAddress.h libraries/Ethernet/Server.cpp libraries/Ethernet/Udp.cpp libraries/Ethernet/Udp.h libraries/Ethernet/examples/BarometricPressureWebServer/BarometricPressureWebServer.pde libraries/Ethernet/examples/ChatServer/ChatServer.pde libraries/Ethernet/examples/DhcpAddressPrinter/DhcpAddressPrinter.pde libraries/Ethernet/examples/DnsWebClient/DnsWebClient.pde libraries/Ethernet/examples/PachubeClient/PachubeClient.pde libraries/Ethernet/examples/PachubeClientString/PachubeClientString.pde libraries/Ethernet/examples/TelnetClient/TelnetClient.pde libraries/Ethernet/examples/UDPSendReceiveString/UDPSendReceiveString.pde libraries/Ethernet/examples/UdpNtpClient/UdpNtpClient.pde libraries/Ethernet/examples/WebClient/WebClient.pde libraries/Ethernet/examples/WebServer/WebServer.pde libraries/Ethernet/keywords.txt libraries/Ethernet/util.h libraries/Ethernet/utility/socket.cpp libraries/Ethernet/utility/socket.h libraries/Ethernet/utility/w5100.cpp libraries/Ethernet/utility/w5100.h libraries/Firmata/Boards.h libraries/Firmata/Firmata.cpp libraries/Firmata/Firmata.h libraries/Firmata/LICENSE.txt libraries/Firmata/TODO.txt libraries/Firmata/examples/AllInputsFirmata/AllInputsFirmata.pde libraries/Firmata/examples/AnalogFirmata/AnalogFirmata.pde libraries/Firmata/examples/EchoString/EchoString.pde libraries/Firmata/examples/I2CFirmata/I2CFirmata.pde libraries/Firmata/examples/OldStandardFirmata/LICENSE.txt libraries/Firmata/examples/OldStandardFirmata/OldStandardFirmata.pde libraries/Firmata/examples/ServoFirmata/ServoFirmata.pde libraries/Firmata/examples/SimpleAnalogFirmata/SimpleAnalogFirmata.pde libraries/Firmata/examples/SimpleDigitalFirmata/SimpleDigitalFirmata.pde libraries/Firmata/examples/StandardFirmata/LICENSE.txt libraries/Firmata/examples/StandardFirmata_2_2_forUNO_0_3/StandardFirmata_2_2_forUNO_0_3.pde libraries/Firmata/keywords.txt libraries/SD/File.cpp libraries/SD/README.txt libraries/SD/SD.cpp libraries/SD/SD.h libraries/SD/examples/CardInfo/CardInfo.pde libraries/SD/examples/Datalogger/Datalogger.pde libraries/SD/examples/DumpFile/DumpFile.pde libraries/SD/examples/Files/Files.pde libraries/SD/examples/ReadWrite/ReadWrite.pde libraries/SD/examples/listfiles/listfiles.pde libraries/SD/keywords.txt libraries/SD/utility/FatStructs.h libraries/SD/utility/Sd2Card.cpp libraries/SD/utility/Sd2Card.h libraries/SD/utility/Sd2PinMap.h libraries/SD/utility/SdFat.h libraries/SD/utility/SdFatUtil.h libraries/SD/utility/SdFatmainpage.h libraries/SD/utility/SdFile.cpp libraries/SD/utility/SdInfo.h libraries/SD/utility/SdVolume.cpp libraries/SPI/SPI.cpp libraries/SPI/SPI.h libraries/SPI/examples/BarometricPressureSensor/BarometricPressureSensor.pde libraries/SPI/examples/BarometricPressureSensor/BarometricPressureSensor/BarometricPressureSensor.pde libraries/SPI/examples/DigitalPotControl/DigitalPotControl.pde libraries/SPI/keywords.txt libraries/Servo/Servo.cpp libraries/Servo/Servo.h libraries/Servo/examples/Knob/Knob.pde libraries/Servo/examples/Sweep/Sweep.pde libraries/Servo/keywords.txt libraries/SoftwareSerial/SoftwareSerial.cpp libraries/SoftwareSerial/SoftwareSerial.h libraries/SoftwareSerial/examples/SoftwareSerialExample/SoftwareSerialExample.ino libraries/SoftwareSerial/keywords.txt libraries/Wire/Wire.cpp libraries/Wire/Wire.h libraries/Wire/examples/SFRRanger_reader/SFRRanger_reader.pde libraries/Wire/examples/digital_potentiometer/digital_potentiometer.pde libraries/Wire/examples/master_reader/master_reader.pde libraries/Wire/examples/master_writer/master_writer.pde libraries/Wire/examples/slave_receiver/slave_receiver.pde libraries/Wire/examples/slave_sender/slave_sender.pde libraries/Wire/keywords.txt libraries/Wire/utility/twi.c libraries/Wire/utility/twi.h
2 parents c2d1de3 + 742f59a commit a50431e

File tree

1,944 files changed

+494811
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,944 files changed

+494811
-68
lines changed

.project

-17
This file was deleted.

app/.classpath

+3-11
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,11 @@
22
<classpath>
33
<classpathentry excluding="processing/app/tools/format/" kind="src" path="src"/>
44
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5-
<classpathentry combineaccessrules="false" kind="src" path="/core"/>
6-
<classpathentry combineaccessrules="false" kind="src" path="/dxf"/>
7-
<classpathentry combineaccessrules="false" kind="src" path="/net"/>
8-
<classpathentry combineaccessrules="false" kind="src" path="/opengl">
9-
<attributes>
10-
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="opengl/library"/>
11-
</attributes>
12-
</classpathentry>
13-
<classpathentry combineaccessrules="false" kind="src" path="/pdf"/>
14-
<classpathentry combineaccessrules="false" kind="src" path="/serial"/>
15-
<classpathentry combineaccessrules="false" kind="src" path="/video"/>
165
<classpathentry kind="lib" path="lib/antlr.jar"/>
176
<classpathentry kind="lib" path="lib/jna.jar"/>
187
<classpathentry kind="lib" path="lib/ecj.jar"/>
8+
<classpathentry combineaccessrules="false" kind="src" path="/processing-core"/>
9+
<classpathentry kind="lib" path="lib/apple.jar"/>
10+
<classpathentry kind="lib" path="lib/RXTXcomm.jar"/>
1911
<classpathentry kind="output" path="bin"/>
2012
</classpath>

app/src/processing/app/debug/AvrdudeUploader.java

100755100644
File mode changed.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
2+
3+
/*
4+
AvrdudeUploader - uploader implementation using avrdude
5+
Part of the Arduino project - http://www.arduino.cc/
6+
7+
Copyright (c) 2011 Cristian Maglie
8+
9+
This program is free software; you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation; either version 2 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program; if not, write to the Free Software Foundation,
21+
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22+
23+
$Id$
24+
*/
25+
26+
package processing.app.debug;
27+
28+
import java.io.File;
29+
import java.util.ArrayList;
30+
import java.util.Collection;
31+
import java.util.List;
32+
33+
import processing.app.Base;
34+
import processing.app.Preferences;
35+
import processing.app.SerialException;
36+
37+
public class BossaCUploader extends Uploader {
38+
39+
public boolean uploadUsingPreferences(String buildPath, String className,
40+
boolean usingProgrammer)
41+
throws RunnerException, SerialException {
42+
List<String> commandDownloader = new ArrayList<String>();
43+
String port = Preferences.get("serial.port");
44+
if (port.startsWith("/dev/"))
45+
port = port.substring(5);
46+
commandDownloader.add("--port=" + port);
47+
commandDownloader.add("-e");
48+
commandDownloader.add("-w");
49+
commandDownloader.add("-v");
50+
commandDownloader.add("-b");
51+
commandDownloader.add(buildPath + File.separator + className + ".bin");
52+
53+
return bossac(commandDownloader);
54+
}
55+
56+
public boolean burnBootloader() {
57+
return true;
58+
}
59+
60+
public boolean bossac(Collection params) throws RunnerException {
61+
List commandDownloader = new ArrayList();
62+
commandDownloader.add("bossac");
63+
64+
if (verbose || Preferences.getBoolean("upload.verbose")) {
65+
commandDownloader.add("-i");
66+
commandDownloader.add("-d");
67+
}
68+
commandDownloader.addAll(params);
69+
70+
return executeUploadCommand(commandDownloader);
71+
}
72+
73+
protected boolean executeUploadCommand(List<String> cmdParams)
74+
throws RunnerException {
75+
76+
try {
77+
String avrBasePath = Base.getHardwarePath() + "/tools/";
78+
79+
String[] cmdArray = cmdParams.toArray(new String[0]);
80+
cmdArray[0] = avrBasePath + cmdArray[0];
81+
82+
if (verbose || Preferences.getBoolean("upload.verbose")) {
83+
for (String cmd : cmdArray)
84+
System.out.print(cmd + " ");
85+
System.out.println();
86+
}
87+
88+
Process bossac = Runtime.getRuntime().exec(cmdArray);
89+
new MessageSiphon(bossac.getInputStream(), this);
90+
new MessageSiphon(bossac.getErrorStream(), this);
91+
92+
// wait for the process to finish. if interrupted
93+
// before waitFor returns, continue waiting
94+
int result = bossac.waitFor();
95+
if (result != 0)
96+
return false;
97+
return true;
98+
} catch (Exception e) {
99+
e.printStackTrace();
100+
return false;
101+
}
102+
}
103+
104+
}

app/src/processing/app/debug/Sizer.java

+53-40
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,106 @@
11
/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
22

33
/*
4-
Sizer - computes the size of a .hex file
5-
Part of the Arduino project - http://www.arduino.cc/
4+
Sizer - computes the size of a .hex file
5+
Part of the Arduino project - http://www.arduino.cc/
66
7-
Copyright (c) 2006 David A. Mellis
7+
Copyright (c) 2006 David A. Mellis
88
9-
This program is free software; you can redistribute it and/or modify
10-
it under the terms of the GNU General Public License as published by
11-
the Free Software Foundation; either version 2 of the License, or
12-
(at your option) any later version.
9+
This program is free software; you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation; either version 2 of the License, or
12+
(at your option) any later version.
1313
14-
This program is distributed in the hope that it will be useful,
15-
but WITHOUT ANY WARRANTY; without even the implied warranty of
16-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17-
GNU General Public License for more details.
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
1818
19-
You should have received a copy of the GNU General Public License
20-
along with this program; if not, write to the Free Software Foundation,
21-
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22-
23-
$Id$
24-
*/
19+
You should have received a copy of the GNU General Public License
20+
along with this program; if not, write to the Free Software Foundation,
21+
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2522
26-
package processing.app.debug;
23+
$Id$
24+
*/
2725

28-
import processing.app.Base;
26+
package processing.app.debug;
2927

30-
import java.io.*;
31-
import java.util.*;
28+
import java.io.File;
29+
import java.text.MessageFormat;
30+
import java.util.Map;
31+
import java.util.NoSuchElementException;
32+
import java.util.StringTokenizer;
3233

3334
public class Sizer implements MessageConsumer {
3435
private String buildPath, sketchName;
36+
3537
private String firstLine;
38+
3639
private long size;
40+
3741
private RunnerException exception;
3842

39-
public Sizer(String buildPath, String sketchName) {
43+
private Map<String, String> prefs;
44+
45+
public Sizer(String buildPath, String sketchName,
46+
Map<String, String> prefs) {
4047
this.buildPath = buildPath;
4148
this.sketchName = sketchName;
49+
this.prefs = prefs;
4250
}
43-
51+
4452
public long computeSize() throws RunnerException {
45-
String avrBasePath = Base.getAvrBasePath();
46-
String commandSize[] = new String[] {
47-
avrBasePath + "avr-size",
48-
" "
49-
};
50-
51-
commandSize[1] = buildPath + File.separator + sketchName + ".hex";
53+
String args[] = new String[3];
54+
args[0] = prefs.get("compiler.path");
55+
args[1] = prefs.get("compiler.size.cmd");
56+
args[2] = buildPath + File.separator + sketchName;
57+
58+
String recipe = prefs.get("recipe.size.pattern");
59+
MessageFormat compileFormat = new MessageFormat(recipe);
60+
String command = compileFormat.format(args);
61+
String[] commandArray = command.split("\\|");
5262

5363
int r = 0;
5464
try {
5565
exception = null;
5666
size = -1;
5767
firstLine = null;
58-
Process process = Runtime.getRuntime().exec(commandSize);
68+
Process process = Runtime.getRuntime().exec(commandArray);
5969
MessageSiphon in = new MessageSiphon(process.getInputStream(), this);
6070
MessageSiphon err = new MessageSiphon(process.getErrorStream(), this);
6171

6272
boolean running = true;
6373

64-
while(running) {
74+
while (running) {
6575
try {
6676
if (in.thread != null)
6777
in.thread.join();
6878
if (err.thread != null)
6979
err.thread.join();
7080
r = process.waitFor();
7181
running = false;
72-
} catch (InterruptedException intExc) { }
82+
} catch (InterruptedException intExc) {
83+
}
7384
}
7485
} catch (Exception e) {
7586
// The default Throwable.toString() never returns null, but apparently
7687
// some sub-class has overridden it to do so, thus we need to check for
77-
// it. See: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1166589459
78-
exception = new RunnerException(
79-
(e.toString() == null) ? e.getClass().getName() + r : e.toString() + r);
88+
// it. See: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1166589459
89+
if (e.toString() == null)
90+
exception = new RunnerException(e.getClass().getName() + r);
91+
else
92+
exception = new RunnerException(e.toString() + r);
8093
}
81-
94+
8295
if (exception != null)
8396
throw exception;
84-
97+
8598
if (size == -1)
8699
throw new RunnerException(firstLine);
87-
100+
88101
return size;
89102
}
90-
103+
91104
public void message(String s) {
92105
if (firstLine == null)
93106
firstLine = s;

app/src/processing/app/debug/Uploader.java

100755100644
File mode changed.

build/linux/dist/tools/bossac

54.6 KB
Binary file not shown.

build/linux/dist/tools/bossac64

56.9 KB
Binary file not shown.
34 MB
Binary file not shown.

build/macosx/dist/bossac

76.6 KB
Binary file not shown.

build/macosx/template.dmg.gz

288 KB
Binary file not shown.

build/windows/CodeSourcery_arm.zip

45.7 MB
Binary file not shown.

build/windows/bossac.exe

211 KB
Binary file not shown.

build/windows/dist/drivers/bossa.inf

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
[Version] ; Version section
2+
Signature="$Chicago$" ; All Windows versions
3+
Class=Ports ; This is a serial port driver
4+
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ; Associated GUID
5+
Provider=%SHUMATECH% ; Driver is provided by SHUMATECH
6+
DriverVer=05/18/2011,1.0 ; Driver version
7+
8+
[DestinationDirs] ; DestinationDirs section
9+
DefaultDestDir=12 ; Default install directory is \drivers or \IOSubSys
10+
11+
[Manufacturer] ; Manufacturer section
12+
%SHUMATECH%=ShumaTech,NTamd64 ; Only one manufacturer (SHUMATECH), models section is named
13+
; ShumaTech
14+
15+
[ShumaTech] ; Models section corresponding to SHUMATECH
16+
%BOSSA%=BOSSA.Install,USB\VID_03EB&PID_6124 ; Identifies a device with Vendor ID (03EBh) and
17+
; Product ID equal to 6124h. Corresponding Install section
18+
; is named BOSSA.Install
19+
20+
[ShumaTech.NTamd64] ; Models section corresponding to SHUMATECH
21+
%BOSSA%=BOSSA.Install,USB\VID_03EB&PID_6124 ; Identifies a device with Vendor ID (03EBh) and
22+
; Product ID equal to 6124h. Corresponding Install section
23+
; is named BOSSA.Install
24+
25+
[BOSSA.Install] ; Install section
26+
include=mdmcpq.inf
27+
CopyFiles=FakeModemCopyFileSection
28+
AddReg=BOSSA.AddReg ; Registry keys to add are listed in BOSSA.AddReg
29+
30+
[BOSSA.AddReg] ; AddReg section
31+
HKR,,DevLoader,,*ntkern
32+
HKR,,NTMPDriver,,usbser.sys
33+
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
34+
35+
[BOSSA.Install.Services] ; Services section
36+
AddService=usbser,0x00000002,BOSSA.AddService ; Assign usbser as the PnP driver for the device
37+
38+
[BOSSA.AddService] ; Service install section
39+
DisplayName=%USBSer% ; Name of the serial driver
40+
ServiceType=1 ; Service kernel driver
41+
StartType=3 ; Driver is started by the PnP manager
42+
ErrorControl=1 ; Warn about errors
43+
ServiceBinary=%12%\usbser.sys ; Driver filename
44+
45+
[Strings] ; Strings section
46+
SHUMATECH="ShumaTech" ; String value for the SHUMATECH symbol
47+
BOSSA="BOSSA Program Port" ; String value for the BOSSA symbol
48+
USBSer="USB Serial Driver" ; String value for the USBSer symbol

hardware/sam/boards.txt

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
##############################################################
2+
3+
sam3s_ek.name=Atmel SAM3S-EK
4+
sam3s_ek.platform=sam
5+
sam3s_ek.upload.protocol=sam-ba
6+
sam3s_ek.upload.maximum_size=49152
7+
sam3s_ek.upload.speed=115200
8+
sam3s_ek.bootloader.path=sam3s_boot
9+
sam3s_ek.bootloader.file=sam3s_boot.bin
10+
sam3s_ek.build.mcu=cortex-m3
11+
sam3s_ek.build.f_cpu=64000000L
12+
sam3s_ek.build.core=sam
13+
sam3s_ek.build.pins=sam3s_ek
14+
15+
##############################################################
16+
17+
sam3u_ek.name=Atmel SAM3U-EK
18+
sam3u_ek.platform=sam
19+
sam3u_ek.upload.protocol=sam-ba
20+
sam3u_ek.upload.maximum_size=49152
21+
sam3u_ek.upload.speed=115200
22+
sam3u_ek.bootloader.path=sam3u_boot
23+
sam3u_ek.bootloader.file=sam3u_boot.bin
24+
sam3u_ek.build.mcu=cortex-m3
25+
sam3u_ek.build.f_cpu=96000000L
26+
sam3u_ek.build.core=sam
27+
sam3u_ek.build.pins=sam3u_ek
28+
29+
##############################################################
30+
31+
arduino_due.name=Arduino Due
32+
arduino_due.platform=sam
33+
arduino_due.uploader=bossac
34+
arduino_due.upload.maximum_size=49152
35+
arduino_due.upload.speed=115200
36+
#arduino_due.bootloader.path=sam3u_boot
37+
#arduino_due.bootloader.file=sam3u_boot.bin
38+
arduino_due.build.mcu=cortex-m3
39+
arduino_due.build.f_cpu=96000000L
40+
arduino_due.build.core=sam
41+
arduino_due.build.pins=arduino_due
42+
arduino_due.build.extra_flags=-D__SAM3U4E__
43+
arduino_due.build.extra_include_dirs=system/libsam|system/libsam/include|system/CMSIS/Include|system/libsam/cmsis/sam3u/source/templates|system/libsam/cmsis/sam3u/include
44+
arduino_due.core.extra_source_dirs=sam
45+
arduino_due.system.extra_source_dirs=libsam/source|libsam/cmsis/sam3u/source/templates|libsam/cmsis/sam3u/source/templates/gcc
46+
arduino_due.variants.extra_source_dirs=arduino_due|common
47+
#hardware/sam/system/libsam/source/
48+
#hardware/sam/system/libsam/cmsis/sam3u/source/
49+
#hardware/sam/variants/arduino_due
50+
#hardware/sam/variants/common
51+
#hardware/sam/cores/sam
52+
arduino_due.build.ldscript=linker_scripts/gcc/flash.ld
53+
54+

0 commit comments

Comments
 (0)