Userspace Arduino Example

From eLinux.org
Revision as of 22:02, 16 July 2013 by Prpplague (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

danders@desktop-dev:~/Development/userspace-arduino/Userspace-Arduino$ ls
arduino-makefile  libarduino  README.md  utility
danders@desktop-dev:~/Development/userspace-arduino/Userspace-Arduino$ cd arduino-makefile/examples/PWM/
danders@desktop-dev:~/Development/userspace-arduino/Userspace-Arduino/arduino-makefile/examples/PWM$ make
-------------------------
Userspace.mk Configuration:
- [DEFAULT]            ARDUINO_DIR = /home/danders/Development/userspace-arduino/Userspace-Arduino 
- [DEFAULT]            USERSPACE_CORE_PATH = /home/danders/Development/userspace-arduino/Userspace-Arduino/libarduino/cores/virtual 
- [COMPUTED]           USERSPACE_VAR_PATH = /home/danders/Development/userspace-arduino/Userspace-Arduino/libarduino/variants/beaglebone (from USERSPACE_CORE_PATH)
- [COMPUTED]           BOARDS_TXT = /home/danders/Development/userspace-arduino/Userspace-Arduino/libarduino/boards.txt (from USERSPACE_CORE_PATH)
- [USER]               BOARD_TAG = userspace 
- [COMPUTED]           OBJDIR = build-userspace (from BOARD_TAG)
- [USER]               CROSS_COMPILE = arm-angstrom-linux-gnueabi- 
- [DEFAULT]            UPLOAD_UTILITY = /home/danders/Development/userspace-arduino/Userspace-Arduino/utility/send_exec.sh 
- [DEFAULT]            OPTIMIZATION_LEVEL = s 
- [DEFAULT]            USERSPACE_CORE_PATH = /home/danders/Development/userspace-arduino/Userspace-Arduino/libarduino/cores/virtual 
- [USER]               USERSPACE_VAR_PATH = /home/danders/Development/userspace-arduino/Userspace-Arduino/libarduino/variants/beaglebone 
-------------------------
mkdir -p build-userspace
Compliling build-userspace/PWM.o
Compliling build-userspace/sysfs.o
Compliling build-userspace/wiring_analog.o
Compliling build-userspace/wiring.o
Compliling build-userspace/wiring_digital.o
Compliling build-userspace/wiring_shift.o
Compliling build-userspace/HardwareSerial.o
Compliling build-userspace/main.o
Compliling build-userspace/Print.o
Compliling build-userspace/WMath.o
Compliling build-userspace/WString.o
Compliling build-userspace/variant.o
Creating build-userspace/libcore.a
Compliling build-userspace/PWM.elf
Build of PWM complete!

danders@desktop-dev:~/Development/userspace-arduino/Userspace-Arduino/arduino-makefile/examples/PWM$ make upload
-------------------------
Userspace.mk Configuration:
- [DEFAULT]            ARDUINO_DIR = /home/danders/Development/userspace-arduino/Userspace-Arduino 
- [DEFAULT]            USERSPACE_CORE_PATH = /home/danders/Development/userspace-arduino/Userspace-Arduino/libarduino/cores/virtual 
- [COMPUTED]           USERSPACE_VAR_PATH = /home/danders/Development/userspace-arduino/Userspace-Arduino/libarduino/variants/beaglebone (from USERSPACE_CORE_PATH)
- [COMPUTED]           BOARDS_TXT = /home/danders/Development/userspace-arduino/Userspace-Arduino/libarduino/boards.txt (from USERSPACE_CORE_PATH)
- [USER]               BOARD_TAG = userspace 
- [COMPUTED]           OBJDIR = build-userspace (from BOARD_TAG)
- [USER]               CROSS_COMPILE = arm-angstrom-linux-gnueabi- 
- [DEFAULT]            UPLOAD_UTILITY = /home/danders/Development/userspace-arduino/Userspace-Arduino/utility/send_exec.sh 
- [DEFAULT]            OPTIMIZATION_LEVEL = s 
- [DEFAULT]            USERSPACE_CORE_PATH = /home/danders/Development/userspace-arduino/Userspace-Arduino/libarduino/cores/virtual 
- [USER]               USERSPACE_VAR_PATH = /home/danders/Development/userspace-arduino/Userspace-Arduino/libarduino/variants/beaglebone 
-------------------------

Transfering PWM to root@192.168.7.2...root@192.168.7.2's password: 
Executing!


Begin output log
====================
root@192.168.7.2's password: 
BB-BONE-BACONE: File exists
3 0 
5 0 
6 0 
6 0 
6 2000 
6 4000 
6 6000 
6 8000 
6 10000 
6 12000 
6 14000 
6 16000 
6 18000 
6 20000 
6 20000 
6 18000 
6 16000 
6 14000 
6 12000 
6 10000 
6 8000 
6 6000 
6 4000 
6 2000 
6 0 
6 0