Author Topic: souliss  (Read 4045 times)

ellvini

  • Newbie
  • *
  • Posts: 3
souliss
« on: November 08, 2013, 02:53:09 am »
Hi does anyone know how to use and install souliss with digix ? because i get compile errors .. with arduino uno no problemo :s

Update:
The error that i got :
Code: [Select]
Arduino: 1.5.4 (Windows NT (unknown)), Board: "Digistump DigiX"

C:\Program Files (x86)\Arduino/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++ -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=154 -DARDUINO_SAM_DIGIX -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_PID=0x078A -DUSB_VID=0x16D0 -DUSBCON -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/libsam -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/CMSIS/CMSIS/Include/ -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/CMSIS/Device/ATMEL/ -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\cores\digix -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\variants\digix -IC:\Users\vincent\Documents\Arduino\libraries\Souliss C:\Users\vincent\AppData\Local\Temp\build1877360686925495709.tmp\ssOpenElectronics_ex01_RGBStrip.cpp -o C:\Users\vincent\AppData\Local\Temp\build1877360686925495709.tmp\ssOpenElectronics_ex01_RGBStrip.cpp.o

C:\Program Files (x86)\Arduino/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-g++ -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=154 -DARDUINO_SAM_DIGIX -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_PID=0x078A -DUSB_VID=0x16D0 -DUSBCON -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/libsam -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/CMSIS/CMSIS/Include/ -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\system/CMSIS/Device/ATMEL/ -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\cores\digix -IC:\Users\vincent\Documents\Arduino\hardware\digistump\sam\variants\digix -IC:\Users\vincent\Documents\Arduino\libraries\Souliss -IC:\Users\vincent\Documents\Arduino\libraries\Souliss\utility C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp -o C:\Users\vincent\AppData\Local\Temp\build1877360686925495709.tmp\Souliss\Souliss.cpp.o

In file included from C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:28:
C:\Users\vincent\Documents\Arduino\libraries\Souliss\/frame/MaCaco/MaCaco.cpp: In function 'U8 MaCaco_send(U16, U8, U8*, U8, U8, U8*)':
C:\Users\vincent\Documents\Arduino\libraries\Souliss\/frame/MaCaco/MaCaco.cpp:180: error: cast from 'U8*' to 'U16' loses precision
In file included from C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:28:
C:\Users\vincent\Documents\Arduino\libraries\Souliss\/frame/MaCaco/MaCaco.cpp: In function 'U8 MaCacoUserMode_send(U16, U8, U8*, U8, U8, U8, U8, U8*, U8*)':
C:\Users\vincent\Documents\Arduino\libraries\Souliss\/frame/MaCaco/MaCaco.cpp:225: error: cast from 'U8*' to 'U16' loses precision
C:\Users\vincent\Documents\Arduino\libraries\Souliss\/frame/MaCaco/MaCaco.cpp: In function 'U8 MaCaco_peruse(U16, MaCaco_rx_data_t*, U8*)':
C:\Users\vincent\Documents\Arduino\libraries\Souliss\/frame/MaCaco/MaCaco.cpp:559: error: cast from 'U8*' to 'U16' loses precision
C:\Users\vincent\Documents\Arduino\libraries\Souliss\/frame/MaCaco/MaCaco.cpp: In function 'U16 MaCaco_getputin()':
C:\Users\vincent\Documents\Arduino\libraries\Souliss\/frame/MaCaco/MaCaco.cpp:1059: error: cast from 'U8*' to 'U16' loses precision
C:\Users\vincent\Documents\Arduino\libraries\Souliss\/frame/MaCaco/MaCaco.cpp: In function 'U16 MaCaco_getdatabuffer()':
C:\Users\vincent\Documents\Arduino\libraries\Souliss\/frame/MaCaco/MaCaco.cpp:1100: error: cast from 'U8*' to 'U16' loses precision
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp: At global scope:
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:57: error: 'long unsigned int time' redeclared as different kind of symbol
c:\program files (x86)\arduino\hardware\tools\g++_arm_none_eabi\bin\../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/time.h:62: error: previous declaration of 'time_t time(time_t*)'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp: In function 'U8 Souliss_DigInHold(U8, U8, U8, U8*, U8)':
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:605: error: assignment of function 'time_t time(time_t*)'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:605: error: cannot convert 'uint32_t' to 'time_t(time_t*)' in assignment
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:610: error: invalid operands of types 'uint32_t' and 'time_t(time_t*)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:610: error: invalid operands of types 'uint32_t' and 'time_t(time_t*)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:610: error: invalid operands of types 'uint32_t' and 'time_t(time_t*)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:612: error: assignment of function 'time_t time(time_t*)'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:612: error: cannot convert 'uint32_t' to 'time_t(time_t*)' in assignment
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp: In function 'U8 Souliss_LowDigInHold(U8, U8, U8, U8*, U8)':
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:638: error: assignment of function 'time_t time(time_t*)'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:638: error: cannot convert 'uint32_t' to 'time_t(time_t*)' in assignment
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:643: error: invalid operands of types 'uint32_t' and 'time_t(time_t*)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:643: error: invalid operands of types 'uint32_t' and 'time_t(time_t*)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:643: error: invalid operands of types 'uint32_t' and 'time_t(time_t*)' to binary 'operator-'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:645: error: assignment of function 'time_t time(time_t*)'
C:\Users\vincent\Documents\Arduino\libraries\Souliss\Souliss.cpp:645: error: cannot convert 'uint32_t' to 'time_t(time_t*)' in assignment
« Last Edit: November 08, 2013, 03:00:47 am by ellvini »

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: souliss
« Reply #1 on: November 08, 2013, 10:34:59 am »
DigiX is compatible with Arduino Due compatible libraries - souliss doesn't look to be compatible with the Due, and likely would require a significant update to be compatible. The Due and DigiX are 32 bit ARM boards and the Uno is a 8bit AVR board, which leads to some differences in integers, registers, etc. If you wanted to convert it, looking up the errors with "Arduino Due" in the search would probably get you on the right track.

ellvini

  • Newbie
  • *
  • Posts: 3
Re: souliss
« Reply #2 on: November 09, 2013, 12:02:28 pm »
MM oke i found nothing :( but is it possible to upload a sketch to the digiX with wifi ?

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: souliss
« Reply #3 on: November 11, 2013, 04:01:54 pm »
Uploads over wifi are not yet supported and we won't be working on that until after the production release - though all the necessary hardware and connections are present for someone to implement it.