Development on Linux or Mac

I was very disappointed to find that all the development environments for the Rephone seem to require a Windows machine to run on - is this really the case - does it really require a custom Windows only version of the Arduino IDE - I got rid of my last windows machine years ago, and don’t remember anything from the campaign mentioning the restriction.

What the **** !
This is about as backward as any decision can be…

Few real developers use Windows for anything other than Windows apps…

Now I need to buy a cheap WinBlows Box? Not likely!

Seeeed provide a real developers kit that works for real developers SOON (yesterday)!

Yes, very disappointing…

Even the so-called “open source” code repository on github contains Win-binaries instead of true source code. Else, someone on Linux or Mac OS X could re-build and produce compatible tools.

Advertising RePhone as open source is NOT a good policy. Seeed needs to remedy this!

same here. Received my kit and found out that all docs are for windows. How to update the rephone on mac for example? MediaTek only offers windows software and drivers. All wiki articles are based on windows.

What is your plan going to be to support mac and other platforms? You haven’t advertised the rephone as a windows device on your kickstarter campaign. :confused:

Hi, it seems there is a LinkitOne SDK for Mac available here. Search for “LinkIt one SDK mac” in google, since the forum doesn’t allow me to post direct URLs for now.

LinkItOne and LinkItAssist seem to be basically the same SOC (MT2502) the only difference being the components included.

I’d have a look at it trying to reproduce the commands issued by the eclipse plugin on Windows. However it would be better if we could get an officially supported SDK.

— Log of the Windows Eclipse plugin —
13:55:58(INFO) Project path:C:/Users/Benoît/workspace
13:55:58(INFO) Project name:TestLinkit
13:55:58(INFO) c file list:C:/Users/Benoît/workspace/TestLinkit/TestLinkit.c
13:55:58(INFO) version—40
13:55:58(INFO) font—12
13:55:58(INFO) imageList—null
13:55:58(INFO) iconPath—
13:55:58(INFO) subversion40—WEARABLE
13:55:58(INFO) CTVvalueHex—65535
13:55:58(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\bin\arm-none-eabi-gcc”, -mthumb-interwork, -c, -gdwarf-2, -gstrict-dwarf, -fpic, -mcpu=arm7tdmi-s, -fvisibility=hidden, -mthumb, -mlittle-endian, -O2, -D__COMPILER_GCC__, -fno-exceptions, -fno-non-call-exceptions, -I, “C:/Users/Benoît/workspace/TestLinkit/ResID”, -I, “C:/Users/Benoît/workspace/TestLinkit/res”, -I, “S:\eclipse\LINKIT_ASSIST_SDK\include”, -D, HDK_LINKIT_ASSIST_2502, -c, “C:/Users/Benoît/workspace/TestLinkit/TestLinkit.c”, -o, “C:/Users/Benoît/workspace/TestLinkit/ARM/TestLinkit.o”]
13:55:58(INFO) Succeeded in compiling C:/Users/Benoît/workspace/TestLinkit/TestLinkit.c to obj file.
13:55:58(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\bin\arm-none-eabi-gcc”, -mthumb-interwork, -c, -gdwarf-2, -gstrict-dwarf, -fpic, -mcpu=arm7tdmi-s, -fvisibility=hidden, -mthumb, -mlittle-endian, -O2, -D__COMPILER_GCC__, -fno-exceptions, -fno-non-call-exceptions, -I, “C:/Users/Benoît/workspace/TestLinkit/ResID”, -I, “C:/Users/Benoît/workspace/TestLinkit/res”, -I, “S:\eclipse\LINKIT_ASSIST_SDK\include”, -D, HDK_LINKIT_ASSIST_2502, -c, “S:\eclipse\LINKIT_ASSIST_SDK\lib\LINKIT10\src\gccmain.c”, -o, “C:/Users/Benoît/workspace/TestLinkit/ARM/gccmain.o”]
13:55:58(INFO) Succeeded in compiling gccmain.c to obj file.
13:55:58(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\bin\arm-none-eabi-gcc”, -o, “C:/Users/Benoît/workspace/TestLinkit\arm\TestLinkit.axf”, “C:/Users/Benoît/workspace/TestLinkit/ARM/TestLinkit.o”, “C:/Users/Benoît/workspace/TestLinkit/ARM/gccmain.o”, -T, “S:\eclipse\LINKIT_ASSIST_SDK\lib\LINKIT10\armgcc_t\scat.ld”, -Wl,–gc-sections, -fpic, -pie, --specs=nosys.specs, -B, “S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\arm-none-eabi\lib\thumb”, “S:\eclipse\LINKIT_ASSIST_SDK\lib\LINKIT10\armgcc\percommon.a”]
13:55:59(INFO) Succeeded in linking obj to axf file.
13:55:59(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\bin\arm-none-eabi-objcopy”, -g, -R, .comment, “C:/Users/Benoît/workspace/TestLinkit\ARM\TestLinkittemp.axf”, “C:/Users/Benoît/workspace/TestLinkit\ARM\TestLinkitout.axf”]
13:55:59(INFO) Succeeded in generating dbg data file.
13:55:59(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\bin\arm-none-eabi-objcopy”, --only-keep-debug, “C:/Users/Benoît/workspace/TestLinkit\ARM\TestLinkittemp.axf”, “C:/Users/Benoît/workspace/TestLinkit\ARM\TestLinkit.dbg”]
13:55:59(INFO) Succeeded in splitting the dbg data from axf file.
13:55:59(INFO) Packing resource:

13:55:59(INFO) Resource Packer command:
13:55:59(INFO) “S:\eclipse\LINKIT_ASSIST_SDK\tools\ResEditor\CmdShell.exe”
13:55:59(INFO) Resource Packer command parameters:
13:55:59(INFO) [pack, -silent, -resolution, 128x160, -o, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.pkd”, -e, AXF, -vom, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.proj”, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.axf”]
13:55:59(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\ResEditor\CmdShell.exe”, pack, -silent, -resolution, 128x160, -o, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.pkd”, -e, AXF, -vom, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.proj”, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.axf”]
13:55:59(INFO) Resource Editor Command Shell
13:55:59(INFO) Loading resource from “.\res\TestLinkit.res.xml”…
13:55:59(INFO) Loading strings from “.\res\ref_list_TestLinkit.txt”…
13:55:59(INFO) [TestLinkit] open - 0 error(s), 0 warning(s)
13:55:59(INFO) pack resource started
13:55:59(INFO) construct app icon resource…
13:55:59(INFO) C:\Users\Benoît\workspace\TestLinkit\AppLogo.img
13:55:59(INFO) [warning] App icon file does not exist in project folder, use default icon
13:55:59(INFO) construct preview image resource…
13:55:59(INFO) construct base resource…
13:55:59(INFO) construct above resource…
13:55:59(INFO) construct language resource…
13:55:59(INFO) Language ID: 44
13:55:59(INFO) Language ID: 86
13:55:59(INFO) Language ID: 886
13:55:59(INFO) construct file resource…
13:55:59(INFO) construct image resource…
13:55:59(INFO) construct layout resource…
13:55:59(INFO) there are no any layout xml
13:55:59(INFO) construct resource done
13:55:59(INFO) construct app icon resource…
13:55:59(INFO) C:\Users\Benoît\workspace\TestLinkit\AppLogo.img
13:55:59(INFO) [warning] App icon file does not exist in project folder, use default icon
13:55:59(INFO) construct preview image resource…
13:55:59(INFO) construct base resource…
13:55:59(INFO) construct above resource…
13:55:59(INFO) construct language resource…
13:55:59(INFO) Language ID: 44
13:55:59(INFO) Language ID: 86
13:55:59(INFO) Language ID: 886
13:55:59(INFO) construct file resource…
13:55:59(INFO) construct image resource…
13:55:59(INFO) construct layout resource…
13:55:59(INFO) there are no any layout xml
13:55:59(INFO) construct resource done
13:55:59(INFO) pack resource done, result=0
13:55:59(INFO) pack done
13:55:59(INFO) Pack resource successful.

13:55:59(INFO) Begin to pack tag items:
13:55:59(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\PackDigist.exe”, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.vcproj”, “Demo” “2.0.0”, “MediaTek Inc”, “800”, “supportBg”, “Not Support rotate”, “Demo”, “Demo”, “Demo”, “1234567890”, “content”, "Audio Call Camera TCP File HTTP Sensor SIM card Record SMS(person) SMS(SP) BitStream Contact LBS MMS ProMng SMSMng Video XML Sec SysStorage Payment BT PUSH UDP SysFile sso ", “vxp”, “GCC”, “PKD”, “UnCompress”, “novenus”, “Adaptable”, “8388768”, “SysMemAble”, “2”, “prjoectcfg.appid”, “false”, “prjoectcfg.pushappid”, “-1”, “UnAutoStart”, “TransferImg”, “NoIdleShortcut”, “prjoectcfg.CTVvalueHex”]
13:55:59(INFO) Digist Packer Command Shell v3.1329.00
13:55:59(INFO) shell command arg count: 31
13:55:59(INFO) argv[0]: S:\eclipse\LINKIT_ASSIST_SDK\tools\PackDigist.exe
13:55:59(INFO) argv[1]: C:/Users/Benoît/workspace/TestLinkit\TestLinkit.vcproj
13:55:59(INFO) argv[2]: Demo
13:55:59(INFO) argv[3]: 2.0.0
13:55:59(INFO) argv[4]: MediaTek Inc
13:55:59(INFO) argv[5]: 800
13:55:59(INFO) argv[6]: supportBg
13:55:59(INFO) argv[7]: Not Support rotate
13:55:59(INFO) argv[8]: Demo
13:55:59(INFO) argv[9]: Demo
13:55:59(INFO) argv[10]: Demo
13:55:59(INFO) argv[11]: 1234567890
13:55:59(INFO) argv[12]: content
13:55:59(INFO) argv[13]: Audio Call Camera TCP File HTTP Sensor SIM card Record SMS(person) SMS(SP) BitStream Contact LBS MMS ProMng SMSMng Video XML Sec SysStorage Payment BT PUSH UDP SysFile sso
13:55:59(INFO) argv[14]: vxp
13:55:59(INFO) argv[15]: GCC
13:55:59(INFO) argv[16]: PKD
13:55:59(INFO) argv[17]: UnCompress
13:55:59(INFO) argv[18]: novenus
13:55:59(INFO) argv[19]: Adaptable
13:55:59(INFO) argv[20]: 8388768
13:55:59(INFO) argv[21]: SysMemAble
13:55:59(INFO) argv[22]: 2
13:55:59(INFO) argv[23]: prjoectcfg.appid
13:55:59(INFO) argv[24]: false
13:55:59(INFO) argv[25]: prjoectcfg.pushappid
13:55:59(INFO) argv[26]: -1
13:55:59(INFO) argv[27]: UnAutoStart
13:55:59(INFO) argv[28]: TransferImg
13:55:59(INFO) argv[29]: NoIdleShortcut
13:55:59(INFO) argv[30]: prjoectcfg.CTVvalueHex
13:55:59(INFO) adaptable = 1
13:55:59(INFO) Pack tag items done.

13:55:59(INFO) Begin to upload application.

13:55:59(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\PushCmdShell.exe”, “C:/Users/Benoît/workspace/TestLinkit\ARM\TestLinkit_default.vxp”]
13:56:00(INFO) Error Number:1001
13:56:00(INFO) Device not found and failed to push application to the device.
14:14:33(INFO) Project path:C:/Users/Benoît/workspace
14:14:33(INFO) Project name:TestLinkit
14:14:33(INFO) c file list:C:/Users/Benoît/workspace/TestLinkit/TestLinkit.c
14:14:33(INFO) version—40
14:14:33(INFO) font—12
14:14:33(INFO) imageList—null
14:14:33(INFO) iconPath—
14:14:33(INFO) subversion40—WEARABLE
14:14:33(INFO) CTVvalueHex—65535
14:14:33(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\bin\arm-none-eabi-gcc”, -mthumb-interwork, -c, -gdwarf-2, -gstrict-dwarf, -fpic, -mcpu=arm7tdmi-s, -fvisibility=hidden, -mthumb, -mlittle-endian, -O2, -D__COMPILER_GCC__, -fno-exceptions, -fno-non-call-exceptions, -I, “C:/Users/Benoît/workspace/TestLinkit/ResID”, -I, “C:/Users/Benoît/workspace/TestLinkit/res”, -I, “S:\eclipse\LINKIT_ASSIST_SDK\include”, -D, HDK_LINKIT_ASSIST_2502, -c, “C:/Users/Benoît/workspace/TestLinkit/TestLinkit.c”, -o, “C:/Users/Benoît/workspace/TestLinkit/ARM/TestLinkit.o”]
14:14:33(INFO) Succeeded in compiling C:/Users/Benoît/workspace/TestLinkit/TestLinkit.c to obj file.
14:14:33(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\bin\arm-none-eabi-gcc”, -mthumb-interwork, -c, -gdwarf-2, -gstrict-dwarf, -fpic, -mcpu=arm7tdmi-s, -fvisibility=hidden, -mthumb, -mlittle-endian, -O2, -D__COMPILER_GCC__, -fno-exceptions, -fno-non-call-exceptions, -I, “C:/Users/Benoît/workspace/TestLinkit/ResID”, -I, “C:/Users/Benoît/workspace/TestLinkit/res”, -I, “S:\eclipse\LINKIT_ASSIST_SDK\include”, -D, HDK_LINKIT_ASSIST_2502, -c, “S:\eclipse\LINKIT_ASSIST_SDK\lib\LINKIT10\src\gccmain.c”, -o, “C:/Users/Benoît/workspace/TestLinkit/ARM/gccmain.o”]
14:14:33(INFO) Succeeded in compiling gccmain.c to obj file.
14:14:33(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\bin\arm-none-eabi-gcc”, -o, “C:/Users/Benoît/workspace/TestLinkit\arm\TestLinkit.axf”, “C:/Users/Benoît/workspace/TestLinkit/ARM/TestLinkit.o”, “C:/Users/Benoît/workspace/TestLinkit/ARM/gccmain.o”, -T, “S:\eclipse\LINKIT_ASSIST_SDK\lib\LINKIT10\armgcc_t\scat.ld”, -Wl,–gc-sections, -fpic, -pie, --specs=nosys.specs, -B, “S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\arm-none-eabi\lib\thumb”, “S:\eclipse\LINKIT_ASSIST_SDK\lib\LINKIT10\armgcc\percommon.a”]
14:14:33(INFO) Succeeded in linking obj to axf file.
14:14:33(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\bin\arm-none-eabi-objcopy”, -g, -R, .comment, “C:/Users/Benoît/workspace/TestLinkit\ARM\TestLinkittemp.axf”, “C:/Users/Benoît/workspace/TestLinkit\ARM\TestLinkitout.axf”]
14:14:33(INFO) Succeeded in generating dbg data file.
14:14:33(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\gcc-arm-none-eabi-4_9-2014q4-20141203-win32\bin\arm-none-eabi-objcopy”, --only-keep-debug, “C:/Users/Benoît/workspace/TestLinkit\ARM\TestLinkittemp.axf”, “C:/Users/Benoît/workspace/TestLinkit\ARM\TestLinkit.dbg”]
14:14:33(INFO) Succeeded in splitting the dbg data from axf file.
14:14:33(INFO) Packing resource:

14:14:33(INFO) Resource Packer command:
14:14:33(INFO) “S:\eclipse\LINKIT_ASSIST_SDK\tools\ResEditor\CmdShell.exe”
14:14:33(INFO) Resource Packer command parameters:
14:14:33(INFO) [pack, -silent, -resolution, 128x160, -o, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.pkd”, -e, AXF, -vom, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.proj”, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.axf”]
14:14:33(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\ResEditor\CmdShell.exe”, pack, -silent, -resolution, 128x160, -o, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.pkd”, -e, AXF, -vom, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.proj”, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.axf”]
14:14:34(INFO) Resource Editor Command Shell
14:14:34(INFO) Loading resource from “.\res\TestLinkit.res.xml”…
14:14:34(INFO) Loading strings from “.\res\ref_list_TestLinkit.txt”…
14:14:34(INFO) [TestLinkit] open - 0 error(s), 0 warning(s)
14:14:34(INFO) pack resource started
14:14:34(INFO) construct app icon resource…
14:14:34(INFO) C:\Users\Benoît\workspace\TestLinkit\AppLogo.img
14:14:34(INFO) [warning] App icon file does not exist in project folder, use default icon
14:14:34(INFO) construct preview image resource…
14:14:34(INFO) construct base resource…
14:14:34(INFO) construct above resource…
14:14:34(INFO) construct language resource…
14:14:34(INFO) Language ID: 44
14:14:34(INFO) Language ID: 86
14:14:34(INFO) Language ID: 886
14:14:34(INFO) construct file resource…
14:14:34(INFO) construct image resource…
14:14:34(INFO) construct layout resource…
14:14:34(INFO) there are no any layout xml
14:14:34(INFO) construct resource done
14:14:34(INFO) construct app icon resource…
14:14:34(INFO) C:\Users\Benoît\workspace\TestLinkit\AppLogo.img
14:14:34(INFO) [warning] App icon file does not exist in project folder, use default icon
14:14:34(INFO) construct preview image resource…
14:14:34(INFO) construct base resource…
14:14:34(INFO) construct above resource…
14:14:34(INFO) construct language resource…
14:14:34(INFO) Language ID: 44
14:14:34(INFO) Language ID: 86
14:14:34(INFO) Language ID: 886
14:14:34(INFO) construct file resource…
14:14:34(INFO) construct image resource…
14:14:34(INFO) construct layout resource…
14:14:34(INFO) there are no any layout xml
14:14:34(INFO) construct resource done
14:14:34(INFO) pack resource done, result=0
14:14:34(INFO) pack done
14:14:34(INFO) Pack resource successful.

14:14:34(INFO) Begin to pack tag items:
14:14:34(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\PackDigist.exe”, “C:/Users/Benoît/workspace/TestLinkit\TestLinkit.vcproj”, “Demo” “2.0.0”, “MediaTek Inc”, “800”, “supportBg”, “Not Support rotate”, “Demo”, “Demo”, “Demo”, “1234567890”, “content”, "Audio Call Camera TCP File HTTP Sensor SIM card Record SMS(person) SMS(SP) BitStream Contact LBS MMS ProMng SMSMng Video XML Sec SysStorage Payment BT PUSH UDP SysFile sso ", “vxp”, “GCC”, “PKD”, “UnCompress”, “novenus”, “Adaptable”, “8388768”, “SysMemAble”, “2”, “prjoectcfg.appid”, “false”, “prjoectcfg.pushappid”, “-1”, “UnAutoStart”, “TransferImg”, “NoIdleShortcut”, “prjoectcfg.CTVvalueHex”]
14:14:34(INFO) Digist Packer Command Shell v3.1329.00
14:14:34(INFO) shell command arg count: 31
14:14:34(INFO) argv[0]: S:\eclipse\LINKIT_ASSIST_SDK\tools\PackDigist.exe
14:14:34(INFO) argv[1]: C:/Users/Benoît/workspace/TestLinkit\TestLinkit.vcproj
14:14:34(INFO) argv[2]: Demo
14:14:34(INFO) argv[3]: 2.0.0
14:14:34(INFO) argv[4]: MediaTek Inc
14:14:34(INFO) argv[5]: 800
14:14:34(INFO) argv[6]: supportBg
14:14:34(INFO) argv[7]: Not Support rotate
14:14:34(INFO) argv[8]: Demo
14:14:34(INFO) argv[9]: Demo
14:14:34(INFO) argv[10]: Demo
14:14:34(INFO) argv[11]: 1234567890
14:14:34(INFO) argv[12]: content
14:14:34(INFO) argv[13]: Audio Call Camera TCP File HTTP Sensor SIM card Record SMS(person) SMS(SP) BitStream Contact LBS MMS ProMng SMSMng Video XML Sec SysStorage Payment BT PUSH UDP SysFile sso
14:14:34(INFO) argv[14]: vxp
14:14:34(INFO) argv[15]: GCC
14:14:34(INFO) argv[16]: PKD
14:14:34(INFO) argv[17]: UnCompress
14:14:34(INFO) argv[18]: novenus
14:14:34(INFO) argv[19]: Adaptable
14:14:34(INFO) argv[20]: 8388768
14:14:34(INFO) argv[21]: SysMemAble
14:14:34(INFO) argv[22]: 2
14:14:34(INFO) argv[23]: prjoectcfg.appid
14:14:34(INFO) argv[24]: false
14:14:34(INFO) argv[25]: prjoectcfg.pushappid
14:14:34(INFO) argv[26]: -1
14:14:34(INFO) argv[27]: UnAutoStart
14:14:34(INFO) argv[28]: TransferImg
14:14:34(INFO) argv[29]: NoIdleShortcut
14:14:34(INFO) argv[30]: prjoectcfg.CTVvalueHex
14:14:34(INFO) adaptable = 1
14:14:34(INFO) Pack tag items done.

14:14:34(INFO) Begin to upload application.

14:14:34(INFO) [“S:\eclipse\LINKIT_ASSIST_SDK\tools\PushCmdShell.exe”, “C:/Users/Benoît/workspace/TestLinkit\ARM\TestLinkit_default.vxp”]
14:14:34(INFO) “S:\eclipse\LINKIT_ASSIST_SDK\tools\pushtool.exe”
14:14:34(INFO) -t arduino -clear -port COM4 -app “C:/Users/BenoŒt/workspace/TestLinkit\ARM\TestLinkit_default.vxp”
14:14:36(INFO) Done
14:14:36(INFO) Application is uploaded successfully.
14:15:06(INFO) Project path:C:/Users/Benoît/workspace/TestLinkit
14:15:06(INFO) Project name:TestLinkit
14:15:06(INFO) S:\eclipse\LINKIT_ASSIST_SDK\tools\Monitor\Monitor.exe
14:15:06(INFO) C:/Users/Benoît/workspace/TestLinkit\TestLinkit.project
14:15:15(INFO) Project path:C:/Users/Benoît/workspace/TestLinkit
14:15:15(INFO) Project name:TestLinkit
14:15:15(INFO) S:\eclipse\LINKIT_ASSIST_SDK\tools\Monitor\Monitor.exe
14:15:15(INFO) C:/Users/Benoît/workspace/TestLinkit\TestLinkit.project

I use Ubuntu 15.10. In general i can compile the project, i used the repo on github Seeed-Studio/CodeLite_for_RePhone to get a makefile (i cannot post links "-_-) .
There is a dependency to gcc-arm-eabi-none, and the sdk is platform-indipendent (at lest for the compilation process)

The problem i am experiencing is that the gsm module does not shows as a usb device. it seems that the kernel does something, as dmesg shows

[   33.276666] usb 1-1: new full-speed USB device number 2 using xhci_hcd
[   33.409140] usb 1-1: New USB device found, idVendor=0e8d, idProduct=0003
[   33.409147] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   33.434151] cdc_acm 1-1:1.1: ttyACM0: USB ACM device
[   33.434543] usbcore: registered new interface driver cdc_acm
[   33.434546] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   33.438516] usbcore: registered new interface driver usbserial
[   33.438542] usbcore: registered new interface driver usbserial_generic
[   33.438567] usbserial: USB Serial support registered for generic
[   33.445549] usbcore: registered new interface driver option
[   33.445576] usbserial: USB Serial support registered for GSM modem (1-port)
[   36.067311] usb 1-1: USB disconnect, device number 2
[   37.542724] usb 1-1: new full-speed USB device number 3 using xhci_hcd
[   37.674163] usb 1-1: New USB device found, idVendor=0e8d, idProduct=0002
[   37.674175] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[   37.674180] usb 1-1: Product: Product
[   37.674194] usb 1-1: Manufacturer: MediaTek Inc
[   37.674196] usb 1-1: SerialNumber: 53190160100025f
[   37.700690] usb-storage 1-1:1.0: USB Mass Storage device detected
[   37.700770] scsi host6: usb-storage 1-1:1.0
[   37.700866] usbcore: registered new interface driver usb-storage
[   37.704308] usbcore: registered new interface driver uas
[   38.700148] scsi 6:0:0:0: Direct-Access     MEDIATEK  FLASH DISK           PQ: 0 ANSI: 0 CCS
[   38.700731] scsi 6:0:0:1: Direct-Access     MEDIATEK  FLASH DISK           PQ: 0 ANSI: 0 CCS
[   38.701862] sd 6:0:0:0: Attached scsi generic sg2 type 0
[   38.702257] sd 6:0:0:1: Attached scsi generic sg3 type 0
[   38.706766] sd 6:0:0:1: [sdd] 10240 512-byte logical blocks: (5.24 MB/5.00 MiB)
[   38.706787] sd 6:0:0:0: [sdc] Attached SCSI removable disk
[   38.708794] sd 6:0:0:1: [sdd] Write Protect is off
[   38.708798] sd 6:0:0:1: [sdd] Mode Sense: 03 00 00 00
[   38.709579] sd 6:0:0:1: [sdd] No Caching mode page found
[   38.709585] sd 6:0:0:1: [sdd] Assuming drive cache: write through
[   38.721130]  sdd:
[   38.723986] sd 6:0:0:1: [sdd] Attached SCSI removable disk

so it’s probably something to do with udev rules…

update: following this bug report bugs.debian.org/cgi-bin/bugrepo … bug=686840 i can now mount the core module as a folder, to copy inside the .vxp files.

it’s a hack, while we wait for a proper fix (from Xadow and from the distro manteiner)

basically, you have to comment out the line

ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="0002", RUN+="usb_modeswitch '%b/%k'"

in /lib/udev/rules.d/40-usb_modeswitch.rules,
execute as admin update-initramfs -u and reboot.

Hello all,

i do some test for a toolchain under linux

You will find it on github

Search on github for LinkIt_Assist_2502

Any help is welcome

Hi,

For those interested in programming with the Arduino IDE under GNU/Linux, I can provide the IDE binaries (including ARM toolchain and working examples) and a helper script (in python) for the “upload” to be able to program with Arduino under GNU/Linux variants (I’ve tested F23 and Ubuntu 12.04).

Regards,
Roberto.

@robarago, And is it possible to just get examples and helper python script (although, depends on what exactly it doing) fo ones do not want arduino ide, but want to use any custom ide?

Hi,

I’m also working on Mac OS X(lion) and waiting for an easy way to dev on this platform.
I get some Raspberry too, the A, the B, the B+ and the 2.

I finally get a working sim this morning (rife on Reunion Island for the records) and started asking myself how can I make this open phone a personal phone?
The question and ideas come easy, but the solutions sounded a little bit more complicated.
So Robarago how can I get your IDE and will it works on Raspbian?
And devs please think different… Or a least open…

Thank you for opening the phone to the world.

Hi,

Please, try Stefan Mandl approach for both problems.
He provided a nice upload tool and simple instructions on how to get started with a basic cross toolchain. He even provides an example Makefile for those not wanting to use the Arduino IDE.

Regards,
Roberto.

Hi,

Thanks for your suggestion. With some tweak on the makefile about the TOOLCHAIN path and the INCLUDE it could be easy to do great stuff.

Just have to learn C… Back to school again.

Hope seeing some great open source project soon.

Keep innovating in a world where anything is still to be done.

Seeed,
Please, please, please make this a priority!!! I don’t know any developer or maker that uses windows. Can you give a timeframe for when we can use Mac or Linux as dev environment?

Did you see the good new?
viewtopic.php?f=71&t=6764

Hi, any news about development on linux?

Thanks to @robarago for this Rephone Arduino IDE for linux https://github.com/robarago/ArduinoGNULinux4RePhone. It works great.