CC2538: added support for SSI1
This commit is contained in:
parent
60a301ef9f
commit
a388a1bcd7
6 changed files with 487 additions and 173 deletions
|
@ -129,12 +129,18 @@
|
|||
|
||||
#define CC_CONCAT2(s1, s2) s1##s2
|
||||
/**
|
||||
* A C preprocessing macro for concatenating to
|
||||
* strings.
|
||||
* A C preprocessing macro for concatenating two preprocessor tokens.
|
||||
*
|
||||
* We need use two macros (CC_CONCAT and CC_CONCAT2) in order to allow
|
||||
* concatenation of two \#defined macros.
|
||||
*/
|
||||
#define CC_CONCAT(s1, s2) CC_CONCAT2(s1, s2)
|
||||
#define CC_CONCAT_EXT_2(s1, s2) CC_CONCAT2(s1, s2)
|
||||
|
||||
/**
|
||||
* A C preprocessing macro for concatenating three preprocessor tokens.
|
||||
*/
|
||||
#define CC_CONCAT3(s1, s2, s3) s1##s2##s3
|
||||
#define CC_CONCAT_EXT_3(s1, s2, s3) CC_CONCAT3(s1, s2, s3)
|
||||
|
||||
#endif /* CC_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue