Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpl_tick type is now generated by goil. Default to uint32
- Loading branch information
Showing
3 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
goil/templates/code/msp430/msp430x/tpl_target_specific_types.goilTemplate
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,11 @@ | |||
/** | |||
* tpl_tick is used for relative and absolute dates. | |||
* tpl_tick should be an unsigned datatype. | |||
* | |||
* On MSP430, tpl_ticks should be limited to 16 bits | |||
* (on 32 bits, arguments for system call SetRelAlarm | |||
* would be passed through the stack, which is not | |||
* possible) | |||
*/ | |||
typedef uint16 tpl_tick; | |||
|
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