Page 1 of 1

Information about AVR Demos

Posted: Wed Dec 20, 2017 9:52 pm
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.

Re: Information about AVR Demos  Topic is solved

Posted: Thu Dec 21, 2017 9:18 am
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

Re: Information about AVR Demos

Posted: Thu Dec 21, 2017 10:25 am
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.

Re: Information about AVR Demos

Posted: Sat Dec 23, 2017 9:36 pm
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

Re: Information about AVR Demos

Posted: Mon Jan 22, 2018 10:39 pm
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.