From a1f95af2552ee7ab36f0cec99f673ffd8b3f0b49 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 53daaa2d49..18d90b8562 100644 --- a/build/build.xml +++ b/build/build.xml @@ -36,16 +36,7 @@ - - - - - - - - - - + From 8b91ab35947d709ea24c37d8de3cd7ef24b30851 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 c4f9e0cc82..079a7bcc61 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 b6b6185e32..15bdc4cce1 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 4e8ee3b4ab..bb1311adaf 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 85be661a69..f45f0fa5ce 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 c6870656f3..d7a420ce12 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 390592f64c..af5e05d05a 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 8d93fa55480f7453b0425b72ecb3f2c4fc24ecda 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 1e5bde573e..b7c0ef9b16 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 8f30d42672734466ef1d8f4a3814cd36c9cec454 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 18d90b8562..0902808326 100644 --- a/build/build.xml +++ b/build/build.xml @@ -945,8 +945,15 @@ tofile="linux/debian/usr/share/mime/packages/processing.xml" /> + + + + + + + From 40c7628322a5b4eef9f72aa1bb1252978af579bb 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 0902808326..fe80505cc1 100644 --- a/build/build.xml +++ b/build/build.xml @@ -931,6 +931,8 @@ +