From 38c58d2e8eca9502e96a507cb568b397cd869e85 Mon Sep 17 00:00:00 2001 From: gohai Date: Sun, 14 Feb 2016 11:34:03 +0100 Subject: [PATCH 1/5] ARM: Remove special case for 8u51 and below from build.xml --- build/build.xml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/build/build.xml b/build/build.xml index 53daaa2d4..18d90b856 100644 --- a/build/build.xml +++ b/build/build.xml @@ -36,16 +36,7 @@ - - - - - - - - - - + From 102f55b29d6787005875d440092c5197a9f17c03 Mon Sep 17 00:00:00 2001 From: gohai Date: Sun, 14 Feb 2016 11:37:30 +0100 Subject: [PATCH 2/5] IO: Add comments pointing to wiring diagrams --- java/libraries/io/examples/I2CCompass/I2CCompass.pde | 1 + java/libraries/io/examples/Interrupt/Interrupt.pde | 1 + .../libraries/io/examples/SPIAnalogDigital/SPIAnalogDigital.pde | 1 + .../io/examples/SPIAnalogDigitalOOP/SPIAnalogDigitalOOP.pde | 2 ++ java/libraries/io/examples/SimpleInput/SimpleInput.pde | 1 + java/libraries/io/examples/SimpleOutput/SimpleOutput.pde | 1 + 6 files changed, 7 insertions(+) diff --git a/java/libraries/io/examples/I2CCompass/I2CCompass.pde b/java/libraries/io/examples/I2CCompass/I2CCompass.pde index c4f9e0cc8..079a7bcc6 100644 --- a/java/libraries/io/examples/I2CCompass/I2CCompass.pde +++ b/java/libraries/io/examples/I2CCompass/I2CCompass.pde @@ -3,6 +3,7 @@ I2C i2c; // HMC6352 is a digital compass module using I2C // datasheet: https://www.sparkfun.com/datasheets/Components/HMC6352.pdf +// see setup.png in the sketch folder for wiring details void setup() { //printArray(I2C.list()); diff --git a/java/libraries/io/examples/Interrupt/Interrupt.pde b/java/libraries/io/examples/Interrupt/Interrupt.pde index b6b6185e3..15bdc4cce 100644 --- a/java/libraries/io/examples/Interrupt/Interrupt.pde +++ b/java/libraries/io/examples/Interrupt/Interrupt.pde @@ -3,6 +3,7 @@ color bgcolor = 0; // GPIO numbers refer to different phyiscal pins on various boards // On the Raspberry Pi GPIO 4 is physical pin 7 on the header +// see setup.png in the sketch folder for wiring details void setup() { GPIO.pinMode(4, GPIO.INPUT); diff --git a/java/libraries/io/examples/SPIAnalogDigital/SPIAnalogDigital.pde b/java/libraries/io/examples/SPIAnalogDigital/SPIAnalogDigital.pde index 4e8ee3b4a..bb1311ada 100644 --- a/java/libraries/io/examples/SPIAnalogDigital/SPIAnalogDigital.pde +++ b/java/libraries/io/examples/SPIAnalogDigital/SPIAnalogDigital.pde @@ -3,6 +3,7 @@ SPI spi; // MCP3001 is a Analog-to-Digital converter using SPI // datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/21293C.pdf +// see setup.png in the sketch folder for wiring details void setup() { //printArray(SPI.list()); diff --git a/java/libraries/io/examples/SPIAnalogDigitalOOP/SPIAnalogDigitalOOP.pde b/java/libraries/io/examples/SPIAnalogDigitalOOP/SPIAnalogDigitalOOP.pde index 85be661a6..f45f0fa5c 100644 --- a/java/libraries/io/examples/SPIAnalogDigitalOOP/SPIAnalogDigitalOOP.pde +++ b/java/libraries/io/examples/SPIAnalogDigitalOOP/SPIAnalogDigitalOOP.pde @@ -1,6 +1,8 @@ import processing.io.*; MCP3001 adc; +// see setup.png in the sketch folder for wiring details + void setup() { //printArray(SPI.list()); adc = new MCP3001(SPI.list()[0]); diff --git a/java/libraries/io/examples/SimpleInput/SimpleInput.pde b/java/libraries/io/examples/SimpleInput/SimpleInput.pde index c6870656f..d7a420ce1 100644 --- a/java/libraries/io/examples/SimpleInput/SimpleInput.pde +++ b/java/libraries/io/examples/SimpleInput/SimpleInput.pde @@ -2,6 +2,7 @@ import processing.io.*; // GPIO numbers refer to different phyiscal pins on various boards // On the Raspberry Pi GPIO 4 is physical pin 7 on the header +// see setup.png in the sketch folder for wiring details void setup() { GPIO.pinMode(4, GPIO.INPUT); diff --git a/java/libraries/io/examples/SimpleOutput/SimpleOutput.pde b/java/libraries/io/examples/SimpleOutput/SimpleOutput.pde index 390592f64..af5e05d05 100644 --- a/java/libraries/io/examples/SimpleOutput/SimpleOutput.pde +++ b/java/libraries/io/examples/SimpleOutput/SimpleOutput.pde @@ -3,6 +3,7 @@ boolean ledOn = false; // GPIO numbers refer to different phyiscal pins on various boards // On the Raspberry Pi GPIO 4 is physical pin 7 on the header +// see setup.png in the sketch folder for wiring details void setup() { GPIO.pinMode(4, GPIO.OUTPUT); From 07a9fd463e9f6144f5ced2d89ce653fbf6451048 Mon Sep 17 00:00:00 2001 From: gohai Date: Sun, 14 Feb 2016 12:17:35 +0100 Subject: [PATCH 3/5] Change comment in .desktop file This string is used by Gnome 3 and potentially others, change it to something more exciting (and capitalized). --- build/linux/processing.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/linux/processing.desktop b/build/linux/processing.desktop index 1e5bde573..b7c0ef9b1 100644 --- a/build/linux/processing.desktop +++ b/build/linux/processing.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Version=@version@ Name=Processing -Comment=graphics and animation language +Comment=Software sketchbook Exec=processing %F Icon=/opt/processing/lib/icons/pde-256.png Terminal=false From 5ee7f7b26c2e2735f9eaac8d332cf38875333996 Mon Sep 17 00:00:00 2001 From: gohai Date: Sun, 14 Feb 2016 12:19:45 +0100 Subject: [PATCH 4/5] ARM: Add support to deb target --- build/build.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/build.xml b/build/build.xml index 18d90b856..090280832 100644 --- a/build/build.xml +++ b/build/build.xml @@ -945,8 +945,15 @@ tofile="linux/debian/usr/share/mime/packages/processing.xml" /> + + + + + + + From 433b5be64d2372179156cfa033689c8b78d18ea2 Mon Sep 17 00:00:00 2001 From: gohai Date: Sun, 14 Feb 2016 12:21:03 +0100 Subject: [PATCH 5/5] Add a symlink to processing-java to deb target Processing-java is extremely handy, especially on Linux. --- build/build.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/build.xml b/build/build.xml index 090280832..fe80505cc 100644 --- a/build/build.xml +++ b/build/build.xml @@ -931,6 +931,8 @@ +