Development on Linux or Mac

Moderators: lily.li, violet, jessie, chao.zhang

simon15
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Thu Feb 04, 2016 11:12 pm

Development on Linux or Mac

Post by simon15 » Thu Feb 04, 2016 11:17 pm

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.

frank_motta
Pre-kindergarten
Pre-kindergarten
Posts: 5
Joined: Sat Dec 05, 2015 1:30 am

Re: Development on Linux or Mac

Post by frank_motta » Fri Feb 05, 2016 1:43 am

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)!

dgately
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Fri Dec 14, 2012 10:43 am

Re: Development on Linux or Mac

Post by dgately » Fri Feb 05, 2016 1:06 pm

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!

shop2013
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Sat Feb 06, 2016 7:36 am

Re: Development on Linux or Mac

Post by shop2013 » Sat Feb 06, 2016 7:41 am

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. :?

benoit.clouet
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Mon Dec 03, 2012 2:55 am

Re: Development on Linux or Mac

Post by benoit.clouet » Sun Feb 07, 2016 11:04 pm

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.

benoit.clouet
Pre-kindergarten
Pre-kindergarten
Posts: 2
Joined: Mon Dec 03, 2012 2:55 am

Re: Development on Linux or Mac

Post by benoit.clouet » Sun Feb 07, 2016 11:05 pm

--- 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

andij.cr
Pre-kindergarten
Pre-kindergarten
Posts: 8
Joined: Wed Feb 10, 2016 5:23 pm

Re: Development on Linux or Mac

Post by andij.cr » Wed Feb 10, 2016 5:31 pm

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

Code: Select all

[   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....

andij.cr
Pre-kindergarten
Pre-kindergarten
Posts: 8
Joined: Wed Feb 10, 2016 5:23 pm

Re: Development on Linux or Mac

Post by andij.cr » Thu Feb 11, 2016 8:46 pm

update: following this bug report https://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

Code: Select all

ATTRS{idVendor}=="0e8d", ATTRS{idProduct}=="0002", RUN+="usb_modeswitch '%b/%k'"
in /lib/udev/rules.d/40-usb_modeswitch.rules,
execute as admin

Code: Select all

update-initramfs -u
and reboot.

stefan.mandl1
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Wed Feb 17, 2016 12:59 am

Re: Development on Linux or Mac

Post by stefan.mandl1 » Wed Feb 17, 2016 1:08 am

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

robarago
Pre-kindergarten
Pre-kindergarten
Posts: 17
Joined: Wed Jan 27, 2016 6:06 pm

Re: Development on Linux or Mac

Post by robarago » Thu Feb 18, 2016 7:02 am

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.

Post Reply