Designlab 1.0.4 and Logicstart Megawing


Juhizo

Recommended Posts

It's been while from last project. But now tried to compile example code for Logicstart megawing and Papilio Pro, and next error appeared. Just reporting if anyone has same issue:
 

In file included from MegaWing_Logicstart.ino:31: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 of `struct CS'Virhe käännettäessä.
 
Link to comment
Share on other sites

There is something horribly wrong to use Papilio PRO LX9 with this DesignLab. Even the upload doesn't work out of box. There is something that I don't get now. Loaded multiple .bit files succesfull also, but just no luck with IDE loader (where is the right .bit for this combination?)

 

Edit: Win 8.1

Connecting...[1425913660.189966] Tx: 0x7e 0x01 0x1e 0x0e 0x7eRx: 0xfa 0x00 0xfa 0xff 0xfa 0x00Connecting...[1425913661.102610] Tx: 0x7e 0x01 0x1e 0x0e 0x7eConnecting...[1425913662.015283] Tx: 0x7e 0x01 0x1e 0x0e 0x7eConnecting...
Link to comment
Share on other sites

  • 3 months later...
Arduino: 1.0.7 (Windows 7), Card :"Papilio Pro - ZPUino with Retrocade synth"

 

Found smallfs directory

 

C:\DesignLab-1.0.7/hardware/tools/zpu/bin/mksmallfs C:\Users\Juhizo\AppData\Local\Temp\build2810356164267746887.tmp/smallfs.dat C:\DesignLab-1.0.7\examples\Audio_RetroCade_Synth/smallfs 

 

SmallFS: Packed 11 files sucessfully!!!

Audio_RetroCade_Synth.ino: In function `void setup()':

Audio_RetroCade_Synth.ino:139: warning: unused variable 'input'

C:/DesignLab-1.0.7/hardware/zpuino/libraries/MIDI/MIDI.hpp: At global scope:

C:/DesignLab-1.0.7/hardware/zpuino/libraries/MIDI/MIDI.hpp:784: warning: unused parameter 'inChannel'

C:/DesignLab-1.0.7/hardware/zpuino/libraries/MIDI/MIDI.hpp:1115: warning: unused parameter 'inChannel'

C:/DesignLab-1.0.7/hardware/zpuino/libraries/MIDI/MIDI.hpp:784: warning: unused parameter 'inChannel'

C:/DesignLab-1.0.7/hardware/zpuino/libraries/MIDI/MIDI.hpp:1115: warning: unused parameter 'inChannel'

Audio_RetroCade_Synth.ino:388: warning: unused parameter 'velocity'

Audio_RetroCade_Synth.ino:342: warning: unused parameter 'velocity'

RetroCade.cpp: In member function `void RETROCADE::smallfsModFileJoystick(unsigned char)':

RetroCade.cpp:407: warning: 'playing' might be used uninitialized in this function

C:\DesignLab-1.0.7\libraries\SID\sid.cpp:127: warning: unused parameter 'address'

C:\DesignLab-1.0.7\libraries\SID\sid.cpp:127: warning: unused parameter 'address'

C:\DesignLab-1.0.7\libraries\SID\sid.cpp:76: warning: unused parameter 'slot'

C:\DesignLab-1.0.7\libraries\SID\sid.cpp:76: warning: unused parameter 'slot'

C:\DesignLab-1.0.7\libraries\YM2149\YM2149.cpp:91: warning: unused parameter 'active'

C:\DesignLab-1.0.7\hardware\zpuino\zpu20\libraries\SmallFS\SmallFS.cpp:400: warning: missing initializer for member `zfops::fstat'

In file included from C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/HardwareSerial.h:4,

                 from C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/Arduino.h:8,

                 from C:\DesignLab-1.0.7\hardware\zpuino\libraries\LiquidCrystal\LiquidCrystal.cpp:6:

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:13: error: conflicting declaration 'typedef struct __zFILE FILE'

C:/DesignLab-1.0.7/hardware/tools/zpu/bin/../lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/include/stdio.h:50: error: 'FILE' has a previous declaration as `typedef struct __FILE FILE'

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:13: error: declaration of `typedef struct __zFILE FILE'

C:/DesignLab-1.0.7/hardware/tools/zpu/bin/../lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/include/stdio.h:50: error: conflicts with previous declaration `typedef struct __FILE FILE'

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:13: error: declaration of `typedef struct __zFILE FILE'

C:/DesignLab-1.0.7/hardware/tools/zpu/bin/../lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/include/stdio.h:50: error: conflicts with previous declaration `typedef struct __FILE FILE'

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:13: error: declaration of `typedef struct __zFILE FILE'

C:/DesignLab-1.0.7/hardware/tools/zpu/bin/../lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/include/stdio.h:50: error: conflicts with previous declaration `typedef struct __FILE FILE'

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:26: error: declaration of C function `void fclose(FILE*)' conflicts with

C:/DesignLab-1.0.7/hardware/tools/zpu/bin/../lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/include/stdio.h:172: error: previous declaration `int fclose(FILE*)' here

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:31: error: expected unqualified-id before '--' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:31: error: expected `)' before '--' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:31: error: expected `,' or `;' before '--' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:32: error: expected unqualified-id before '--' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:32: error: expected `)' before '--' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:32: error: expected `,' or `;' before '--' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:35: error: conflicting declaration 'typedef int fpos_t'

C:/DesignLab-1.0.7/hardware/tools/zpu/bin/../lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/include/stdio.h:59: error: 'fpos_t' has a previous declaration as `typedef _fpos_t fpos_t'

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:35: error: declaration of `typedef int fpos_t'

C:/DesignLab-1.0.7/hardware/tools/zpu/bin/../lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/include/stdio.h:59: error: conflicts with previous declaration `typedef _fpos_t fpos_t'

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:35: error: declaration of `typedef int fpos_t'

C:/DesignLab-1.0.7/hardware/tools/zpu/bin/../lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/include/stdio.h:59: error: conflicts with previous declaration `typedef _fpos_t fpos_t'

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:41: error: declaration of C function `int fsetpos(FILE*, fpos_t*)' conflicts with

C:/DesignLab-1.0.7/hardware/tools/zpu/bin/../lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/include/stdio.h:207: error: previous declaration `int fsetpos(FILE*, const fpos_t*)' here

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:45: error: expected `)' before '->' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:45: error: expected init-declarator before '->' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:45: error: expected `,' or `;' before '->' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:46: error: expected `)' before '->' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:46: error: expected init-declarator before '->' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:46: error: expected `,' or `;' before '->' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:47: error: expected `)' before '->' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:47: error: expected init-declarator before '->' token

C:/DesignLab-1.0.7/hardware/zpuino/zpu20/cores/zpuino/zstdio.h:47: error: expected `,' or `;' before '->' token

C:\DesignLab-1.0.7\hardware\zpuino\libraries\LiquidCrystal\LiquidCrystal.cpp:85: warning: unused parameter 'cols'

Virhe käännettäessä.

 

  Tässä raportissa olisi enemmän tietoa

  "Näytä yksityiskohtaiset tiedot käännettäessä"

  sallittu Tiedosto > Asetuksissa
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.