Pages: 1 2 [3] 4   Go Down
Author Topic: [Q]: Tailoring the Due to Eclipse..  (Read 21345 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 1
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Zad,

What file .h .c .cpp the ARDUINO define is it used, I don't found it ?

I resolved my Bossac problem last night in this topic : http://arduino.cc/forum/index.php/topic,141628.0.html

I used the terminal to erase the memory of the MCU :
 - I open the terminal from eclipse.
 - I close the terminal from eslipse.
 - I launch the Bossac command line from eclipse.

The software upload running...

Thanks very much Zad.

Nassa.

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi ,
 Here what I did :
Arduino Ide version 1.5.1
Note Path character separator differs from the windows system, I build it on OSX
## ArduinoDueCoreLibrary
Make New C++ Project -> Arm Cross Target Library -> Sourcery G++ lite.
Import... -> file System-> <ArduinoDueIde>/Contents/Resources/Java/hardware/arduino/sam/cores/arduino all files + USB directory
import... -> file System-> <ArduinoDueIde>/Contents/Resources/Java/hardware/arduino/sam all content of directory variants/
Note that in the last import there is also a precompiled library : libsam_sam3x8e_gcc_rel.a

Project Properties-> C/C++ Build:
->Environment : add PATH Variable with Append option enabled and the following vaulue <ArduinoDueIde>/Contents/Resources/Java/hardware/tools/g++_arm_none_eabi/bin/
->Settings->Target Processor= cortex-m3 ; Thumb enabled
->Settings->Debug = None

->Settings->Assembler GCC-> Preprocessor:
   Use PreProcessor checked
   -defined symbols (I defined those also here , but I think it can be skipped)
Code:
printf=iprintf
F_CPU=84000000L
ARDUINO=151
__SAM3X8E__
USB_PID=0x003e
USB_VID=0x2341
USBCON
  It is possible to copy the above lines and paste directly in the eclipse "Defined Symbols" area.
->Settings->Assembler GCC C->Warnings:  -Wall
->Settings->Assembler GCC C->Misc : I removed the Assembler Listing lines

->Settings->Compiler GCC C-> Preprocessor : the same of Assembler
->Settings->Compiler GCC C-> Directories :
Code:
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/system/libsam/
"${workspace_loc:/${ProjName}/USB}"
"${workspace_loc:/${ProjName}}"
"${workspace_loc:/${ProjName}/variants/arduino_due_x}"
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/system/CMSIS/CMSIS/Include/
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/system/CMSIS/Device/ATMEL/
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/system/libsam/
Also the above code can be copied and pasted directly inside the include path area, note that the absolute paths fit in my case , you have to tailor those in respect of your situation.

->Settings->Compiler GCC C-> Optimization
Level : -Os
Function sections checked Data sections checked
->Settings->Compiler GCC C->Warnings:  -Wall
->Settings->Compiler GCC C->Misc :
Optional : -c --param max-inline-insns-single=500 -nostdlib
Language Standard: Compiler Default

->Settings->Compiler GCC C++-> Every things like GCC C Compiler except for :
->Settings->Compiler GCC C->Misc :
Optional : -c --param max-inline-insns-single=500 -nostdlib
Language Standard: Compiler Default
Do not use exception: checked
Do not use RTTI : checked

Then you can build the arduinoDueCore libraries.

## ArduinoDue Blink example
Make New C++ Project -> Arm Cross Target Application -> Sourcery G++ lite.
Create a cpp file like the following one:
Code:
/*
 * Blinker.cpp
 *
 *  Created on: Jan 9, 2013
 *      Author: zad
 */

#include <Arduino.h>

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.

  This example code is in the public domain.
 */

// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

// the setup routine runs once when you press reset:
void setup() {
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

Project Properties-> C/C++ Build:
->Environment : add PATH Variable with Append option enabled and the following vaulue <ArduinoDueIde>/Contents/Resources/Java/hardware/tools/g++_arm_none_eabi/bin/
->Settings->Target Processor= cortex-m3 ; Thumb enabled
->Settings->Debug = None
->Settings->Additional Tools:
Create FlashImage : Checked
Create Extended Listings: Checked
Print Size: Checked

->Settings->Assembler GCC-> Preprocessor:
  The same used in the library

->Settings->Compiler GCC C-> Preprocessor : the same used in library
->Settings->Compiler GCC C-> Directories :
Code:
"${workspace_loc:/ArduinoDueLib/USB}"
"${workspace_loc:/ArduinoDueLib}"
"${workspace_loc:/${ProjName}}"
"${workspace_loc:/ArduinoDueLib/variants/arduino_due_x}"
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/system/CMSIS/CMSIS/Include/
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/system/CMSIS/Device/ATMEL/
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/system/libsam/
->Settings->Compiler GCC C-> Optimization:the same used in library
->Settings->Compiler GCC C->Warnings:  the same used in library
->Settings->Compiler GCC C->Misc : the same used in library

->Settings->Compiler GCC C++-> the same used in library except for the directories :
Code:
"${workspace_loc:/ArduinoDueLib/USB}"
"${workspace_loc:/ArduinoDueLib}"
"${workspace_loc:/${ProjName}}"
"${workspace_loc:/ArduinoDueLib/variants/arduino_due_x}"
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/system/CMSIS/CMSIS/Include/
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/system/CMSIS/Device/ATMEL/
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/system/libsam/

->Settings->Linker GCC C++
Command line pattern:
Code:
${COMMAND} ${FLAGS} ${OUTPUT_FLAG}  ${OUTPUT_PREFIX}${OUTPUT} -Wl,--start-group ${INPUTS} -Wl,--end-group[\code]

->Settings->Linker GCC C++->General
Script File:/Applications/Arduino-due.app/Contents/Resources/Java/hardware/arduino/sam/variants/arduino_due_x/linker_scripts/gcc/flash.ld
->Settings->Linker GCC C++->Libraries
libraries area:
[code]
ArduinoDueLib  
sam_sam3x8e_gcc_rel
the first entry above is the output of the arduinoDueCore libraries there you need to wire the output without the lib part and .a suffix , i.e. libArduinoDueLib.a becomes ArduinoDueLib

libraries search paths:
Code:
"${workspace_loc:/ArduinoDueLib/Debug}"
"${workspace_loc:/ArduinoDueLib/variants/arduino_due_x}"
In my case the output of the lib was in Debug others may have Release it depends on the C++ project and build conf.

->Settings->Linker GCC C++->Misc
Other object area add :
"${workspace_loc:/ArduinoDueLib/Debug/syscalls_sam3.o}"
Other Flags:
Code:
-lm -lgcc  -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols

For
->Settings->Create Flash
->Settings->Create Listing
leave defaults
->Settings->Print->General
I preferred the Barkeley format and Show total checked;

->Settings-> Build Steps Tab and add a post-build command:
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/tools/g++_arm_none_eabi/bin/arm-none-eabi-objcopy -O binary ${ProjName}.elf ${ProjName}.bin
 


Then you can build the Blink program the program elf shall be about 9548bytes

######## Extern Tool Configurations:
new launch conf chose a name , mine was ARduino_due
Main-> Location:
/Applications/Arduino-due.app/Contents/Resources/Java/hardware/tools/bossac.orig
Main-> Arguments:
Code:
-U false
--port=tty.usbmodemfd121
-e
-w
-v
-b
"${workspace_loc:}/${project_name:}/Debug/${project_name:}.bin"
 -R

Build
I have disable build before launch

Finally you can run , but before you need to press the erase button or open and close a the serial via eclipse as described by Nassa :http://arduino.cc/forum/index.php/topic,141628.0.html

  Cheers
    Zad[/code]
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Very good Job Zad,

I was just doing the same job ...

Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset



The sketch compilation is :
Code:
C:\ARM\arduino-1.5.1r2\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=151
-D__SAM3X8E__
-mthumb
-DUSB_PID=0x003e
-DUSB_VID=0x2341
-DUSBCON
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\system/libsam
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\system/CMSIS/CMSIS/Include/
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\system/CMSIS/Device/ATMEL/
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\cores\arduino
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\variants\arduino_due_x Blink.cpp -o Blink.cpp.o

The Arduino core compilation for C file
Code:
command:C:\ARM\arduino-1.5.1r2\hardware\tools\g++_arm_none_eabi\bin\arm-none-eabi-gcc
-c -g -Os -w
-ffunction-sections
-fdata-sections
-nostdlib
--param max-inline-insns-single=500
-Dprintf=iprintf
-mcpu=cortex-m3
-DF_CPU=84000000L
-DARDUINO=151
-D__SAM3X8E__
-mthumb
-DUSB_PID=0x003e
-DUSB_VID=0x2341
-DUSBCON
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\system/libsam
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\system/CMSIS/CMSIS/Include/
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\system/CMSIS/Device/ATMEL/
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\cores\arduino
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\variants\arduino_due_x
C:\ARM\arduino-1.5.1r2\hardware\arduino\sam\cores\arduino\cortex_handlers.c -o cortex_handlers.c.o

The Arduino core compilation for C++ file :
Code:
command:C:\ARM\arduino-1.5.1r2\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=151
-D__SAM3X8E__
-mthumb
-DUSB_PID=0x003e                                                                             
-DUSB_VID=0x2341
-DUSBCON
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\system/libsam
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\system/CMSIS/CMSIS/Include/
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\system/CMSIS/Device/ATMEL/
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\cores\arduino
-IC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\variants\arduino_due_x
C:\ARM\arduino-1.5.1r2\hardware\arduino\sam\cores\arduino\cxxabi-compat.cpp -o cxxabi-compat.cpp.o

Lib building :
Code:
command:C:\ARM\arduino-1.5.1r2\hardware\tools\g++_arm_none_eabi\bin\arm-none-eabi-ar
rcs
C:\Users\XXX\AppData\Local\Temp\build3490308093235427635.tmp/core.a
cortex_handlers.c.o

Link :
Code:
command:C:\ARM\arduino-1.5.1r2\hardware\tools\g++_arm_none_eabi\bin\arm-none-eabi-g++
-Os
-Wl,--gc-sections
-mcpu=cortex-m3
-TC:\ARM\arduino-1.5.1r2\hardware\arduino\sam\variants\arduino_due_x/linker_scripts/gcc/flash.ld
-Wl,-Map,C:\Users\XXX\AppData\Local\Temp\build3490308093235427635.tmp/Blink.cpp.map
-o C:\Users\XXX\AppData\Local\Temp\build3490308093235427635.tmp/Blink.cpp.elf
-LC:\Users\XXX\AppData\Local\Temp\build3490308093235427635.tmp
-lm
-lgcc
-mthumb
-Wl,--cref
-Wl,--check-sections
-Wl,--gc-sections
-Wl,--entry=Reset_Handler
-Wl,--unresolved-symbols=report-all
-Wl,--warn-common
-Wl,--warn-section-align
-Wl,--warn-unresolved-symbols
-Wl,--start-group
C:\Users\XXX\AppData\Local\Temp\build3490308093235427635.tmp/syscalls_sam3.c.o
Blink.cpp.o
C:\ARM\arduino-1.5.1r2\hardware\arduino\sam\variants\arduino_due_x/libsam_sam3x8e_gcc_rel.a
C:\Users\XXX\AppData\Local\Temp\build3490308093235427635.tmp/core.a -Wl,--end-group

Binary file :
Code:
command:C:\ARM\arduino-1.5.1r2\hardware\tools\g++_arm_none_eabi\bin\arm-none-eabi-objcopy
-O binary
C:\Users\XXX\AppData\Local\Temp\build3490308093235427635.tmp/Blink.cpp.elf
C:\Users\XXX\AppData\Local\Temp\build3490308093235427635.tmp/Blink.cpp.bin

This is a command line used by ArduinoDue IDE.

Nassa.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Next challenge is integrating additional libraries like Servo and company.
 Cheers
   Zad
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Zad,

What file .h .c .cpp the ARDUINO define is it used, I don't found it ?

I resolved my Bossac problem last night in this topic : http://arduino.cc/forum/index.php/topic,141628.0.html

I used the terminal to erase the memory of the MCU :
 - I open the terminal from eclipse.
 - I close the terminal from eslipse.
 - I launch the Bossac command line from eclipse.

The software upload running...

Thanks very much Zad.

Nassa.


About the bossac problem , It seems that in the Arduino due main page, the figure displaying the arduino shows a wrong indication of the native port.
I've tried to open and close the programming port, the one  near the power jack , using the Target Terminal plugin without be able to run the bossac. it works instead when the serial port is opened and closed  at a rate of 1200, which shall be the behavior of the native port http://arduino.cc/en/Guide/ArduinoDue  .


BTW to upload the arduinoDue without have to press the erase button I've made a little java program wich uses RXTX library. This because I don't know how automatically use the "Target Terminal Management" plugin in eclipse, if someone knows how to open and close a serial connection in eclipse using external tool configuration please let me know.
So using this little program which open the serial at 1200 , I've created a run configuration, with two external tool configurations:

First download the file in attach
and expand it inside the AduinoDueLibrary
A new directory called tools is expanded.

Create a new external tool : Run->External Tool -> External tool configurations...
Create a new program and name it as you wish , mine is ArduinoDue_eraseViaSerial
Then in Location: /usr/bin/java   (Put your specific path to java)
in Working directory : the path to the expanded zip : ${workspace_loc:/ArduinoDueLib/tools/}
in Args:
Code:
-jar
${workspace_loc:/ArduinoDueLib/tools/openSerial_fat.jar}
usbmodemfd121
In place of usbmodemfd121 the specific name of the arduino port shall be used.

in the Build tab uncheck "Build before launch"
then Save.

in Eclipse menu : Run -> Run Configurations
Create a new launch groups and  choose a name , I used Arduino_upload.
In the Launches tab press add and select Program->"NameYouGaveToTheReaseProcedure" and as Post Launch action select "wait until terminated"
Then add the other Program , which is the one that uses bossac.
In Common Tab is possible to show the run configuration in the preferite, I have checked it.

Save it .
It shall appear on the eclipse play icon , pushing the down arrow near it.

The java program has been tested in a OSX 1.6.0 intel 64 bit, let me know if it works also in windows, in the zip are contained dll for win32 bit , libraries and dll has been downloaded from her
http://rxtx.qbang.org/pub/rxtx/rxtx-2.1-7-bins/
Unfortunately aren't provided 64 bit dll library , you can search them on the net if you need.
 Cheers
   Zad

* tools.zip (223.46 KB - downloaded 28 times.)
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Next challenge is integrating additional libraries like Servo and company.
 Cheers
   Zad
Library Used successfully , just import from filesystem , choose the library you want to import and check the "create top level directory" just to keep the project clean.
Add the new directory inside the include
"${workspace_loc:/${ProjName}/uOLED}"
and compile.

I've try the uOLED library and here the result in attach.

Ok the image quality isn't so good, I'm sorry.

  Cheers
    Zad


* 10012013041.jpg (1127.94 KB, 2592x1944 - viewed 89 times.)
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Zad,

It is not necessary to use a JAVA program to request the flash erasing.

Here's a batch for Windows to send erase flash request and upload program :
Code:
@mode com5:1200,n,8,1
@sleep 1
@C:\arduino-1.5.1r2\hardware\tools\bossac.exe %*

Copy this MS-DOS program in the "upload.bat" file and replace bossac.exe by upload.bat in your Eclipse External Tools.
(Here, it is the com5 is used, change the value and the bossac path if necessary)

You can find the equivalent for OSX / Linux.

Nassa.
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Oops : you can use this simplified command line :
Code:
@mode com5:1200
@sleep 1
@C:\arduino-1.5.1r2\hardware\tools\bossac.exe %*

Nassa.
Logged

Offline Offline
Newbie
*
Karma: 1
Posts: 30
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Not necessary to set your com port with this script :

Code:
@mode %2:1200
@sleep 1
@C:\arduino-1.5.1r2\hardware\tools\bossac.exe %*

Nassa.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well, first sorry to bump this post but since my problem came using the guide posted here, I think this is the best choice.

I've followed the guide on OSX tweaking all the differences between the original Windows config to mine, and I got Eclipse to successfully build the library and the Blink project. I also followed a tip from Zad to generate a .bin file although it didn't solve my problem.
The thing is that despite the file is compiled (I think) correctly, and flashed without errors to the DUE, it doesn't work. The .hex file is 126kb and the .bin is 45kb. Any idea what can be wrong or any way I can debug it?

Anyway, thank you Nassarane for the guide, it's the only one I've found around and it's pretty straight forward.


And now my two cents:

One of the differences I encountered between Windows and OSX was the external tools part. The first tweak to Nassa's code is to change the way arguments are passed to Bossac inside the script. The unix command is $@ in stead of %*.
Then, the main change is how to erase the flash memory. If you run $ stty -f /dev/tty.usbmodemxxx 1200 from terminal it works perfectly, but it doesn't work from a script. To make it work this way you have to tweak ".Profile" file and I didn't feel like changing system files. So I came up with another solution, using a very simple Python script. You need to install Pyserial library to get it to work.

So now I have two script files: arduinoDueFlash.sh in bash, and eraseDueFlash.py in python. Here's the code:
arduinoDueFlash.sh
Code:
#!/bin/sh

python /Path/to/eraseDueFlash.py

sleep 1

/Path/to/bossac $@

eraseDueFlash.py
Code:
import serial

s = serial.Serial(port='/dev/tty.usbmodemXXX', baudrate=1200)
s.close()

It may also work a solution like Nassa's using the very argument to set the port and not to hardcode it. I'll try it eventually.

You must also check the path in the arguments you put in Eclipse:
--port=tty.usbmodem411 -U false -e -w -v -b ${workspace_loc}${project_path}/Release/${project_name}.bin -R

This works for OSX, I guess it works as well on any linux but I don't know if there's a simpler solution to open the port.

Cheers
« Last Edit: May 17, 2013, 09:54:58 am by bonfire » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the good work Nassa & Zad,.
I am new to this and I followed your notes to start my work with my Arduino Due in Ubuntu 12.04,,I could build the ArduinoDueCoreLibrary with some warnings.I could build the ## ArduinoDue Blink example without errors ( I guess this [\code] at the end of the command line pattern came by mistake${COMMAND} ${FLAGS} ${OUTPUT_FLAG}  ${OUTPUT_PREFIX}${OUTPUT} -Wl,--start-group ${INPUTS} -Wl,--end-group[\code]. I tried with that command line pattern, got some errors and then I removed[\code] and now it is building without errors., ) and without problems I can load the .hex to the board, but the LED is not blinking.What can be the problem?Please help me to solve this.I am waiting for your reply.
« Last Edit: June 12, 2013, 12:59:46 am by renjith_rohin » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What should be the size for ArduinoDueCoreLibrary?? I am getting a lib.a file with 141.6kb size.
I can build the ArduinoDueCoreLibrary without errors,5 warnings.But after that if i try to open some files say Arduino.h it is giving semantic errors like Type 'uint32_t' could not be resolved.I did something wrong???? Please help, I am struggling with this..
Logged

Nashville Tennessee, USA
Offline Offline
Sr. Member
****
Karma: 15
Posts: 367
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just noticed your questions did you ever get things straightened out?

I have eclipse working great on Ubuntu 13.04, I'll be glad to help if you still need any.

My libarduinoDueCore.a is 115,096  bytes.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nope, still not working. I've been using a Teensy3 on Eclipse with Nassarane's guide on PJRC forums, very similar to this one.

This time I followed exactly step by step Zad's guide, as I am also using OSX, with the same result as before.
My libArduinoDuoCore.a is 121.846 bytes (pretty similar to yours) and the Blink.bin 42.340 bytes.
It compiles well, flashes it as Arduino IDE would do, but the LED is not flashing. I don't know what else to try.
Logged

Pages: 1 2 [3] 4   Go Up
Jump to: