Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,7 @@
<target name="check-linux-arm32" if="linux-arm32">
<!-- there is currently no JRE available -->
<property name="jre.download.jdk" value="true" />
<!-- temporary special case since the URL changed between 8u51 and 8u60 -->
<condition property="jre.downloader" value="linux-arm-vfp-hflt.tar.gz">
<equals arg1="${jdk.update}" arg2="51" />
</condition>
<condition property="jre.downloader" value="linux-arm32-vfp-hflt.tar.gz">
<not>
<equals arg1="${jdk.update}" arg2="51" />
</not>
</condition>
<!-- <property name="jre.downloader" value="linux-arm32-vfp-hflt.tar.gz" /> -->
<property name="jre.downloader" value="linux-arm32-vfp-hflt.tar.gz" />
<property name="linux.dist" value="linux/processing-${version}-linux-armv6hf.tgz" />
</target>

Expand Down Expand Up @@ -940,6 +931,8 @@
<move file="linux/work" tofile="linux/debian/opt/processing" />
<symlink link="linux/debian/usr/bin/processing"
resource="../../opt/processing/processing" />
<symlink link="linux/debian/usr/bin/processing-java"
resource="../../opt/processing/processing-java" />

<!-- place .desktop and .sharedmimeinfo file -->
<copy file="linux/processing.desktop"
Expand All @@ -954,8 +947,15 @@
tofile="linux/debian/usr/share/mime/packages/processing.xml" />

<!-- Set properties for DEBIAN/control file -->
<condition property="linux.deb" value="linux/processing-${version}-linux-armv6hf.deb">
<equals arg1="linux-arm32" arg2="linux-arm32" />
</condition>
<property name="linux.deb" value="linux/processing-${version}-linux${sun.arch.data.model}.deb" />

<!-- Raspbian seems to borrow armhf for armv6hf, so this works -->
<condition property="deb.arch" value="armhf">
<equals arg1="linux-arm32" arg2="linux-arm32" />
</condition>
<condition property="deb.arch" value="i386">
<equals arg1="${sun.arch.data.model}" arg2="32" />
</condition>
Expand Down
2 changes: 1 addition & 1 deletion build/linux/processing.desktop
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions java/libraries/io/examples/I2CCompass/I2CCompass.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
1 change: 1 addition & 0 deletions java/libraries/io/examples/Interrupt/Interrupt.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
Original file line number Diff line number Diff line change
@@ -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]);
Expand Down
1 change: 1 addition & 0 deletions java/libraries/io/examples/SimpleInput/SimpleInput.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions java/libraries/io/examples/SimpleOutput/SimpleOutput.pde
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down