changeset 380:9dc5a0ccad25 prerelease

Fixed missing ) in Makefile, and removed unnecessary Utilities.h includes
author andrewm
date Sun, 12 Jun 2016 23:03:57 +0100
parents 24c3a0663d54
children a0698d523a6a
files Makefile examples/7segment/render.cpp examples/airharp/render.cpp examples/analogDigitalDemo/render.cpp examples/basic/render.cpp examples/basic_analog_input/render.cpp examples/basic_analog_output/render.cpp examples/basic_blink/render.cpp examples/basic_button/render.cpp examples/basic_libpd/render.cpp examples/basic_midi/render.cpp examples/basic_network/render.cpp examples/basic_passthru/render.cpp examples/basic_pulseIn/render.cpp examples/bucket_brigade_chorus/render.cpp examples/gpioAnalogLoopbackTest/render.cpp examples/level_meter/render.cpp examples/measure_noisefloor/render.cpp examples/mpr121/render.cpp examples/oscillator_bank/render.cpp examples/stepper/render.cpp examples/tank_wars/render.cpp scripts/hvresources/render.cpp
diffstat 23 files changed, 1 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Jun 12 18:16:20 2016 +0100
+++ b/Makefile	Sun Jun 12 23:03:57 2016 +0100
@@ -24,7 +24,7 @@
 ifdef EXAMPLE
   PROJECT?=exampleTempProject
   PROJECT_DIR?=$(abspath projects/$(PROJECT))
-  $(shell mkdir -p $(abspath projects)
+  $(shell mkdir -p $(abspath projects))
   $(shell rm -rf $(PROJECT_DIR))
   $(shell cp -r examples/$(EXAMPLE) $(PROJECT_DIR))
 else
--- a/examples/7segment/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/7segment/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -7,7 +7,6 @@
 
 
 #include <Bela.h>
-#include <Utilities.h>
 
 #define NUM_PINS 12
 
--- a/examples/airharp/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/airharp/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -18,7 +18,6 @@
 #include <stdio.h>
 #include <cstdlib>
 #include <rtdk.h>
-#include "../include/Utilities.h"
 
 #define ACCEL_BUF_SIZE 8
 #define NUMBER_OF_STRINGS 9
--- a/examples/analogDigitalDemo/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/analogDigitalDemo/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -30,7 +30,6 @@
 */
 
 #include <Bela.h>
-#include <Utilities.h>
 #include <cmath>
 #include <rtdk.h>
 
--- a/examples/basic/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/basic/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -34,7 +34,6 @@
 
 #include <Bela.h>
 #include <cmath>
-#include <Utilities.h>
 
 float gFrequency = 440.0;
 float gPhase;
--- a/examples/basic_analog_input/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/basic_analog_input/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -44,7 +44,6 @@
 */
 
 #include <Bela.h>
-#include <Utilities.h>
 #include <rtdk.h>
 #include <cmath>
 
--- a/examples/basic_analog_output/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/basic_analog_output/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -45,7 +45,6 @@
 */
 
 #include <Bela.h>
-#include <Utilities.h>
 #include <rtdk.h>
 #include <cmath>
 
--- a/examples/basic_blink/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/basic_blink/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -40,7 +40,6 @@
 */
 
 #include <Bela.h>
-#include <Utilities.h>
 #include <cmath>
 #include <rtdk.h>
 
--- a/examples/basic_button/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/basic_button/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -38,7 +38,6 @@
 */
 
 #include <Bela.h>
-#include <Utilities.h>
 #include <cmath>
 #include <rtdk.h>
 #include <stdlib.h>
--- a/examples/basic_libpd/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/basic_libpd/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -8,7 +8,6 @@
 #include <Bela.h>
 #include <DigitalChannelManager.h>
 #include <cmath>
-#include <Utilities.h>
 #include <I2c_Codec.h>
 #include <PRU.h>
 #include <stdio.h>
--- a/examples/basic_midi/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/basic_midi/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -7,7 +7,6 @@
 
 #include <Bela.h>
 #include <Midi.h>
-#include <Utilities.h>
 #include <stdlib.h>
 #include <rtdk.h>
 #include <cmath>
--- a/examples/basic_network/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/basic_network/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -32,7 +32,6 @@
 #include <cmath>
 #include <NetworkSend.h>
 #include <ReceiveAudioThread.h>
-#include <Utilities.h>
 
 // setup() is called once before the audio rendering starts.
 // Use it to perform any initialisation and allocation which is dependent
--- a/examples/basic_passthru/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/basic_passthru/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -66,7 +66,6 @@
 */
 
 #include <Bela.h>
-#include <Utilities.h>
 #include <rtdk.h>
 
 // setup() is called once before the audio rendering starts.
--- a/examples/basic_pulseIn/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/basic_pulseIn/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -7,7 +7,6 @@
 
 #include <Bela.h>
 #include <PulseIn.h>
-#include <Utilities.h>
 #include <stdlib.h>
 #include <rtdk.h>
 #include <cmath>
--- a/examples/bucket_brigade_chorus/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/bucket_brigade_chorus/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -1,7 +1,6 @@
 #include <Bela.h> 
 #include <Scope.h>
 #include <cmath>
-#include <Utilities.h>
 
 float gPhase1, gPhase2;
 float gFrequency1, gFrequency2;
--- a/examples/gpioAnalogLoopbackTest/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/gpioAnalogLoopbackTest/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -1,5 +1,4 @@
 #include <Bela.h>
-#include <Utilities.h>
 #include <cmath>
 #include <rtdk.h>
 #include <sys/time.h>
--- a/examples/level_meter/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/level_meter/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -7,7 +7,6 @@
 
 
 #include <Bela.h>
-#include <Utilities.h>
 #include <cmath>
 
 #define NUMBER_OF_SEGMENTS	10
--- a/examples/measure_noisefloor/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/measure_noisefloor/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -7,7 +7,6 @@
 
 
 #include <Bela.h>
-#include <Utilities.h>
 #include <cmath>
 
 int gBufferSize = 8192;
--- a/examples/mpr121/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/mpr121/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -1,5 +1,4 @@
 #include <Bela.h>
-#include <Utilities.h>
 #include <cmath>
 #include <rtdk.h>
 #include "I2C_MPR121.h"
--- a/examples/oscillator_bank/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/oscillator_bank/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -25,7 +25,6 @@
 */
 
 #include <Bela.h>
-#include <Utilities.h>
 #include <rtdk.h>
 #include <cstdlib>
 #include <cmath>
--- a/examples/stepper/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/stepper/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -7,7 +7,6 @@
 
 
 #include <Bela.h>
-#include <Utilities.h>
 
 const int kStepLengthSlow = 1000;
 const int kStepLengthFast = 500;
--- a/examples/tank_wars/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/examples/tank_wars/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -7,7 +7,6 @@
 
 
 #include <Bela.h>
-#include <Utilities.h>
 #include "game.h"
 #include <rtdk.h>
 #include <cmath>
--- a/scripts/hvresources/render.cpp	Sun Jun 12 18:16:20 2016 +0100
+++ b/scripts/hvresources/render.cpp	Sun Jun 12 23:03:57 2016 +0100
@@ -14,7 +14,6 @@
 #include <Bela.h>
 #include <Midi.h>
 #include <cmath>
-#include "../include/Utilities.h"
 #include "Heavy_bbb.h"
 #include <string.h>
 #include <stdlib.h>