Arduino Uno and Mega2560 support

ChibiOS public support forum for topics related to the Atmel AVR family of micro-controllers.

Moderators: utzig, tfAteba

devlware
Posts: 7
Joined: Mon Jul 15, 2013 11:03 pm
Location: Curitiba, Brazil
Has thanked: 1 time
Contact:

Arduino Uno and Mega2560 support

Postby devlware » Wed Aug 19, 2015 12:25 am

Hello guys!
Attached is my patch so its possible to have the blink example running on Arduino Uno and Mega2560.
Any problem, please report here.

Best Regards, Diego

Edit. Diff file updated.
Attachments
uno_mega2560.diff.gz
(30.02 KiB) Downloaded 115 times
Last edited by devlware on Wed Aug 19, 2015 12:59 am, edited 1 time in total.

utzig
Posts: 355
Joined: Sat Jan 07, 2012 6:22 pm
Location: Brazil
Has thanked: 1 time
Been thanked: 19 times
Contact:

Re: Arduino Uno and Mega2560 support

Postby utzig » Wed Aug 19, 2015 12:49 am

I applied the Uno patches, will apply 2560 next. Thanks!

mikenick42
Posts: 26
Joined: Tue Mar 10, 2015 4:49 pm
Been thanked: 1 time

Re: Arduino Uno and Mega2560 support

Postby mikenick42 » Wed Aug 19, 2015 3:37 am

Diego, that's awesome. Can you explain you how got Chibi to fit on the Uno? I always ended up with ~150% RAM utilization.

devlware
Posts: 7
Joined: Mon Jul 15, 2013 11:03 pm
Location: Curitiba, Brazil
Has thanked: 1 time
Contact:

Re: Arduino Uno and Mega2560 support

Postby devlware » Wed Aug 19, 2015 5:43 pm

Hi mikenick42,

The secret was to remove the test procedures from the compilation. Utzig helped me and pointed out the problem. :)
Now the RAM use is smaller and we can have the blink example running fine.

Diego


Return to “AVR Support”

Who is online

Users browsing this forum: No registered users and 1 guest