Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cosa.h - per-application customization for Cosa
This commit introduces Cosa.h for per-application customization of Cosa and implements the first customizable value for maximum Event queue length. Per-application customization is accomplished by copying cores/cosa/Cosa.h to the application directory and inserting relevant defines.
- Loading branch information
jeditekunum
committed
Apr 17, 2015
1 parent
825937b
commit d911dda
Showing
3 changed files
with
48 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/** | ||
* @file Cosa.h | ||
* @version 1.0 | ||
* | ||
* @section License | ||
* Copyright (C) 2015, Mikael Patel | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation; either | ||
* version 2.1 of the License, or (at your option) any later version. | ||
* | ||
* This library is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* @section Description | ||
* Default for per-application customization of Cosa. | ||
* | ||
* This file is part of the Arduino Che Cosa project. | ||
*/ | ||
|
||
#ifndef COSA_H | ||
#define COSA_H | ||
|
||
/* This file is intentionally empty as it is the default customization | ||
* if the application does not provide one. | ||
* | ||
* To customize Cosa, copy this file into the application directory | ||
* and place defines in it. | ||
* | ||
* The Cosa standard naming convention for customization defines | ||
* is COSA_class_parameter. For example, COSA_EVENT_QUEUE_MAX. | ||
*/ | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters