Information about AVR Demos Topic is solved

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

Moderator: tfAteba

Post Reply
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Information about AVR Demos

Post by tfAteba »

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.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: Information about AVR Demos

Post by Giovanni »

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: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Information about AVR Demos

Post by tfAteba »

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.
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Information about AVR Demos

Post by tfAteba »

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
User avatar
tfAteba
Posts: 551
Joined: Fri Oct 16, 2015 11:03 pm
Has thanked: 91 times
Been thanked: 50 times

Re: Information about AVR Demos

Post by tfAteba »

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.
Post Reply