aethaniel / ExperimentalCore-sam

Experimental new core for Arduino Due and other Atmel SAM boards
GNU Lesser General Public License v2.1
16 stars 10 forks source link

Use git version with Arduino IDE (1.6.8) #52

Closed luc-github closed 8 years ago

luc-github commented 8 years ago

I know wiki says it is not tested, but integration seems not working, no board is displaying any tips ?

luc-github commented 8 years ago

I replaced my current 1.6.7 due core with the content modules of github and now all the boards are available in boards If select ATMELSam4E-Xplained pro (programming port) and try to compile an empty sketch

I got a warning :

C:\Users\luc.VAIO\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.7\cores\arduino\port_sam\CoreWire.cpp:347:4: warning: #warning "todo" [-Wcpp]

   #warning "todo"

    ^

and an error :

c:/users/luc.vaio/appdata/local/arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: cannot find -latmel_sam4e_xplained_pro

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Atmel SAM4E-Xplained Pro (Programming Port).

Seems atmel_sam4e_xplained_pro library is missing - did I installed in wrong way ? Sorry if my question is stupid - I am not familliar with this level of configuration

luc-github commented 8 years ago

If I replace git version by ExperimentalCore-sam-0.1.0-win64 compilation succeed - is it a path issue with git version ?

luc-github commented 8 years ago

after investigating : libatmel_sam4e_xplained_pro.a is missing in git version and platform.txt has some typo issues - some path refer to {build.path}/sketch/ and others to {build.path} for the .elf I did a PR adding /sketch in 2 paths

aethaniel commented 8 years ago

thanks for comment, I will check that ASAP

luc-github commented 8 years ago

I have cancel my crappy PR - tell me if you need me to redo a clean one

aethaniel commented 8 years ago

@luc-github, you seem to be french like me. We can do a skype chat/call if you want. My id is same as here.

luc-github commented 8 years ago

yes I am ^_^ Great I will add you and setup a call - talk 5 min is more efficient than write 100 pages

luc-github commented 8 years ago

close as N/A as current only use makefile - Arduino integration may come later