Giter Site home page Giter Site logo

gadgetfactory / designlab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alvieboy/zpuino

23.0 12.0 22.0 1.59 GB

FPGA Soft Processor IDE - Use Arduino Sketches and a schematic editor to make custom SOC designs for Papilo FPGA's.

Home Page: http://www.papillio.cc/

License: Other

Java 4.74% Shell 0.25% Python 0.83% Arduino 0.28% Perl 0.02% C++ 9.02% C 27.27% Logos 0.05% XS 0.02% HTML 56.40% Makefile 0.32% Objective-C 0.36% Processing 0.01% Assembly 0.33% CSS 0.07% Inno Setup 0.01% Batchfile 0.01% GDB 0.03%

designlab's Introduction

DesignLab IDE - A modified version of the Arduino IDE for the Papilio FPGA board. 
previously name ZAP IDE

Arduino is an open-source physical computing platform based on a simple i/o
board and a development environment that implements the Processing/Wiring
language. Arduino can be used to develop stand-alone interactive objects or
can be connected to software on your computer (e.g. Flash, Processing, MaxMSP).
The boards can be assembled by hand or purchased preassembled; the open-source
IDE can be downloaded for free.

For more information, see the website at: http://www.arduino.cc/
or the forums at: http://arduino.cc/forum/

To report a bug in the software, go to:
http://github.com/arduino/Arduino/issues

For other suggestions, use the forum:
http://arduino.cc/forum/index.php/board,21.0.html

INSTALLATION
Detailed instructions are in reference/Guide_Windows.html and
reference/Guide_MacOSX.html.  For Linux, see the Arduino playground:
http://www.arduino.cc/playground/Learning/Linux

CREDITS
Arduino is an open source project, supported by many.

The Arduino team is composed of Massimo Banzi, David Cuartielles, Tom Igoe,
Gianluca Martino, Daniela Antonietti, and David A. Mellis.

Arduino uses the GNU avr-gcc toolchain, avrdude, avr-libc, and code from
Processing and Wiring.

Icon and about image designed by ToDo: http://www.todo.to.it/

DesignLab 1.0.8 - 2017.01.04
[DesignLab Libraries]
	-Added a new Video Audio Player example.
	-Fixes for RetroCade Synth libraries.

DesignLab 1.0.7 - 2015.06.16
[ide]
	-Fix problem with saving a new project and then having to save again when opening library.
	-When opening Logic Analyzer project there is now an option to load a LA bit file to the FPGA.
	-LA icon added to menu bar.
	
[DesignLab Libraries]
	-Benchy Logic Analyzer library updated with 16 and 32 Channel circuit symbols.
	-SmartMatrix RGB Panel Library added. (Color Correction not enabled.)
	-RGB Panel circuit symbol and wing symbol added.
	-1-Pixel Pacman working with SmartMatrix RGB Panel library.
	-Animated GIFs working with SmartMatrix RGB Panel library.
	-Add Wing buses to ucf files.
	-Gameduino library fixed and fully working again.

DesignLab 1.0.6 - 2015.05.13
[ide]
Fix CTL-Z opening a new ZPUino project instead of undo edit.

[DesignLab Libraries]
	-Servo library works for ZPUino and AVR now.
	-I2C schematic symbol and library added.
	-WiiChuck example added, using I2C.
	-Robot Control Library - PWM and Quadrature Decoder working.
	-RetroCade Synth is updated and completely working with ZPUino 2.0 now.
	-PS/2 library added for AVR and ZPUino. Mouse and keyboard support.

DesignLab 1.0.5 - 2015.04.01
[ide]
Upgrade to Papilio Loader 2.8
New Project types added to File and the toolbar icon. (CTL and shift for other types)
Multiple New Library types added. (Standalone library, Wishbone Schematic Library, Wishbone VHDL Library)

[DesignLab Libraries]
New modes for Alvaro's VGA adapter. RGB332 with resolution of 1024x768 on Papilio DUO now supported.

DesignLab 1.0.4 - 2015.03.06
[zpuino]
Fix newline's in the STDIO library

[ide]
Numerous bug fixes, particularly for Linux.

DesignLab 1.0.3 - 2015.02.27
[zpuino]
Enabled DMA channels
Increase the memory address lines of Papilio DUO to support 2MB
Disable POSIX interface for Papilio One boards to save memory.
Allow new 2.0 libraries to specify the Wishbone slot using (Wishbone(1)).
Full malloc() support.
Lots of bug fixes.

[ide]
Merged in the Arduino 1.5.8 code.
Serial ports are detected and labels are added to identify the type of board connected.
Warn if people forget to synthesize bit files.
Comment out #define circuit when saving a library.
Papilio Loader upgraded to 2.7.
Support adding a config.h file for project wide #defines.
Lots of bug fixes.

[DesignLab Libraries]
New DMA VGA adapter with 16-bit color and dynamic resolution and uses AdaFruit_GFX library.
PNG and JPG libraries for use with the new VGA adapter.
ZLib compression library
Dynamic PLL library.
SD card library and examples.
FatFS for use with POSIX names and VGA adapter.
Dual DeltaSigma DAC library.
Basic Building Blocks library with Counters, bus taps, Dividers, etc.

DesignLab 1.0.1 - 2015.01.22
[zpuino]
Fixed boards.txt file for the Hyperion variant.

[DesignLab Libraries]
Fixed the Arcade MegaWing pullups.

DesignLab 1.0.0 - 2015.01.21
[ide]
*Fix symbols not closing properly.
*Check for comments before #define circuit statements

[designlab libraries]
*Separate Arcade MegaWing and LogicStart MegaWing circuits to their own libraries.
*Update Utility.sch with Papilio DUO IO connections.
*Add ZPUino Hyperion variant for Papilio One 500K.
*Added Pullups to the Arcade MegaWing Circuit.

DesignLab 0.2.1 - 2015.01.01
[ide]
*Digitally signed the drivers for easy install in Windows 8

ZAP 2.3.0 - 2014.3.25
[ide]
*Program bit files with the internal loader instead of loading externally.
*Made a table of contents for all projects that is loaded as the default sketch.
*Everything works in Linux now.
*There is a option in the preferences window to set location of adobe reader and ISE.
*AVR8 works under Linux now.
*Logic Analyzer client is in a shared location now.
*Papilio Loader is included in a shared location.
*Papilio menu is re-organized.
*New project option added to the Papilio menu.

ZAP 2.2.0 - 2014.1.30
[ide]
*Updates to make linux build work
*Copy entire contents of a sketch directory when doing a SaveAs

[Papilio Schematic Libary - Version 1.6]
-Moved libraries into sketch folder so sketches can be saved in any location
-JTAG Logic Analyzer Example
-Analog Wing Example
-Updated RetroCade Synth example with support for Analog readout

ZAP 2.1	- 2014.1.16
[ide]
* Allow clickable URLs in the sketch for bit files, ISE projects, and schematics.
* Add Papilio Menu
* Add Papilio Schematic Library 1.5

[zpuino]
* Fix missing Papilio Pro ID from bootloader/board type.
* Add SPI library
* Add SPIADC library
* Add SevenSegment Hardware library
* Update all libraries to allow selecting what wishbone slot to use.

ZAP 2.0.7 BETA - 2013.11.26

[zpuino]
* Updated audio libraries to allow specifying the wishbone slot. This is for Papilio Schematic Library.
* Removed ZPU 2.0, it was confusing people.

ZAP 2.0.6 BETA - 2013.10.16

[zpuino]
* Added all RetroCade libraries, YM2149, SID, YM2149 Player, SID Player, Modplayer

ZAP 2.0.5 BETA - 2013.07.17

[avr8]
* Ethercard library to support enc28J60 boards including the soon to come Ethernet Wing. Greg Samsa responded to the hacking challenge and made this library work with the Papilio.

ZAP 2.0.4 BETA - 2013.07.03

[avr8]
* BUG Fix: Compiling a sketch more then once would not result in updated code loaded to Papilio board. Makefile was updated to detect change to the hex file.

ZAP 2.0.3 BETA - 2013.06.26

[zpuino]
* Removed 2.0 interrupts from 1.0 code base.

ZAP 2.0.2 BETA - 2013.06.05

[zpuino]
* Fix for bootloader issue introduced in 2.0.1
* Fix for VGALiquidCrystal library

ZAP 2.0.1 BETA - 2013.06.04

[zpuino]
* Fix for missing Hyperion board type from VGA.h

ZAP 2.0.0 BETA - 2013.06.04

[zpuino]
* Added Hyperion variants for LogicStart and Arcade MegaWing board types
* Added bootloader functionality that associates bit files with each board type
* Libraries moved to ZPUino hardware type
* Experimental ZPUino 2.0 plugin added

designlab's People

Contributors

aethaniel avatar alvieboy avatar amcewen avatar amulya349 avatar cmaglie avatar damellis avatar daveackley avatar dcuartielles avatar eighthave avatar fede85 avatar ffissore avatar fulvioieva avatar gandrewstone avatar jackgassett avatar jcbuda avatar kdgoup avatar lauszus avatar matthijskooijman avatar mlafauci avatar ntruchsess avatar paulstoffregen avatar projectgus avatar ribbons avatar ricklon avatar s17t avatar shfitz avatar tigoe avatar travisg avatar westfw avatar zeveland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

designlab's Issues

DesignLab IDE Installation and GitHub Build Issues

I'm facing challenges:

1>Unable to find DesignLab IDE installer.
2>Encountered errors while building from GitHub source.
3>Broken links on forum pages.

BUILD FAILED
D:\FPGA Learn\soft-core\DesignLab-DesignLab_1.0.8\build\build.xml:61: The following error occurred while executing this line:
D:\FPGA Learn\soft-core\DesignLab-DesignLab_1.0.8\build\build.xml:867: The following error occurred while executing this line:
D:\FPGA Learn\soft-core\DesignLab-DesignLab_1.0.8\build\build.xml:657: Execute failed: java.io.IOException: Cannot run program "unzip" (in directory "D:\FPGA Learn\soft-core\DesignLab-DesignLab_1.0.8\build"): CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
at java.base/java.lang.Runtime.exec(Runtime.java:589)
at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:424)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:438)
at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:660)
at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:699)
at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:527)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
at jdk.internal.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
at org.apache.tools.ant.Main.runBuild(Main.java:818)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.(ProcessImpl.java:487)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:154)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
... 50 more

Total time: 3 seconds

DesignLab overwrites library assignments on every opening of a project

In this thread Jack helped me out to find the cause why the ISim simulation of a simple design did not work. The fix was to move DesignLab library files in ISE from the "DesignLab" library folder into the "work" folder.

The problem is that DesignLab rewrites the library assignments when the project is opened again in DesignLab. So after a project has been fixed in ISE for running an ISim simulation, after closing the design in ISE and closing the sketch in DesignLab, and after reopening the sketch in DesignLab and reopening the design in ISE, the simulation is broken again,

'Error while burning bootloader. java.lang.NullPointerException' if wrong board selected

If you have selected the wrong board you get the an unhelpful message when trying to run 'Burn Bootloader'.

i.e. if you select 'Papilio FPGA Boards>Papilio Duo FPGA .......' instead of 'Papilio DUO - AVR>Papilio DUO - AVR USB' you will get the following message

Error while burning bootloader.
java.lang.NullPointerException
at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:339)
at processing.app.Editor$59.run(Editor.java:2838)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

The tools should give a message reminding the user of the correct physical connections to make and board to select.

This is against DesignLab v1.0.3

Burn Bootloader doesn't use the correct path

When trying to burn the bootloader, it gets most of the path wrong.
Here is the path it is trying:
"D:DesignLab-1.0.7hardwarearduinoavr/bootloaders/bootloader.file"

It is missing a lot of slashes.

'java.io.IOException: Cannot run program papilio-prog.exe' on linux while burning bootloader

I receive a 'java.io.IOException: Cannot run program' error when I try and run burn bootloader on linux. This fails on linux as the program it is trying to call 'papilio-prog.exe' is 1) not executable and 2) a windows binary.

If I delete the papilio-prog.exe and copy in the linux executable from the parent directory and rename it to papilio-prog.exe, then the bootloader burn works fine.

java.io.IOException: Cannot run program ".xxxxxxxxxxx/DesignLab-1.0.3/hardware/tools/papilio/papilio_loader/bin/papilio-prog.exe": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:485)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:13)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:105)
at cc.arduino.packages.uploaders.SerialUploader.burnBootloader(SerialUploader.java:383)
at processing.app.Editor$59.run(Editor.java:2838)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:187)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 20 more
Error while burning bootloader.

Designlab 1.0.6 load circuit

Hello,
when I hit the load button I get:
C:\DesignLab-1.0.6\hardware\tools\papilio\papilio_loader\Papilio_Programmer.bat ..\Papilio_Programmer.sh: line 4: $'\r': command not found
C:\DesignLab-1.0.6\hardware\tools\papilio\papilio_loader\Papilio_Programmer.bat..\Papilio_Programmer.sh: line 5: set: - : invalid option
set: usage: set [--abefhkmnptuvxBCHP] [-o option-name] [arg ...]
C:\DesignLab-1.0.6\hardware\tools\papilio\papilio_loader\Papilio_Programmer.bat_..\Papilio_Programmer.sh: line 6: $'\r': command not found_
C:\DesignLab-1.0.6\hardware\tools\papilio\papilio_loader\Papilio_Programmer.bat ..\Papilio_Programmer.sh: line 8: $'\r': command not found
C:\DesignLab-1.0.6\hardware\tools\papilio\papilio_loader\Papilio_Programmer.bat ..\Papilio_Programmer.sh: line 14: $'\r': command not found
C:\DesignLab-1.0.6\hardware\tools\papilio\papilio_loader\Papilio_Programmer.bat ..\Papilio_Programmer.sh: line 16: $'\r': command not found
C:\DesignLab-1.0.6\hardware\tools\papilio\papilio_loader\Papilio_Programmer.bat _..\Papilio_Programmer.sh: line 17: syntax error near unexpected token $'in\r''_ _C:\DesignLab-1.0.6\hardware\tools\papilio\papilio_loader\Papilio_Programmer.bat_ *..\Papilio_Programmer.sh: line 17: case "$return_value" in *

I'm on Windows 7 32bit

update readme

It looks the the actual readme lives in readme.txt. If you rename it to README.md (deleting the existing one), then it will show on the github project page.

Are there build instructions for the DesignLab IDE?

Design Lab 1.0.3, papilio-prog and libftdi on Fedora 21

On Fedora 21 I had to install both the 32 and 64 bit versions of the libftdi as the Design Lab 1.0.3 64 bit download contains and uses both the 32bit and 64 bit versions of papilio-prog

Can you only include 64 bit the version of papilio-prog in the 64 bit download?

Furthermore, Fedora 21 uses a more recent version of libftdi (v1.2), and the library is actually called libftdi1.

/usr/lib/libftdi1.so.2
/usr/lib64/libftdi1.so.2

I can fix this by creating 2 symbolic links as shown below
/usr/lib/libftdi.so.1 -> libftdi1.so.2
/usr/lib64/libftdi.so.1 -> libftdi1.so.2

Can you create these symbolic links in your ftdi_user.sh script if required?

On a related note, can you only include and reference a single papilio-prog in the download zip? I count it included 5 different times

./hardware/tools/papilio/papilio-prog
./hardware/tools/papilio/lin64/papilio-prog
./hardware/tools/papilio/papilio_loader/papilio-prog
./hardware/tools/papilio/lin32/papilio-prog
./tools/Papilio_Loader/programmer/linux32/papilio-prog

Burn of bootloader failed with DesignLab 1.0.3 and DesignLab 1.0.1 on Kubuntu 64 bits

When trying to restore the AVR bootloader I obtain an error message because file DesignLab-1.0.x/hardware/arduino/avr/bootloaders/caterina/Caterina-Papilio-duo.hex do not exist.

The correct file seems to be DesignLab-1.0.x/hardware/arduino/avr/bootloaders/caterina/Caterina-Papilio-DUO.hex
By creating a symbolic link the burn of bootloader is now successfull

Coudl you perform the necessary corrections in DesignLab so that it searchs the correct name ?

Compilation of Basic Arduino Sketch failed with designLab-1.0.3

I just downloaded DesignLab-1.0.3 and tried to compile a simple sketch ( Arduino basic blink LED) in order to test upload to AVR side but there is an issue inside DesignLab at the end of compilation:

Sketch uses 4,732 bytes (16%) of program storage space. Maximum is 28,672 bytes.
Global variables use 42 bytes (1%) of dynamic memory, leaving 2,518 bytes for local variables. Maximum is 2,560 bytes.
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:454)
at java.lang.Integer.parseInt(Integer.java:527)
at processing.app.Sketch.size(Sketch.java:1721)
at processing.app.Sketch.build(Sketch.java:1604)
at processing.app.Sketch.exportApplet(Sketch.java:1625)
at processing.app.Sketch.exportApplet(Sketch.java:1611)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2666)
at java.lang.Thread.run(Thread.java:745)

SPI issue

Hey guys - there's a compilation error for anything that uses SPI in my new 1.0.4 installation that has been there from the previous 1.0.3 installations. This example is from the analog wing example. The fix is easy (comment out line 16 of libraries/SPIADC/SPIADC.h). I thought I had seen this change made previously in github. Or perhaps the fix is actually supposed to be elsewhere?
Build options changed, rebuilding all
In file included from WING_Analog.ino:50:
C:/DesignLab-1.0.4/libraries/SPIADC/SPIADC.h:16: error: redefinition of struct CS' C:/DesignLab-1.0.4/hardware/zpuino/zpu20/libraries/SPI/SPI.h:55: error: previous definition ofstruct CS'
Error compiling.

http://forum.gadgetfactory.net/index.php?/topic/2257-designlab-104-released/#entry15466

New DesignLab library fails if canceled out.

  1. Uninstall and reinstall DesignLab-1.0.3 -> the file "C:\DesignLab-1.0.3\examples\Template_DesignLab_Library\edit_library.ino" is present
  2. Start DesignLab
  3. Click "New DesignLab Library" -> The file selection box will open as expected
  4. Now press "Cancel" -> After this the file "C:\DesignLab-1.0.3\examples\Template_DesignLab_Library\edit_library.ino" is gone
  5. The next attempt to click "New DesignLab Library" will now fail and only produce the Java exception reported in an earlier post.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.