Hi all
Most o the time, I want to build all demos under demos/AVR/ for example to see if they build without any error.
It is then fastidious to change directory and run the same command again and again.
I then decide to write a small shell script that do that for me.
It can be placed under tools/builder/ for example.
When used it create a log directory under tools/builder/
All log file generate during build time is store under tools/builder/log. The name of the log file is the name of the demo combine with the time of the build.
This help me to know the state of all the AVR demos for example very easily just y reading the log files.
The script can be improve to also build more demos if needed such like (STM32, testhah.....)
Is it a good idea to have the all the log files under chibios source tree?
I also want to add some log file analysis to improve a better report of the build.
Any other Idea tor remark to improve is welcome
If it can be usefull I can commit it to the trunk but for the moment it is attached here.
Thanks
Demo builder
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: Demo builder
Hi,
I do the same from eclipse, open all projects you want to compile, select them using ctrl/shift-click and then compile them in one go, each project has its own log in the console window.
Then I clear-close those that worked and fix those that have error/warning icons.
Giovanni
I do the same from eclipse, open all projects you want to compile, select them using ctrl/shift-click and then compile them in one go, each project has its own log in the console window.
Then I clear-close those that worked and fix those that have error/warning icons.
Giovanni
Return to “Development and Feedback”
Who is online
Users browsing this forum: No registered users and 64 guests