port for netduino2

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
Post Reply
pete_jan
Posts: 7
Joined: Sat Jun 04, 2011 2:17 am

port for netduino2

Post by pete_jan »

Hi,

I have started a port for netduino2 which I have, I did not figure out how you were building the port pins board.h files, I build them from a csv file and awk, which was a bit crude, but works.

I managed to get this woking on the netduino2, blinking the LED and a serial port on UART2 PA2 and PA3

http://netduino.com/netduino2/netduino2 link.

I have some more work to do, will post some more if anyone is interested.

Regards,

Pete
Attachments
netduino2.patch.gz
diff file from trunk, adding project and board files
(17.73 KiB) Downloaded 476 times
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: port for netduino2

Post by Tectu »

Thank you very much for sharing your work. We've sent out a tweet - Probably someone will get interested and can help you.

pete_jan wrote:I did not figure out how you were building the port pins board.h files, I build them from a csv file and awk, which was a bit crude, but works.

The board files are generated from an eclipse plugin inside the ChibiStudio IDE.


~ Tectu
pete_jan
Posts: 7
Joined: Sat Jun 04, 2011 2:17 am

Re: port for netduino2

Post by pete_jan »

Attached patch against branches/stable_2.6.x for netduino2 board, and demo project, using board generator fmpp
Attachments
netduino2.patch.gz
patch against chibios branches/stable_2.6.x
(13.96 KiB) Downloaded 454 times
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: port for netduino2

Post by Giovanni »

Hi,

The board files contain a link not C code, you should also include the .chcfg file too.

Giovanni
pete_jan
Posts: 7
Joined: Sat Jun 04, 2011 2:17 am

Re: port for netduino2

Post by pete_jan »

Hi,

Sorry about that, I though svn added them as files not links.

try attached patch.

I could not figure how you had included the cfg file, as I had them in gencfg to build them, but found an example, does that work?

Peter
Attachments
netduino2.patch.gz
included files (not links) and cfg file
(22.22 KiB) Downloaded 449 times
Post Reply