Information about AVR Demos Topic is solved

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

Moderators: utzig, tfAteba

User avatar
tfAteba
Posts: 547
Joined: Fri Oct 16, 2015 11:03 pm
Location: Strasbourg, France
Has thanked: 91 times
Been thanked: 48 times

Information about AVR Demos

Postby tfAteba » Wed Dec 20, 2017 9:52 pm

Hello all,

Over the time, code is growing in chibios, that is a good new :) .

But fo small AVR architecture it is not a good news :cry:

Recently while compiling a demo with all the recent changes on the test suite, I have a footprint going above 100%. That is for a demo whit RT test and oslib test.

So to resolve that problem, I have remove all test suite code from demos.

If there is a need to make test suite on the AVR architecture, i will create demos the both part of test suite.

Thanks.
regards,

Theo.

User avatar
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: Information about AVR Demos  Topic is solved

Postby Giovanni » Thu Dec 21, 2017 9:18 am

Hi,

It is pretty normal for the test code to be much larger that the tested code.

You could remove the OSLIB test code and test it separately, it is not required it to be in all demos. OSLIB is meant for large devices anyway, not exactly the AVR target.

You could also not have test code at all in demos and only have a single test application, probably this is the best solution.

Giovanni

User avatar
tfAteba
Posts: 547
Joined: Fri Oct 16, 2015 11:03 pm
Location: Strasbourg, France
Has thanked: 91 times
Been thanked: 48 times

Re: Information about AVR Demos

Postby tfAteba » Thu Dec 21, 2017 10:25 am

Hi,

I will then leave all the demos like they are now and just add tree others demos:
- RT test bench.
- NIL test bench.
- OSLIB test bench.

I appreciate your feedback.

Thanks.
regards,

Theo.

User avatar
tfAteba
Posts: 547
Joined: Fri Oct 16, 2015 11:03 pm
Location: Strasbourg, France
Has thanked: 91 times
Been thanked: 48 times

Re: Information about AVR Demos

Postby tfAteba » Sat Dec 23, 2017 9:36 pm

Hi all,

As I said in my last post, I have just pushed tree demos under demos/AVR/:
* TEST-SUITE-NIL ==> for ChibiOS/NIL test bench.
* TEST-SUITE-OSLIB ==> for ChibiOS/OSLIB test bench.
* TEST-SUITE-RT ==> for ChibiOS/RT test bench.

For the moment just the RT and OSLIB demo are tested and runs correctly on the Arduino Mega board for example.
I still need to test the NIL test suite demo on the hardware.

Thanks
regards,

Theo.

User avatar
tfAteba
Posts: 547
Joined: Fri Oct 16, 2015 11:03 pm
Location: Strasbourg, France
Has thanked: 91 times
Been thanked: 48 times

Re: Information about AVR Demos

Postby tfAteba » Mon Jan 22, 2018 10:39 pm

Hi All,

Just to notice that the NIL demo also have been tested and it run quite well. So all demos (RT/NIL/OSLIB) are tested now.

Thanks.
regards,

Theo.


Return to “AVR Support”

Who is online

Users browsing this forum: No registered users and 4 guests