meanwhile trying to solve this:
cc1.exe: error: unrecognized command line option "-std=gnu11"
...
Later edit:
"-std=gnu99" and it went through...
Atmel Studio - new project from Makefile error (shell related) Topic is solved
-
- Posts: 21
- Joined: Mon Aug 28, 2017 2:27 pm
- Location: Timisoara, Romania
- Has thanked: 1 time
- Been thanked: 3 times
Re: Atmel Studio - new project from Makefile error (shell related)
hello again,
I have finally changed my setup to the old fashioned and light weight AVRStudio4.18 instead of the AS7 monster.
I have managed to get the ChibiOS_17.6.0\testhal\AVR\EXT\ up and running on an ArduinoMega board which has attached to it an JTAG ICE MKII probe,
Everything works as expected, but it wasn't easy to gather all the info.
what's the next step?:P
I have finally changed my setup to the old fashioned and light weight AVRStudio4.18 instead of the AS7 monster.
I have managed to get the ChibiOS_17.6.0\testhal\AVR\EXT\ up and running on an ArduinoMega board which has attached to it an JTAG ICE MKII probe,
Everything works as expected, but it wasn't easy to gather all the info.
what's the next step?:P
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
Re: Atmel Studio - new project from Makefile error (shell related)
It would be a good idea to write a "getting started with ChibiOS and AVR" guide for the wiki, a lot of work is going in AVR support but it is not just about the code. Something on PlayEmbedded could be a good idea too.
Giovanni
Giovanni
-
- Posts: 21
- Joined: Mon Aug 28, 2017 2:27 pm
- Location: Timisoara, Romania
- Has thanked: 1 time
- Been thanked: 3 times
Re: Atmel Studio - new project from Makefile error (shell related)
I will do this for AVRStudio 4.18, and after that, I will eventually try to do it on AS7 as well, as pointed by MGeo.
I found his instructions in the previous post very usefull!!!!
I will try to put all in a *.doc file and give it for review.
If you think is a better Idea to go directly for the wiki page, I will do so as well, just give me a link to that place...
I found his instructions in the previous post very usefull!!!!
I will try to put all in a *.doc file and give it for review.
If you think is a better Idea to go directly for the wiki page, I will do so as well, just give me a link to that place...
- tfAteba
- Posts: 547
- Joined: Fri Oct 16, 2015 11:03 pm
- Location: Strasbourg, France
- Has thanked: 91 times
- Been thanked: 48 times
Re: Atmel Studio - new project from Makefile error (shell related)
Hi all,
I think that it is a really good idea if we can have an article in the wiki, about (ChibiOS + AVR + AVR Studio).
PlayEmbedded also can be a good place to post this article.
Giovanni, could you say a word to Rocco Marco about that or do you want me or even vctrvlad to contact him if we make the choice to post on PlayEmbedded?
Thanks.
Giovanni wrote:
It would be a good idea to write a "getting started with ChibiOS and AVR" guide for the wiki, a lot of work is going in AVR support but it is not just about the code. Something on PlayEmbedded could be a good idea too.
I think that it is a really good idea if we can have an article in the wiki, about (ChibiOS + AVR + AVR Studio).
PlayEmbedded also can be a good place to post this article.
Giovanni, could you say a word to Rocco Marco about that or do you want me or even vctrvlad to contact him if we make the choice to post on PlayEmbedded?
Thanks.
regards,
Theo.
Theo.
-
- Posts: 21
- Joined: Mon Aug 28, 2017 2:27 pm
- Location: Timisoara, Romania
- Has thanked: 1 time
- Been thanked: 3 times
Re: Atmel Studio - new project from Makefile error (shell related)
Hi,
I managed to put together some info which is stored for the moment in the following place:
http://atelieruldigital.ro/tiki/tiki-view_articles.php
Please have a look in the following order:
http://atelieruldigital.ro/tiki/tiki-re ... rticleId=1
http://atelieruldigital.ro/tiki/tiki-re ... rticleId=2
and leave a comment on the articles, or here for any observations.
Have a nice weekend,
Victor
I managed to put together some info which is stored for the moment in the following place:
http://atelieruldigital.ro/tiki/tiki-view_articles.php
Please have a look in the following order:
http://atelieruldigital.ro/tiki/tiki-re ... rticleId=1
http://atelieruldigital.ro/tiki/tiki-re ... rticleId=2
and leave a comment on the articles, or here for any observations.
Have a nice weekend,
Victor
-
- Posts: 21
- Joined: Mon Aug 28, 2017 2:27 pm
- Location: Timisoara, Romania
- Has thanked: 1 time
- Been thanked: 3 times
Re: Atmel Studio - new project from Makefile error (shell related)
So, everything up and running, but the main problem is that i can't seem t be able to trigger an ext interrupt on pin2 of the ArduinoMega board.
Can anyone help with any hint?
Thanks
P.S. uh, and another thing, once the chThdSleepMilliseconds(1000); function was called, the breakpoints have no effect anymore...any idea?
Can anyone help with any hint?
Thanks
P.S. uh, and another thing, once the chThdSleepMilliseconds(1000); function was called, the breakpoints have no effect anymore...any idea?
- tfAteba
- Posts: 547
- Joined: Fri Oct 16, 2015 11:03 pm
- Location: Strasbourg, France
- Has thanked: 91 times
- Been thanked: 48 times
Re: Atmel Studio - new project from Makefile error (shell related)
Ok, this is the current stable release version of the project.
There is a problem with external interruption driver in this particular version due to the implementation of PCINT feature.
For the moment, to solve this problem, I have remove the support of the PCINT, but this change is only present on the trunk repository of the project.
So a quick solution will be to use trunk instead of ChibiOS_17.6.0.
You can download the trunk here: https://sourceforge.net/p/chibios/svn/HEAD/tree/trunk/
The same problem have been pointed out by MGeo here: http://www.chibios.com/forum/viewtopic.php?f=21&t=3601&start=60
So you can just change the version you are using and it will be fine.
I will try to see if I can also resolve this problem in the stable release version.
If you have any question do not hesitate.
Thanks
There is a problem with external interruption driver in this particular version due to the implementation of PCINT feature.
For the moment, to solve this problem, I have remove the support of the PCINT, but this change is only present on the trunk repository of the project.
So a quick solution will be to use trunk instead of ChibiOS_17.6.0.
You can download the trunk here: https://sourceforge.net/p/chibios/svn/HEAD/tree/trunk/
The same problem have been pointed out by MGeo here: http://www.chibios.com/forum/viewtopic.php?f=21&t=3601&start=60
So you can just change the version you are using and it will be fine.
I will try to see if I can also resolve this problem in the stable release version.
If you have any question do not hesitate.
Thanks
regards,
Theo.
Theo.
Who is online
Users browsing this forum: No registered users and 7 guests